1 ! Copyright (C) 2006, 2007 Slava Pestov
2 ! See http://factorcode.org/license.txt for BSD license.
10 FUNCTION: char* sel_getName ( SEL aSelector ) ;
12 FUNCTION: bool sel_isMapped ( SEL aSelector ) ;
14 FUNCTION: SEL sel_registerName ( char* str ) ;
22 : CLS_INITIALIZED HEX: 4 ;
24 : CLS_MAPPED HEX: 10 ;
25 : CLS_FLUSH_CACHE HEX: 20 ;
26 : CLS_GROW_CACHE HEX: 40 ;
27 : CLS_NEED_BIND HEX: 80 ;
28 : CLS_METHOD_ARRAY HEX: 100 ;
32 { "void*" "super-class" }
36 { "long" "instance-size" }
38 { "void*" "methodLists" }
40 { "void*" "protocols" } ;
43 { "objc-class*" "isa" } ;
45 FUNCTION: int objc_getClassList ( void* buffer, int bufferLen ) ;
47 FUNCTION: objc-class* objc_getClass ( char* class ) ;
49 FUNCTION: objc-class* objc_getMetaClass ( char* class ) ;
51 FUNCTION: objc-class* objc_getProtocol ( char* class ) ;
53 FUNCTION: void objc_addClass ( objc-class* class ) ;
55 FUNCTION: id class_createInstance ( objc-class* class, uint additionalByteCount ) ;
57 FUNCTION: id class_createInstanceFromZone ( objc-class* class, uint additionalByteCount, void* zone ) ;
64 FUNCTION: objc-method* class_getInstanceMethod ( objc-class* class, SEL selector ) ;
66 FUNCTION: objc-method* class_getClassMethod ( objc-class* class, SEL selector ) ;
68 C-STRUCT: objc-method-list
69 { "void*" "obsolete" }
72 FUNCTION: objc-method-list* class_nextMethodList ( objc-class* class, void** iterator ) ;
74 FUNCTION: void class_addMethods ( objc-class* class, objc-method-list* methodList ) ;
76 FUNCTION: void class_removeMethods ( objc-class* class, objc-method-list* methodList ) ;
78 FUNCTION: uint method_getNumberOfArguments ( objc-method* method ) ;
80 FUNCTION: uint method_getSizeOfArguments ( objc-method* method ) ;
82 FUNCTION: uint method_getArgumentInfo ( objc-method* method, int argIndex, char** type, int* offset ) ;
84 C-STRUCT: objc-protocol-list
87 { "objc-class*" "class" } ;