95typedef struct as_arraylist_s {
136typedef enum as_arraylist_status_e {
177#define as_arraylist_inita(__list, __n)\
178 as_arraylist_init((__list), 0, 0);\
179 (__list)->free = false;\
180 (__list)->capacity = (__n);\
182 (__list)->elements = (as_val**) alloca(sizeof(as_val*) * (__n));
AS_EXTERN int as_arraylist_insert(as_arraylist *list, uint32_t index, as_val *value)
AS_EXTERN int as_arraylist_append(as_arraylist *list, as_val *value)
AS_EXTERN int as_arraylist_prepend(as_arraylist *list, as_val *value)
AS_EXTERN int as_arraylist_set(as_arraylist *list, uint32_t index, as_val *value)
AS_EXTERN as_val * as_arraylist_get(const as_arraylist *list, uint32_t index)
static as_bytes * as_bytes_fromval(const as_val *v)
static as_double * as_double_fromval(const as_val *value)
static as_integer * as_integer_fromval(const as_val *v)
static as_list * as_list_fromval(as_val *v)
bool(* as_list_foreach_callback)(as_val *value, void *udata)
static as_map * as_map_fromval(const as_val *val)
static as_string * as_string_fromval(const as_val *v)
AS_EXTERN int as_arraylist_concat(as_arraylist *list, const as_arraylist *list2)
static int as_arraylist_append_map(as_arraylist *list, as_map *value)
static int as_arraylist_append_list(as_arraylist *list, as_list *value)
static int as_arraylist_set_as_double(as_arraylist *list, uint32_t index, as_double *value)
AS_EXTERN int as_arraylist_insert(as_arraylist *list, uint32_t index, as_val *value)
static int as_arraylist_append_integer(as_arraylist *list, as_integer *value)
static int as_arraylist_prepend_map(as_arraylist *list, as_map *value)
AS_EXTERN int as_arraylist_set_int64(as_arraylist *list, uint32_t index, int64_t value)
static int as_arraylist_append_string(as_arraylist *list, as_string *value)
AS_EXTERN char * as_arraylist_get_str(const as_arraylist *list, uint32_t index)
static int as_arraylist_set_integer(as_arraylist *list, uint32_t index, as_integer *value)
static int as_arraylist_append_bytes(as_arraylist *list, as_bytes *value)
AS_EXTERN int as_arraylist_append_double(as_arraylist *list, double value)
AS_EXTERN int as_arraylist_set_str(as_arraylist *list, uint32_t index, const char *value)
static int as_arraylist_insert_map(as_arraylist *list, uint32_t index, as_map *value)
static as_string * as_arraylist_get_string(const as_arraylist *list, uint32_t index)
AS_EXTERN int as_arraylist_append(as_arraylist *list, as_val *value)
static as_bytes * as_arraylist_get_bytes(const as_arraylist *list, uint32_t index)
static as_list * as_arraylist_get_list(const as_arraylist *list, uint32_t index)
AS_EXTERN as_arraylist * as_arraylist_take(const as_arraylist *list, uint32_t n)
static int as_arraylist_insert_as_double(as_arraylist *list, uint32_t index, as_double *value)
AS_EXTERN int as_arraylist_insert_double(as_arraylist *list, uint32_t index, double value)
static as_map * as_arraylist_get_map(const as_arraylist *list, uint32_t index)
AS_EXTERN int as_arraylist_insert_str(as_arraylist *list, uint32_t index, const char *value)
AS_EXTERN int as_arraylist_append_str(as_arraylist *list, const char *value)
AS_EXTERN double as_arraylist_get_double(const as_arraylist *list, uint32_t index)
static int as_arraylist_append_as_double(as_arraylist *list, as_double *value)
static int as_arraylist_set_map(as_arraylist *list, uint32_t index, as_map *value)
static int as_arraylist_set_bytes(as_arraylist *list, uint32_t index, as_bytes *value)
AS_EXTERN int as_arraylist_trim(as_arraylist *list, uint32_t index)
AS_EXTERN as_arraylist * as_arraylist_new(uint32_t capacity, uint32_t block_size)
static int as_arraylist_set_list(as_arraylist *list, uint32_t index, as_list *value)
AS_EXTERN int as_arraylist_prepend_int64(as_arraylist *list, int64_t value)
AS_EXTERN int as_arraylist_set_double(as_arraylist *list, uint32_t index, double value)
static int as_arraylist_insert_bytes(as_arraylist *list, uint32_t index, as_bytes *value)
AS_EXTERN int as_arraylist_prepend(as_arraylist *list, as_val *value)
static int as_arraylist_prepend_bytes(as_arraylist *list, as_bytes *value)
AS_EXTERN int as_arraylist_set(as_arraylist *list, uint32_t index, as_val *value)
AS_EXTERN int as_arraylist_prepend_double(as_arraylist *list, double value)
static int as_arraylist_prepend_list(as_arraylist *list, as_list *value)
static int as_arraylist_insert_integer(as_arraylist *list, uint32_t index, as_integer *value)
AS_EXTERN as_val * as_arraylist_head(const as_arraylist *list)
AS_EXTERN uint32_t as_arraylist_hashcode(const as_arraylist *list)
AS_EXTERN int as_arraylist_prepend_str(as_arraylist *list, const char *value)
AS_EXTERN uint32_t as_arraylist_size(const as_arraylist *list)
AS_EXTERN as_arraylist * as_arraylist_init(as_arraylist *list, uint32_t capacity, uint32_t block_size)
static int as_arraylist_prepend_integer(as_arraylist *list, as_integer *value)
static int as_arraylist_prepend_as_double(as_arraylist *list, as_double *value)
AS_EXTERN as_arraylist * as_arraylist_tail(const as_arraylist *list)
AS_EXTERN int as_arraylist_remove(as_arraylist *list, uint32_t index)
static int as_arraylist_prepend_string(as_arraylist *list, as_string *value)
static int as_arraylist_insert_string(as_arraylist *list, uint32_t index, as_string *value)
static int as_arraylist_insert_list(as_arraylist *list, uint32_t index, as_list *value)
AS_EXTERN bool as_arraylist_foreach(const as_arraylist *list, as_list_foreach_callback callback, void *udata)
static as_double * as_arraylist_get_as_double(const as_arraylist *list, uint32_t index)
AS_EXTERN int64_t as_arraylist_get_int64(const as_arraylist *list, uint32_t index)
AS_EXTERN as_val * as_arraylist_get(const as_arraylist *list, uint32_t index)
AS_EXTERN int as_arraylist_append_int64(as_arraylist *list, int64_t value)
AS_EXTERN as_arraylist * as_arraylist_drop(const as_arraylist *list, uint32_t n)
static as_integer * as_arraylist_get_integer(const as_arraylist *list, uint32_t index)
static int as_arraylist_set_string(as_arraylist *list, uint32_t index, as_string *value)
AS_EXTERN int as_arraylist_insert_int64(as_arraylist *list, uint32_t index, int64_t value)
AS_EXTERN void as_arraylist_destroy(as_arraylist *list)