From e9bfffed36cc362a4a2655fbc6f1fd3d7798ab32 Mon Sep 17 00:00:00 2001 From: Wang Renxin Date: Tue, 27 Oct 2015 11:25:18 +0800 Subject: [PATCH] +added an mb_init_coll function. --- core/my_basic.h | 1 + 1 file changed, 1 insertion(+) diff --git a/core/my_basic.h b/core/my_basic.h index 9f5c209..fda10c1 100755 --- a/core/my_basic.h +++ b/core/my_basic.h @@ -385,6 +385,7 @@ MBAPI int mb_init_array(struct mb_interpreter_t* s, void** l, mb_data_e t, int* MBAPI int mb_get_array_len(struct mb_interpreter_t* s, void** l, void* a, int r, int* i); MBAPI int mb_get_array_elem(struct mb_interpreter_t* s, void** l, void* a, int* d, int c, mb_value_t* val); MBAPI int mb_set_array_elem(struct mb_interpreter_t* s, void** l, void* a, int* d, int c, mb_value_t val); +MBAPI int mb_init_coll(struct mb_interpreter_t* s, void** l, mb_value_t* coll); MBAPI int mb_get_coll(struct mb_interpreter_t* s, void** l, mb_value_t coll, mb_value_t idx, mb_value_t* val); MBAPI int mb_set_coll(struct mb_interpreter_t* s, void** l, mb_value_t coll, mb_value_t idx, mb_value_t val); MBAPI int mb_remove_coll(struct mb_interpreter_t* s, void** l, mb_value_t coll, mb_value_t idx);