Differences From Artifact [dc1cf1f6a1]:
- File src/object.h — part of check-in [a2613e09be] at 2012-04-09 14:06:27 on branch trunk — Add hashing. (user: js, size: 1806) [annotate] [blame] [check-ins using]
To Artifact [07013e8446]:
- File src/object.h — part of check-in [8ec09e82ac] at 2012-04-22 13:09:52 on branch trunk — Add refpool. (user: js, size: 1846) [annotate] [blame] [check-ins using]
︙ | |||
32 33 34 35 36 37 38 39 40 41 42 43 44 45 | 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | + | typedef struct CFWObject { CFWClass *cls; int ref_cnt; } CFWObject; extern CFWClass *cfw_object; extern void* cfw_new(CFWClass*, ...); extern void* cfw_new_p(CFWClass*, ...); extern void* cfw_ref(void*); extern void cfw_unref(void*); extern void cfw_free(void*); extern bool cfw_equal(void*, void*); extern uint32_t cfw_hash(void*); extern void* cfw_copy(void*); |
︙ |