]> git.saurik.com Git - apple/dyld.git/blob - testing/kernel-cache-tests/auxkc-pageablekc-vtable-patching-namespaces/foo1.h
dyld-851.27.tar.gz
[apple/dyld.git] / testing / kernel-cache-tests / auxkc-pageablekc-vtable-patching-namespaces / foo1.h
1
2 #include "kernel.h"
3
4 namespace X {
5
6 class Foo1 : public KernelClass
7 {
8 OSDeclareDefaultStructors( Foo1 )
9
10 public:
11 virtual int foo() override;
12
13 #ifdef FOO1_USED0
14 OSMetaClassDeclareReservedUsed(Foo1, 0);
15 virtual int foo1Used0();
16 #else
17 OSMetaClassDeclareReservedUnused(Foo1, 0);
18 #endif
19
20 #ifdef FOO1_USED1
21 OSMetaClassDeclareReservedUsed(Foo1, 1);
22 virtual int foo1Used1();
23 #else
24 OSMetaClassDeclareReservedUnused(Foo1, 1);
25 #endif
26
27 OSMetaClassDeclareReservedUnused(Foo1, 2);
28 OSMetaClassDeclareReservedUnused(Foo1, 3);
29 };
30
31 } // namespace X