]>
git.saurik.com Git - apple/dyld.git/blob - testing/kernel-cache-tests/kext-vtable-patching-overrides/foo.h
2 #include <Kernel/libkern/c++/OSMetaClass.h>
3 #include <Kernel/libkern/c++/OSObject.h>
5 class Foo
: public OSObject
7 OSDeclareDefaultStructors( Foo
)
11 virtual int fooOverride();
14 OSMetaClassDeclareReservedUsed(Foo
, 0);
15 virtual int fooUsed0();
17 OSMetaClassDeclareReservedUnused(Foo
, 0);
19 OSMetaClassDeclareReservedUnused(Foo
, 1);
20 OSMetaClassDeclareReservedUnused(Foo
, 2);
21 OSMetaClassDeclareReservedUnused(Foo
, 3);
24 class FooSub
: public Foo
26 OSDeclareDefaultStructors( FooSub
)
32 virtual int fooOverride();