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