darling-dyld/testing/kernel-cache-tests/pageablekc-vtable-patching/foo.h
2023-04-29 11:24:58 -07:00

21 lines
482 B
C++

#include <Kernel/libkern/c++/OSMetaClass.h>
#include <Kernel/libkern/c++/OSObject.h>
class Foo : public OSObject
{
OSDeclareDefaultStructors( Foo )
public:
virtual int foo();
#ifdef FOO_USED
OSMetaClassDeclareReservedUsed(Foo, 0);
virtual int fooUsed0();
#else
OSMetaClassDeclareReservedUnused(Foo, 0);
#endif
OSMetaClassDeclareReservedUnused(Foo, 1);
OSMetaClassDeclareReservedUnused(Foo, 2);
OSMetaClassDeclareReservedUnused(Foo, 3);
};