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 ) ;
18 TYPEDEF: void* Protocol
26 : CLS_INITIALIZED HEX: 4 ;
28 : CLS_MAPPED HEX: 10 ;
29 : CLS_FLUSH_CACHE HEX: 20 ;
30 : CLS_GROW_CACHE HEX: 40 ;
31 : CLS_NEED_BIND HEX: 80 ;
32 : CLS_METHOD_ARRAY HEX: 100 ;
34 FUNCTION: int objc_getClassList ( void* buffer, int bufferLen ) ;
36 FUNCTION: Class objc_getClass ( char* class ) ;
38 FUNCTION: Class objc_getMetaClass ( char* class ) ;
40 FUNCTION: Protocol objc_getProtocol ( char* class ) ;
42 FUNCTION: Class objc_allocateClassPair ( Class superclass, char* name, size_t extraBytes ) ;
43 FUNCTION: void objc_registerClassPair ( Class cls ) ;
45 FUNCTION: id class_createInstance ( Class class, uint additionalByteCount ) ;
47 FUNCTION: id class_createInstanceFromZone ( Class class, uint additionalByteCount, void* zone ) ;
49 FUNCTION: Method class_getInstanceMethod ( Class class, SEL selector ) ;
51 FUNCTION: Method class_getClassMethod ( Class class, SEL selector ) ;
53 FUNCTION: Method* class_copyMethodList ( Class class, uint* outCount ) ;
55 FUNCTION: Class class_getSuperclass ( Class cls ) ;
57 FUNCTION: char class_addMethod ( Class class, SEL name, void* imp, void* types ) ;
59 FUNCTION: char class_addProtocol ( Class class, Protocol protocol ) ;
61 FUNCTION: uint method_getNumberOfArguments ( Method method ) ;
63 FUNCTION: uint method_getSizeOfArguments ( Method method ) ;
65 FUNCTION: uint method_getArgumentInfo ( Method method, int argIndex, char** type, int* offset ) ;
67 FUNCTION: void* method_copyReturnType ( Method method ) ;
69 FUNCTION: void* method_copyArgumentType ( Method method, uint index ) ;
71 FUNCTION: void* method_getTypeEncoding ( Method method ) ;
73 FUNCTION: SEL method_getName ( Method method ) ;
75 FUNCTION: void* method_setImplementation ( Method method, void* imp ) ;
77 FUNCTION: Class object_getClass ( id object ) ;