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