cfw_new() takes parameters now.
This commit is contained in:
parent
8603645700
commit
a9e4c2a8d9
6 changed files with 43 additions and 31 deletions
|
@ -29,11 +29,12 @@
|
|||
|
||||
#include <stddef.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
typedef struct CFWClass {
|
||||
const char *name;
|
||||
size_t size;
|
||||
void (*ctor)(void*);
|
||||
bool (*ctor)(void*, va_list args);
|
||||
void (*dtor)(void*);
|
||||
bool (*equal)(void*, void*);
|
||||
void* (*copy)(void*);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue