Array type moved to include file to allow arrays of Array
This commit is contained in:
parent
a21800cc11
commit
97767b45fb
|
@ -12,7 +12,12 @@
|
|||
|
||||
|
||||
/* types */
|
||||
typedef struct _Array Array;
|
||||
typedef struct _Array
|
||||
{
|
||||
char * data;
|
||||
unsigned int count;
|
||||
unsigned int size;
|
||||
} Array;
|
||||
|
||||
typedef void (*ArrayApplyFunc)(void * data, void * userdata);
|
||||
|
||||
|
|
|
@ -8,13 +8,6 @@
|
|||
|
||||
|
||||
/* Array */
|
||||
struct _Array
|
||||
{
|
||||
char * data;
|
||||
unsigned int count;
|
||||
unsigned int size;
|
||||
};
|
||||
|
||||
Array * array_new(unsigned int size)
|
||||
{
|
||||
Array * array;
|
||||
|
|
Loading…
Reference in New Issue
Block a user