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