Update array & list (extra) foreach symbols
This commit is contained in:
+1
-1
@@ -76,7 +76,7 @@ ssize_t libcdsb_array_get(val_t* x, arr_t* s, ssize_t i, _Bool cut) {
|
||||
|
||||
/*#####################################################################################################################*/
|
||||
|
||||
int array_foreach(vtype_array* x, int (*callback)(void* value, ssize_t index, vtype type)) {
|
||||
int libcdsb_array_foreach(vtype_array* x, int (*callback)(void* value, ssize_t index, vtype type)) {
|
||||
|
||||
void* p;
|
||||
void* e;
|
||||
|
||||
+1
-1
@@ -163,7 +163,7 @@ _Bool libcdsb_list_update(list_t* x, ssize_t i, const void* v, vtype t, int ins)
|
||||
/*#####################################################################################################################*/
|
||||
|
||||
|
||||
int list_foreach(const vtype_list* x, int (*callback)(void* value, ssize_t index, vtype type)) {
|
||||
int libcdsb_list_foreach(const vtype_list* x, int (*callback)(void* value, ssize_t index, vtype type)) {
|
||||
|
||||
lnode_t* c;
|
||||
size_t n;
|
||||
|
||||
Reference in New Issue
Block a user