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