.
This commit is contained in:
parent
007a931684
commit
c9346f8688
4 changed files with 37 additions and 1 deletions
|
|
@ -48,3 +48,10 @@
|
||||||
(factorial 2)
|
(factorial 2)
|
||||||
(factorial 3)
|
(factorial 3)
|
||||||
(factorial 4)
|
(factorial 4)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -60,7 +60,7 @@ struct value* gc_inc_external_refcount(
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
assert(value->externally_referenced.in_set);
|
assert(value->externally_referenced.in_set == true);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
@ -72,3 +72,14 @@ struct value* gc_inc_external_refcount(
|
||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,11 @@
|
||||||
|
|
||||||
|
#include <debug.h>
|
||||||
|
|
||||||
|
#include "compare.h"
|
||||||
|
|
||||||
|
int compare_string_values(
|
||||||
|
const struct value* a,
|
||||||
|
const struct value* b)
|
||||||
|
{
|
||||||
|
TODO;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
|
||||||
|
int compare_string_values(
|
||||||
|
const struct value* a,
|
||||||
|
const struct value* b);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Loading…
Reference in a new issue