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