Remove the free assumption from libab_ref.
This commit is contained in:
@@ -79,6 +79,11 @@ void libab_ref_free(libab_ref* ref);
|
||||
* Copies this reference, thereby increasing the reference count.
|
||||
*/
|
||||
void libab_ref_copy(const libab_ref* ref, libab_ref* into);
|
||||
/**
|
||||
* Function that can be passed in to refcount to simply use free
|
||||
* when the refcount reaches 0.
|
||||
*/
|
||||
void libab_ref_data_free(void*);
|
||||
/**
|
||||
* Gets the value of the reference.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user