]> git.saurik.com Git - apple/objc4.git/blob - objc-exports
objc4-235.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-exception.h
25 _objc_exception_throw
26 _objc_exception_try_enter
27 _objc_exception_try_exit
28 _objc_exception_extract
29 _objc_exception_match
30 _objc_exception_get_functions
31 _objc_exception_set_functions
32 # objc-sync.h
33 _objc_sync_enter
34 _objc_sync_exit
35 _objc_sync_wait
36 _objc_sync_notify
37 _objc_sync_notifyAll
38 # objc-load.h
39 _objc_loadModules
40 _objc_loadModule
41 _objc_unloadModules
42 # objc-runtime.h
43 _objc_getClass
44 _objc_getMetaClass
45 _objc_msgSend
46 # non-nil entry points disabled for now
47 # _objc_msgSendNonNil
48 _objc_msgSend_stret
49 # _objc_msgSendNonNil_stret
50 _objc_msgSendSuper
51 _objc_msgSendSuper_stret
52 _objc_msgSendv
53 _objc_msgSendv_stret
54 _objc_getClassList
55 _objc_getClasses
56 _objc_lookUpClass
57 _objc_addClass
58 _objc_setClassHandler
59 _objc_setMultithreaded
60 __alloc
61 __copy
62 __realloc
63 __dealloc
64 __zoneAlloc
65 __zoneRealloc
66 __zoneCopy
67 __error
68 # objc.h
69 _sel_isMapped
70 _sel_getName
71 _sel_getUid
72 _sel_registerName
73 _object_getClassName
74 _object_getIndexedIvars
75 # Object.h
76 .objc_class_name_Object
77 _object_dispose
78 _object_copy
79 _object_copyFromZone
80 _object_realloc
81 _object_reallocFromZone
82 # Protocol.h
83 .objc_class_name_Protocol
84 # error.h
85 # everything inside is declared but no longer defined?!
86 # hashtable2.h
87 _NXCreateHashTableFromZone
88 _NXCreateHashTable
89 _NXFreeHashTable
90 _NXEmptyHashTable
91 _NXResetHashTable
92 _NXCompareHashTables
93 _NXCopyHashTable
94 _NXCountHashTable
95 _NXHashMember
96 _NXHashGet
97 _NXHashInsert
98 _NXHashInsertIfAbsent
99 _NXHashRemove
100 _NXInitHashState
101 _NXNextHashState
102 _NXPtrHash
103 _NXStrHash
104 _NXPtrIsEqual
105 _NXStrIsEqual
106 _NXNoEffectFree
107 _NXReallyFree
108 _NXPtrPrototype
109 _NXStrPrototype
110 _NXPtrStructKeyPrototype
111 _NXStrStructKeyPrototype
112 _NXUniqueString
113 _NXUniqueStringWithLength
114 _NXUniqueStringNoCopy
115 _NXCopyStringBuffer
116 _NXCopyStringBufferFromZone
117 # maptable.h
118 _NXCreateMapTableFromZone
119 _NXCreateMapTable
120 _NXFreeMapTable
121 _NXResetMapTable
122 _NXCompareMapTables
123 _NXCountMapTable
124 _NXMapMember
125 _NXMapGet
126 _NXMapInsert
127 _NXMapRemove
128 _NXInitMapState
129 _NXNextMapState
130 _NXPtrValueMapPrototype
131 _NXStrValueMapPrototype
132 _NXObjectMapPrototype
133 #
134 # Functions that aren't in the headers but are used or are useful.
135 #
136 # sudo find / -xdev -type f -perm -0111 \! -name "libobjc*dylib" -print -exec nm -u {} \; > /tmp/all-used-symbols
137 # (repeat with any other disks you want checked, appending to the same file)
138 # nm /usr/lib/libobjc.dylib | awk '$2 ~ /^[ADST]$/' | colrm 1 11 | sort -u > /tmp/objc-exports
139 # (note that you need an unstripped, un-nmedited libobjc.dylib)
140 # grep -f /tmp/objc-exports /tmp/all-used-symbols | sort -u > /tmp/used-objc-symbols
141 # grep -v -f /tmp/used-objc-symbols /tmp/objc-exports | sort -u > /tmp/unused-objc-symbols
142 #
143 __class_printDuplicateCacheEntries
144 __class_printMethodCaches
145 __class_printMethodCacheStatistics
146 __objc_create_zone
147 __objc_error
148 __objc_flush_caches
149 __objc_msgForward
150 __objc_resolve_categories_for_class
151 __objc_setClassLoader
152 __objc_setNilReceiver
153 __objc_getNilReceiver
154 __objcInit
155 _class_lookupMethod
156 _class_respondsToMethod
157 _instrumentObjcMessageSends
158 _objc_getOrigClass
159 # magic, or garbage?
160 __dummy
161 _do_not_remove_this_dummy_function
162 # used by debugging tools like heap
163 __objc_debug_class_hash
164 # used by Foundation's NSAutoreleaseFreedObjectCheckEnabled
165 __objc_getFreedObjectClass