]> git.saurik.com Git - apple/dyld.git/blob - testing/kernel-cache-tests/auxkc-pageablekc-vtable-patching/kernel.h
dyld-851.27.tar.gz
[apple/dyld.git] / testing / kernel-cache-tests / auxkc-pageablekc-vtable-patching / kernel.h
1
2 #include <Kernel/libkern/c++/OSMetaClass.h>
3 #include <Kernel/libkern/c++/OSObject.h>
4
5 class KernelClass : public OSObject
6 {
7 OSDeclareDefaultStructors( KernelClass )
8
9 public:
10 virtual int foo();
11
12 #ifdef KERNEL_USED
13 OSMetaClassDeclareReservedUsed(KernelClass, 0);
14 virtual int kernelClassUsed0();
15 #else
16 OSMetaClassDeclareReservedUnused(KernelClass, 0);
17 #endif
18 };