]> git.saurik.com Git - apple/dyld.git/blame - testing/kernel-cache-tests/auxkc-vtable-patching-no-data-const/foo.h
dyld-851.27.tar.gz
[apple/dyld.git] / testing / kernel-cache-tests / auxkc-vtable-patching-no-data-const / foo.h
CommitLineData
bc3b7c8c
A
1
2#include <Kernel/libkern/c++/OSMetaClass.h>
3#include <Kernel/libkern/c++/OSObject.h>
4
5class Foo : public OSObject
6{
7 OSDeclareDefaultStructors( Foo )
8
9public:
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};