Commit 550a70f8 authored by Behdad Esfahbod's avatar Behdad Esfahbod
Browse files

Use 0 as inert object reference value instead of -1

Towards using Null object for nil objects.
Showing with 1 addition and 1 deletion
+1 -1
......@@ -41,7 +41,7 @@
/* reference_count */
#define HB_REFERENCE_COUNT_INERT_VALUE -1
#define HB_REFERENCE_COUNT_INERT_VALUE 0
#define HB_REFERENCE_COUNT_POISON_VALUE -0x0000DEAD
#define HB_REFERENCE_COUNT_INIT {HB_ATOMIC_INT_INIT(HB_REFERENCE_COUNT_INERT_VALUE)}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment