cfw_new() takes parameters now.

This commit is contained in:
Jonathan Schleifer 2012-04-08 19:32:57 +02:00
parent 8603645700
commit a9e4c2a8d9
6 changed files with 43 additions and 31 deletions

View file

@ -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*);