]> git.saurik.com Git - apple/objc4.git/blob - objc-exports
objc4-222.tar.gz
[apple/objc4.git] / objc-exports
1 # Functions and variables explicitly exported from ObjC.
2 # GrP 2002-2-4
3 # Note that some commonly used functions are *not* listed in the
4 # ObjC headers (e.g. objc_flush_caches())
5 # List.h
6 .objc_class_name_List
7 # objc-class.h
8 _object_setInstanceVariable
9 _object_getInstanceVariable
10 _class_createInstance
11 _class_createInstanceFromZone
12 _class_setVersion
13 _class_getVersion
14 _class_getInstanceVariable
15 _class_getInstanceMethod
16 _class_getClassMethod
17 _class_addMethods
18 _class_removeMethods
19 _class_poseAs
20 _method_getNumberOfArguments
21 _method_getSizeOfArguments
22 _method_getArgumentInfo
23 _class_nextMethodList
24 # objc-load.h
25 _objc_loadModules
26 _objc_loadModule
27 _objc_unloadModules
28 # objc-runtime.h
29 # fixme does anybody use objc_msgSendFew* ?
30 _objc_getClass
31 _objc_getMetaClass
32 _objc_msgSend
33 _objc_msgSend_stret
34 _objc_msgSendSuper
35 _objc_msgSendSuper_stret
36 _objc_msgSendv
37 _objc_msgSendv_stret
38 _objc_getClassList
39 _objc_getClasses
40 _objc_lookUpClass
41 _objc_addClass
42 _objc_setClassHandler
43 _objc_setMultithreaded
44 __alloc
45 __copy
46 __realloc
47 __dealloc
48 __zoneAlloc
49 __zoneRealloc
50 __zoneCopy
51 __error
52 # objc.h
53 _sel_isMapped
54 _sel_getName
55 _sel_getUid
56 _sel_registerName
57 _object_getClassName
58 _object_getIndexedIvars
59 # Object.h
60 .objc_class_name_Object
61 _object_dispose
62 _object_copy
63 _object_copyFromZone
64 _object_realloc
65 _object_reallocFromZone
66 # Protocol.h
67 .objc_class_name_Protocol
68 # error.h
69 # everything inside is declared but no longer defined?!
70 # hashtable2.h
71 _NXCreateHashTableFromZone
72 _NXCreateHashTable
73 _NXFreeHashTable
74 _NXEmptyHashTable
75 _NXResetHashTable
76 _NXCompareHashTables
77 _NXCopyHashTable
78 _NXCountHashTable
79 _NXHashMember
80 _NXHashGet
81 _NXHashInsert
82 _NXHashInsertIfAbsent
83 _NXHashRemove
84 _NXInitHashState
85 _NXNextHashState
86 _NXPtrHash
87 _NXStrHash
88 _NXPtrIsEqual
89 _NXStrIsEqual
90 _NXNoEffectFree
91 _NXReallyFree
92 _NXPtrPrototype
93 _NXStrPrototype
94 _NXPtrStructKeyPrototype
95 _NXStrStructKeyPrototype
96 _NXUniqueString
97 _NXUniqueStringWithLength
98 _NXUniqueStringNoCopy
99 _NXCopyStringBuffer
100 _NXCopyStringBufferFromZone
101 # maptable.h
102 _NXCreateMapTableFromZone
103 _NXCreateMapTable
104 _NXFreeMapTable
105 _NXResetMapTable
106 _NXCompareMapTables
107 _NXCountMapTable
108 _NXMapMember
109 _NXMapGet
110 _NXMapInsert
111 _NXMapRemove
112 _NXInitMapState
113 _NXNextMapState
114 _NXPtrValueMapPrototype
115 _NXStrValueMapPrototype
116 _NXObjectMapPrototype
117 #
118 # Functions that aren't in the headers but are used or are useful.
119 #
120 # sudo find / -xdev -type f -perm -0111 \! -name "libobjc*dylib" -print -exec nm -u {} \; > /tmp/all-used-symbols
121 # (repeat with any other disks you want checked, appending to the same file)
122 # nm /usr/lib/libobjc.dylib | awk '$2 ~ /^[ADST]$/' | colrm 1 11 | sort -u > /tmp/objc-exports
123 # (note that you need an unstripped, un-nmedited libobjc.dylib)
124 # grep -f /tmp/objc-exports /tmp/all-used-symbols | sort -u > /tmp/used-objc-symbols
125 # grep -v -f /tmp/used-objc-symbols /tmp/objc-exports | sort -u > /tmp/unused-objc-symbols
126 #
127 __class_printDuplicateCacheEntries
128 __class_printMethodCaches
129 __class_printMethodCacheStatistics
130 __objc_create_zone
131 __objc_error
132 __objc_flush_caches
133 __objc_msgForward
134 __objcInit
135 _class_lookupMethod
136 _class_respondsToMethod
137 _instrumentObjcMessageSends
138 _objc_getOrigClass
139 # magic, or garbage?
140 __dummy
141 _do_not_remove_this_dummy_function
142 # used by debugging tools like heap
143 __objc_debug_class_hash
144