Remove un-thread safe shared reference count.

This commit is contained in:
2018-04-24 15:08:39 -07:00
parent 4dcf422757
commit ee76d39f38
2 changed files with 18 additions and 14 deletions

View File

@@ -34,7 +34,11 @@ struct libab_ref_s {
/**
* Whether this reference is a strong reference.
*/
int strong;
unsigned int strong:1;
/**
* Whether this reference is a NULL reference.
*/
unsigned int null:1;
/**
* The reference count struct keeping track
* of how many references are pointing to the value.