39typedef struct ObjectInterface ObjectInterface;
67 unsigned int referenceCount;
75struct ObjectInterface {
92 void (*dealloc)(
Object *self);
108 int (*hash)(
const Object *self);
127 bool (*isEqual)(
const Object *self,
const Object *other);
137 bool (*isKindOfClass)(
const Object *self,
const Class *clazz);
Classes describe the state and behavior of an Objectively type.
OBJECTIVELY_EXPORT Class * _Object(void)
#define OBJECTIVELY_EXPORT
The runtime representation of a Class.
Object is the root Class of The Objectively Class hierarchy.
Class * clazz
Every instance of Object begins with a pointer to its Class.
ObjectInterface * interface
The interface.
unsigned int magic
A header to allow introspection of Object types.