OODuck
0.5
C Oriented Object framework with duck-typing support
|
Base class for everything. More...
Public Member Functions | |
void * | ref (void *self) |
Increment object's reference counter. More... | |
void | unref (void *self) |
Decrement object's reference counter, if equals 0, delete the object. More... | |
bool | equal (const void *self, const void *other) |
Check objects equality. More... | |
Base class for everything.
bool equal | ( | const void * | self, |
const void * | other | ||
) |
void * ref | ( | void * | self | ) |
void unref | ( | void * | self | ) |
Decrement object's reference counter, if equals 0, delete the object.
self | Object instance. |