]> git.saurik.com Git - apple/dyld.git/blob - testing/kernel-cache-tests/auxkc-vtable-metaclass-patching/foo.cpp
dyld-851.27.tar.gz
[apple/dyld.git] / testing / kernel-cache-tests / auxkc-vtable-metaclass-patching / foo.cpp
1
2 #include "foo.h"
3 #include <memory.h>
4
5 void* operator new(size_t size) { return (void*)1; }
6 void operator delete(void*) { }
7
8 OSDefineMetaClassAndStructors( Foo, OSObject )
9
10 OSMetaClassDefineReservedUnused( Foo, 0 )
11 OSMetaClassDefineReservedUnused( Foo, 1 )
12 OSMetaClassDefineReservedUnused( Foo, 2 )
13 OSMetaClassDefineReservedUnused( Foo, 3 )