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