restructure

This commit is contained in:
Love Hörnquist Åstrand
2011-11-21 18:46:38 -08:00
parent 1d7c483db2
commit 354ef711f3
7 changed files with 59 additions and 8 deletions

View File

@@ -138,6 +138,14 @@ heim_release(void *ptr)
heim_abort("over release");
}
void
_heim_make_permanent(heim_object_t ptr)
{
struct heim_base *p = PTR2BASE(ptr);
p->ref_cnt = heim_base_atomic_max;
}
static heim_type_t tagged_isa[9] = {
&_heim_number_object,
&_heim_null_object,