mirror of
https://github.com/darlinghq/darling-dyld.git
synced 2024-11-27 06:10:24 +00:00
21 lines
482 B
C++
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);
|
|
}; |