diff --git a/examples/sandbox.txt b/examples/sandbox.txt index 2311fcc..db1bfb4 100644 --- a/examples/sandbox.txt +++ b/examples/sandbox.txt @@ -48,3 +48,10 @@ (factorial 2) (factorial 3) (factorial 4) + + + + + + + diff --git a/gc/inc_external_refcount.c b/gc/inc_external_refcount.c index 38e4a3c..0caf2a6 100644 --- a/gc/inc_external_refcount.c +++ b/gc/inc_external_refcount.c @@ -60,7 +60,7 @@ struct value* gc_inc_external_refcount( } #endif - assert(value->externally_referenced.in_set); + assert(value->externally_referenced.in_set == true); } else { @@ -72,3 +72,14 @@ struct value* gc_inc_external_refcount( return value; } + + + + + + + + + + + diff --git a/value/string/compare.c b/value/string/compare.c index e69de29..5954bb1 100644 --- a/value/string/compare.c +++ b/value/string/compare.c @@ -0,0 +1,11 @@ + +#include + +#include "compare.h" + +int compare_string_values( + const struct value* a, + const struct value* b) +{ + TODO; +} diff --git a/value/string/compare.h b/value/string/compare.h index e69de29..5644321 100644 --- a/value/string/compare.h +++ b/value/string/compare.h @@ -0,0 +1,7 @@ + +int compare_string_values( + const struct value* a, + const struct value* b); + + +