]> git.saurik.com Git - apple/dyld.git/blob - testing/kernel-cache-tests/kext-vtable-patching-error-small-vtable/foo.h
dyld-851.27.tar.gz
[apple/dyld.git] / testing / kernel-cache-tests / kext-vtable-patching-error-small-vtable / 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
16 OSMetaClassDeclareReservedUnused(Foo, 1);
17 OSMetaClassDeclareReservedUnused(Foo, 2);
18 OSMetaClassDeclareReservedUnused(Foo, 3);
19 #else
20 OSMetaClassDeclareReservedUnused(Foo, 0);
21 #endif
22 };