games/sail/array.h
137
#define DECLARRAY_BYTYPE(ARRAY, T) \
games/sail/array.h
142
struct ARRAY *ARRAY##_create(void); \
games/sail/array.h
143
void ARRAY##_destroy(struct ARRAY *a); \
games/sail/array.h
144
void ARRAY##_init(struct ARRAY *a); \
games/sail/array.h
145
void ARRAY##_cleanup(struct ARRAY *a); \
games/sail/array.h
146
unsigned ARRAY##_num(const struct ARRAY *a); \
games/sail/array.h
147
T *ARRAY##_get(const struct ARRAY *a, unsigned index_); \
games/sail/array.h
148
void ARRAY##_set(struct ARRAY *a, unsigned index_, T *val); \
games/sail/array.h
149
int ARRAY##_setsize(struct ARRAY *a, unsigned num); \
games/sail/array.h
150
int ARRAY##_add(struct ARRAY *a, T *val, unsigned *index_ret); \
games/sail/array.h
151
int ARRAY##_insert(struct ARRAY *a, unsigned index_); \
games/sail/array.h
152
void ARRAY##_remove(struct ARRAY *a, unsigned index_)
games/sail/array.h
155
#define DEFARRAY_BYTYPE(ARRAY, T, INLINE) \
games/sail/array.h
157
ARRAY##_init(struct ARRAY *a) \
games/sail/array.h
163
ARRAY##_cleanup(struct ARRAY *a) \
games/sail/array.h
169
ARRAY *ARRAY##_create(void) \
games/sail/array.h
171
struct ARRAY *a; \
games/sail/array.h
177
ARRAY##_init(a); \
games/sail/array.h
182
ARRAY##_destroy(struct ARRAY *a) \
games/sail/array.h
184
ARRAY##_cleanup(a); \
games/sail/array.h
189
ARRAY##_num(const struct ARRAY *a) \
games/sail/array.h
195
ARRAY##_get(const struct ARRAY *a, unsigned index_) \
games/sail/array.h
201
ARRAY##_set(struct ARRAY *a, unsigned index_, T *val) \
games/sail/array.h
207
ARRAY##_setsize(struct ARRAY *a, unsigned num) \
games/sail/array.h
213
ARRAY##_add(struct ARRAY *a, T *val, unsigned *ret) \
games/sail/array.h
219
ARRAY##_insert(struct ARRAY *a, unsigned index_) \
games/sail/array.h
225
ARRAY##_remove(struct ARRAY *a, unsigned index_) \