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