fix some errors on GCC
This commit is contained in:
@@ -1,4 +1,13 @@
|
||||
#include "gryphn_array_list.h"
|
||||
#include <stdlib.h>
|
||||
|
||||
GN_ARRAY_LIST_DEFINITION(uint32_t)
|
||||
GN_ARRAY_LIST_DEFINITION(int)
|
||||
|
||||
|
||||
void tester() {
|
||||
uint32_tArrayList list = uint32_tArrayListCreate();
|
||||
uint32_tArrayListResize(list, 1);
|
||||
|
||||
malloc(0);
|
||||
}
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#pragma once
|
||||
#include "stdlib.h"
|
||||
#include "stdint.h"
|
||||
|
||||
#define GN_ARRAY_LIST_HEADER(type)\
|
||||
typedef struct type##ArrayList_t* type##ArrayList; \
|
||||
|
Reference in New Issue
Block a user