diff --git a/src/refobject.h b/src/refobject.h index 9ba4d331eb72524bf052d7bdb96c0361f841136b..21fcb5949198f4ed51474514b01410b73b75e921 100644 --- a/src/refobject.h +++ b/src/refobject.h @@ -78,13 +78,20 @@ typedef void (*refobject_free_t)(refobject_t self, void **userdata); /* Meta type used to defined types. + * DO NOT use any of the members in here directly! */ typedef struct { + /* Size of this control structure */ size_t control_length; + /* ABI version of this structure */ int control_version; + + /* Total length of the objects to be created */ size_t type_length; + /* Name of type */ const char * type_name; + /* Callback to be called on final free() */ refobject_free_t type_freecb; } refobject_type_t;