32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
typedef struct CFWObject {
CFWClass *cls;
int ref_cnt;
} CFWObject;
extern CFWClass *cfw_object;
extern void* cfw_new(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*);
|
>
|
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*);
|