26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
#ifndef __CFWOBJECT_H__
#define __CFWOBJECT_H__
#include "cfwclass.h"
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*);
|
|
|
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
#ifndef __CFWOBJECT_H__
#define __CFWOBJECT_H__
#include "cfwclass.h"
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*);
|