]> git.saurik.com Git - apple/objc4.git/blob - runtime/dummy-library-mac-i386.c
objc4-818.2.tar.gz
[apple/objc4.git] / runtime / dummy-library-mac-i386.c
1 // This file contains stubs matching the sybols previously exported by libobjc
2 // when i386 Mac was actually supported. These stubs allow us to tease apart the
3 // dependencies to prepare for removing i386 Mac libobjc entirely.
4 //
5 // This file is not built when building for any other arch/OS combination. When
6 // building for i386 Mac, no other source files are built, just this one. This
7 // is handled using the Included/Excluded Source File Names settings in Xcode,
8 // with arch/OS-specific overrides.
9 //
10 // rdar://problem/58541885
11
12 #pragma GCC visibility push(default)
13 const char ___ld_hide_os10_5__objc_class_name_NSObject __asm__("$ld$hide$os10.5$.objc_class_name_NSObject");
14 const char ___ld_hide_os10_6__objc_class_name_NSObject __asm__("$ld$hide$os10.6$.objc_class_name_NSObject");
15 const char ___ld_hide_os10_7__objc_class_name_NSObject __asm__("$ld$hide$os10.7$.objc_class_name_NSObject");
16 const char ___objc_class_name_List __asm__(".objc_class_name_List");
17 const char ___objc_class_name_NSObject __asm__(".objc_class_name_NSObject");
18 const char ___objc_class_name_Object __asm__(".objc_class_name_Object");
19 const char ___objc_class_name_Protocol __asm__(".objc_class_name_Protocol");
20 void NXCompareHashTables(void) {}
21 void NXCompareMapTables(void) {}
22 void NXCopyHashTable(void) {}
23 void NXCopyStringBuffer(void) {}
24 void NXCopyStringBufferFromZone(void) {}
25 void NXCountHashTable(void) {}
26 void NXCountMapTable(void) {}
27 void NXCreateHashTable(void) {}
28 void NXCreateHashTableFromZone(void) {}
29 void NXCreateMapTable(void) {}
30 void NXCreateMapTableFromZone(void) {}
31 void NXEmptyHashTable(void) {}
32 void NXFreeHashTable(void) {}
33 void NXFreeMapTable(void) {}
34 void NXHashGet(void) {}
35 void NXHashInsert(void) {}
36 void NXHashInsertIfAbsent(void) {}
37 void NXHashMember(void) {}
38 void NXHashRemove(void) {}
39 void NXInitHashState(void) {}
40 void NXInitMapState(void) {}
41 void NXMapGet(void) {}
42 void NXMapInsert(void) {}
43 void NXMapMember(void) {}
44 void NXMapRemove(void) {}
45 void NXNextHashState(void) {}
46 void NXNextMapState(void) {}
47 void NXNoEffectFree(void) {}
48 const char NXObjectMapPrototype;
49 void NXPtrHash(void) {}
50 void NXPtrIsEqual(void) {}
51 const char NXPtrPrototype;
52 const char NXPtrStructKeyPrototype;
53 const char NXPtrValueMapPrototype;
54 void NXReallyFree(void) {}
55 void NXResetHashTable(void) {}
56 void NXResetMapTable(void) {}
57 void NXStrHash(void) {}
58 void NXStrIsEqual(void) {}
59 const char NXStrPrototype;
60 const char NXStrStructKeyPrototype;
61 const char NXStrValueMapPrototype;
62 void NXUniqueString(void) {}
63 void NXUniqueStringNoCopy(void) {}
64 void NXUniqueStringWithLength(void) {}
65 char _alloc;
66 void _class_getIvarMemoryManagement(void) {}
67 void _class_isFutureClass(void) {}
68 void _class_isSwift(void) {}
69 char _copy;
70 char _dealloc;
71 char _error;
72 void _objcInit(void) {}
73 void _objc_addWillInitializeClassFunc(void) {}
74 void _objc_atfork_child(void) {}
75 void _objc_atfork_parent(void) {}
76 void _objc_atfork_prepare(void) {}
77 void _objc_autoreleasePoolPop(void) {}
78 void _objc_autoreleasePoolPrint(void) {}
79 void _objc_autoreleasePoolPush(void) {}
80 void _objc_deallocOnMainThreadHelper(void) {}
81 const char _objc_debug_class_hash;
82 const char _objc_empty_cache;
83 void _objc_error(void) {}
84 void _objc_flush_caches(void) {}
85 void _objc_getFreedObjectClass(void) {}
86 void _objc_init(void) {}
87 void _objc_msgForward(void) {}
88 void _objc_msgForward_stret(void) {}
89 void _objc_resolve_categories_for_class(void) {}
90 void _objc_rootAlloc(void) {}
91 void _objc_rootAllocWithZone(void) {}
92 void _objc_rootAutorelease(void) {}
93 void _objc_rootDealloc(void) {}
94 void _objc_rootFinalize(void) {}
95 void _objc_rootHash(void) {}
96 void _objc_rootInit(void) {}
97 void _objc_rootIsDeallocating(void) {}
98 void _objc_rootRelease(void) {}
99 void _objc_rootReleaseWasZero(void) {}
100 void _objc_rootRetain(void) {}
101 void _objc_rootRetainCount(void) {}
102 void _objc_rootTryRetain(void) {}
103 void _objc_rootZone(void) {}
104 void _objc_setBadAllocHandler(void) {}
105 void _objc_setClassLoader(void) {}
106 void _protocol_getMethodTypeEncoding(void) {}
107 char _realloc;
108 char _zoneAlloc;
109 char _zoneCopy;
110 char _zoneRealloc;
111 void class_addIvar(void) {}
112 void class_addMethod(void) {}
113 void class_addMethods(void) {}
114 void class_addProperty(void) {}
115 void class_addProtocol(void) {}
116 void class_conformsToProtocol(void) {}
117 void class_copyIvarList(void) {}
118 void class_copyMethodList(void) {}
119 void class_copyPropertyList(void) {}
120 void class_copyProtocolList(void) {}
121 void class_createInstance(void) {}
122 void class_createInstanceFromZone(void) {}
123 void class_createInstances(void) {}
124 void class_getClassMethod(void) {}
125 void class_getClassVariable(void) {}
126 void class_getImageName(void) {}
127 void class_getInstanceMethod(void) {}
128 void class_getInstanceSize(void) {}
129 void class_getInstanceVariable(void) {}
130 void class_getIvarLayout(void) {}
131 void class_getMethodImplementation(void) {}
132 void class_getMethodImplementation_stret(void) {}
133 void class_getName(void) {}
134 void class_getProperty(void) {}
135 void class_getSuperclass(void) {}
136 void class_getVersion(void) {}
137 void class_getWeakIvarLayout(void) {}
138 void class_isMetaClass(void) {}
139 void class_lookupMethod(void) {}
140 void class_nextMethodList(void) {}
141 void class_poseAs(void) {}
142 void class_removeMethods(void) {}
143 void class_replaceMethod(void) {}
144 void class_replaceProperty(void) {}
145 void class_respondsToMethod(void) {}
146 void class_respondsToSelector(void) {}
147 void class_setIvarLayout(void) {}
148 void class_setSuperclass(void) {}
149 void class_setVersion(void) {}
150 void class_setWeakIvarLayout(void) {}
151 void gdb_class_getClass(void) {}
152 void gdb_object_getClass(void) {}
153 void imp_getBlock(void) {}
154 void imp_implementationWithBlock(void) {}
155 void imp_removeBlock(void) {}
156 void instrumentObjcMessageSends(void) {}
157 void ivar_getName(void) {}
158 void ivar_getOffset(void) {}
159 void ivar_getTypeEncoding(void) {}
160 void method_copyArgumentType(void) {}
161 void method_copyReturnType(void) {}
162 void method_exchangeImplementations(void) {}
163 void method_getArgumentType(void) {}
164 void method_getDescription(void) {}
165 void method_getImplementation(void) {}
166 void method_getName(void) {}
167 void method_getNumberOfArguments(void) {}
168 void method_getReturnType(void) {}
169 void method_getSizeOfArguments(void) {}
170 void method_getTypeEncoding(void) {}
171 void method_invoke(void) {}
172 void method_invoke_stret(void) {}
173 void method_setImplementation(void) {}
174 void objc_addClass(void) {}
175 void objc_addLoadImageFunc(void) {}
176 void objc_alloc(void) {}
177 void objc_allocWithZone(void) {}
178 void objc_alloc_init(void) {}
179 void objc_allocateClassPair(void) {}
180 void objc_allocateProtocol(void) {}
181 void objc_allocate_object(void) {}
182 void objc_appRequiresGC(void) {}
183 void objc_assertRegisteredThreadWithCollector(void) {}
184 void objc_assign_global(void) {}
185 void objc_assign_ivar(void) {}
186 void objc_assign_strongCast(void) {}
187 void objc_assign_threadlocal(void) {}
188 void objc_assign_weak(void) {}
189 void objc_atomicCompareAndSwapGlobal(void) {}
190 void objc_atomicCompareAndSwapGlobalBarrier(void) {}
191 void objc_atomicCompareAndSwapInstanceVariable(void) {}
192 void objc_atomicCompareAndSwapInstanceVariableBarrier(void) {}
193 void objc_atomicCompareAndSwapPtr(void) {}
194 void objc_atomicCompareAndSwapPtrBarrier(void) {}
195 void objc_autorelease(void) {}
196 void objc_autoreleasePoolPop(void) {}
197 void objc_autoreleasePoolPush(void) {}
198 void objc_autoreleaseReturnValue(void) {}
199 void objc_clear_deallocating(void) {}
200 void objc_clear_stack(void) {}
201 void objc_collect(void) {}
202 void objc_collect_init(void) {}
203 void objc_collectableZone(void) {}
204 void objc_collectingEnabled(void) {}
205 void objc_collecting_enabled(void) {}
206 void objc_constructInstance(void) {}
207 void objc_copyClassList(void) {}
208 void objc_copyClassNamesForImage(void) {}
209 void objc_copyClassNamesForImageHeader(void) {}
210 void objc_copyCppObjectAtomic(void) {}
211 void objc_copyImageNames(void) {}
212 void objc_copyProtocolList(void) {}
213 void objc_copyStruct(void) {}
214 void objc_copyWeak(void) {}
215 const char objc_debug_autoreleasepoolpage_child_offset;
216 const char objc_debug_autoreleasepoolpage_depth_offset;
217 const char objc_debug_autoreleasepoolpage_hiwat_offset;
218 const char objc_debug_autoreleasepoolpage_magic_offset;
219 const char objc_debug_autoreleasepoolpage_next_offset;
220 const char objc_debug_autoreleasepoolpage_parent_offset;
221 const char objc_debug_autoreleasepoolpage_thread_offset;
222 void objc_destroyWeak(void) {}
223 void objc_destructInstance(void) {}
224 void objc_disposeClassPair(void) {}
225 void objc_dumpHeap(void) {}
226 void objc_duplicateClass(void) {}
227 void objc_enumerationMutation(void) {}
228 void objc_exception_extract(void) {}
229 void objc_exception_get_functions(void) {}
230 void objc_exception_match(void) {}
231 void objc_exception_set_functions(void) {}
232 void objc_exception_throw(void) {}
233 void objc_exception_try_enter(void) {}
234 void objc_exception_try_exit(void) {}
235 void objc_finalizeOnMainThread(void) {}
236 void objc_getAssociatedObject(void) {}
237 void objc_getClass(void) {}
238 void objc_getClassList(void) {}
239 void objc_getClasses(void) {}
240 void objc_getFutureClass(void) {}
241 void objc_getMetaClass(void) {}
242 void objc_getOrigClass(void) {}
243 void objc_getProperty(void) {}
244 void objc_getProtocol(void) {}
245 void objc_getRequiredClass(void) {}
246 void objc_initWeak(void) {}
247 void objc_initWeakOrNil(void) {}
248 void objc_initializeClassPair(void) {}
249 void objc_isAuto(void) {}
250 void objc_is_finalized(void) {}
251 void objc_loadModule(void) {}
252 void objc_loadModules(void) {}
253 void objc_loadWeak(void) {}
254 void objc_loadWeakRetained(void) {}
255 void objc_lookUpClass(void) {}
256 void objc_memmove_collectable(void) {}
257 void objc_moveWeak(void) {}
258 void objc_msgSend(void) {}
259 void objc_msgSendSuper(void) {}
260 void objc_msgSendSuper_stret(void) {}
261 void objc_msgSend_fpret(void) {}
262 void objc_msgSend_stret(void) {}
263 void objc_msgSendv(void) {}
264 void objc_msgSendv_fpret(void) {}
265 void objc_msgSendv_stret(void) {}
266 void objc_opt_class(void) {}
267 void objc_opt_isKindOfClass(void) {}
268 void objc_opt_new(void) {}
269 void objc_opt_respondsToSelector(void) {}
270 void objc_opt_self(void) {}
271 void objc_read_weak(void) {}
272 void objc_registerClassPair(void) {}
273 void objc_registerProtocol(void) {}
274 void objc_registerThreadWithCollector(void) {}
275 void objc_release(void) {}
276 void objc_removeAssociatedObjects(void) {}
277 void objc_retain(void) {}
278 void objc_retainAutorelease(void) {}
279 void objc_retainAutoreleaseReturnValue(void) {}
280 void objc_retainAutoreleasedReturnValue(void) {}
281 void objc_retainBlock(void) {}
282 void objc_retain_autorelease(void) {}
283 void objc_retainedObject(void) {}
284 void objc_setAssociatedObject(void) {}
285 void objc_setClassHandler(void) {}
286 void objc_setCollectionRatio(void) {}
287 void objc_setCollectionThreshold(void) {}
288 void objc_setEnumerationMutationHandler(void) {}
289 void objc_setForwardHandler(void) {}
290 void objc_setHook_getImageName(void) {}
291 void objc_setMultithreaded(void) {}
292 void objc_setProperty(void) {}
293 void objc_setProperty_atomic(void) {}
294 void objc_setProperty_atomic_copy(void) {}
295 void objc_setProperty_nonatomic(void) {}
296 void objc_setProperty_nonatomic_copy(void) {}
297 void objc_set_collection_ratio(void) {}
298 void objc_set_collection_threshold(void) {}
299 void objc_should_deallocate(void) {}
300 void objc_startCollectorThread(void) {}
301 void objc_start_collector_thread(void) {}
302 void objc_storeStrong(void) {}
303 void objc_storeWeak(void) {}
304 void objc_storeWeakOrNil(void) {}
305 void objc_sync_enter(void) {}
306 void objc_sync_exit(void) {}
307 void objc_sync_try_enter(void) {}
308 void objc_unloadModules(void) {}
309 void objc_unregisterThreadWithCollector(void) {}
310 void objc_unretainedObject(void) {}
311 void objc_unretainedPointer(void) {}
312 void objc_unsafeClaimAutoreleasedReturnValue(void) {}
313 void object_copy(void) {}
314 void object_copyFromZone(void) {}
315 void object_dispose(void) {}
316 void object_getClass(void) {}
317 void object_getClassName(void) {}
318 void object_getIndexedIvars(void) {}
319 void object_getInstanceVariable(void) {}
320 void object_getIvar(void) {}
321 void object_getMethodImplementation(void) {}
322 void object_getMethodImplementation_stret(void) {}
323 void object_isClass(void) {}
324 void object_realloc(void) {}
325 void object_reallocFromZone(void) {}
326 void object_setClass(void) {}
327 void object_setInstanceVariable(void) {}
328 void object_setInstanceVariableWithStrongDefault(void) {}
329 void object_setIvar(void) {}
330 void object_setIvarWithStrongDefault(void) {}
331 void property_copyAttributeList(void) {}
332 void property_copyAttributeValue(void) {}
333 void property_getAttributes(void) {}
334 void property_getName(void) {}
335 void protocol_addMethodDescription(void) {}
336 void protocol_addProperty(void) {}
337 void protocol_addProtocol(void) {}
338 void protocol_conformsToProtocol(void) {}
339 void protocol_copyMethodDescriptionList(void) {}
340 void protocol_copyPropertyList(void) {}
341 void protocol_copyPropertyList2(void) {}
342 void protocol_copyProtocolList(void) {}
343 void protocol_getMethodDescription(void) {}
344 void protocol_getName(void) {}
345 void protocol_getProperty(void) {}
346 void protocol_isEqual(void) {}
347 void sel_getName(void) {}
348 void sel_getUid(void) {}
349 void sel_isEqual(void) {}
350 void sel_isMapped(void) {}
351 void sel_registerName(void) {}
352 void objc_cache_buckets(void) {}
353 void objc_cache_bytesForCapacity(void) {}
354 void objc_cache_capacity(void) {}
355 void objc_cache_occupied(void) {}
356 void objc_copyClassesForImage(void) {}