xref: /xnu-11215.81.4/libkern/c++/OSRuntimeSupport.c (revision d4514f0bc1d3f944c22d92e68b646ac3fb40d452)
1 // These functions have been moved inline but we need to continue
2 // exporting the mangled functions for loadable drivers compiled on older
3 // systems.
4 // Note that I have had to manually mangle the symbols names.
5 void _ZN11OSMetaClassdlEPvm(void *mem, unsigned long size);
6 void *_ZN11OSMetaClassnwEm(unsigned long size);
7 
8 void
_ZN11OSMetaClassdlEPvm(void * mem,unsigned long size)9 _ZN11OSMetaClassdlEPvm(__attribute__((unused)) void *mem, __attribute__((__unused__)) unsigned long size)
10 {
11 }
12 void *
_ZN11OSMetaClassnwEm(unsigned long size)13 _ZN11OSMetaClassnwEm(__attribute__((unused)) unsigned long size)
14 {
15 	return (void *)0ULL;
16 }
17