CoreFW  Diff

Differences From Artifact [42f745b6ab]:

To Artifact [c2d2546790]:


25
26
27
28
29
30
31

32
33
34
35
36
37
38
39
40
41
42
 */

#ifndef __CFWCLASS_H__
#define __CFWCLASS_H__

#include <stddef.h>
#include <stdbool.h>


typedef struct CFWClass {
	const char *name;
	size_t size;
	void (*ctor)(void*);
	void (*dtor)(void*);
	bool (*equal)(void*, void*);
	void* (*copy)(void*);
} CFWClass;

#endif







>




|






25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
 */

#ifndef __CFWCLASS_H__
#define __CFWCLASS_H__

#include <stddef.h>
#include <stdbool.h>
#include <stdarg.h>

typedef struct CFWClass {
	const char *name;
	size_t size;
	bool (*ctor)(void*, va_list args);
	void (*dtor)(void*);
	bool (*equal)(void*, void*);
	void* (*copy)(void*);
} CFWClass;

#endif