|
offbrand
A collection of generic, reference counted datastructures in C for C
|
Base struct used for within all Offbrand compatible classes that tracks information common to all classes. More...
#include <obj_private.h>
Public Attributes | |
| ob_ref_count_t | references |
| ob_dealloc_fptr | dealloc |
| ob_hash_fptr | hash |
| ob_compare_fptr | compare |
| ob_display_fptr | display |
| const char * | classname |
Base struct used for within all Offbrand compatible classes that tracks information common to all classes.
| const char* obj_struct::classname |
C String classname to which the instance belongs
| ob_compare_fptr obj_struct::compare |
pointer to class specific comparison function
| ob_dealloc_fptr obj_struct::dealloc |
pointer to class specific deallocation function
| ob_display_fptr obj_struct::display |
pointer to the class specific display function
| ob_hash_fptr obj_struct::hash |
pointer to class specific hash function
| ob_ref_count_t obj_struct::references |
reference count for each instance
1.8.4