16 lines
322 B
C
16 lines
322 B
C
#ifndef _BLUELIB_ARRAY_H_
|
|
#define _BLUELIB_ARRAY_H_
|
|
|
|
#include "../object.h"
|
|
|
|
struct b_array {
|
|
struct b_object ar_base;
|
|
/* number of items in array */
|
|
unsigned int ar_len;
|
|
/* maximum number of items that can currently be stored in array */
|
|
unsigned int ar_cap;
|
|
struct b_object **ar_data;
|
|
};
|
|
|
|
#endif
|