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