Release 5. Copyright ©1994-1998 by TipTop Software, Inc. All Rights Reserved.
TTObjSys_Init()
SUMMARY Initialization.
DECLARED IN ObjCore/Core.h
SYNOPSIS |
void TTObjSys_Init() |
DESCRIPTION TTObjSys_Init initializes the language-independent functionality.
TTClass_GetAutoload()
TTClass_SetAutoload()
TTClass_Load()
SUMMARY Dynamic class loading.
DECLARED IN ObjCore/Core.h
SYNOPSIS BOOL TTClass_GetAutoload()
BOOL TTClass_SetAutoload(BOOL f) Class TTClass_Load(const char *name) |
DESCRIPTION TTClass_GetAutoload() returns YES if class autoloading is turned on. I.e., when objc_getClass() is invoked, if the class requested is not known, and if autoload is turned ON, then the runtime system will attempt to load the class definition. TTClass_SetAutoload() turns the autoload mechanism ON or OFF. The previous setting is returned.
TTClass_Load() attempts to load class name in each of the languages currently loaded, until the class is found and loaded. |
RETURN If the class is successfully loaded, the reference to the class object is returned. If no languages were able to load the class, nil is returned.
###