31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
typedef struct CFWObject {
CFWClass *clsptr;
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 void* cfw_copy(void*);
#endif
|
|
|
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
typedef struct CFWObject {
CFWClass *clsptr;
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 void* cfw_copy(void*);
#endif
|