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