xref: /xnu-10063.121.3/libkern/c++/OSRuntimeSupport.c (revision 2c2f96dc2b9a4408a43d3150ae9c105355ca3daa)
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