radare2/libr/util/t/array.c
pancake 9efe88a9ce * Fix offbyone in asm.brainbuck bug
* Fix some segfaults and issues in r_magic
* Use the libr/socket/http library
* Added r_io_http plugin
* Magic search is extremely slow
2011-10-07 01:16:45 +02:00

28 lines
374 B
C

/* radare - LGPL - Copyright 2009-2011 pancake<nopcode.org> */
#include "r_util.h"
int test_flist () {
int i;
void **it = r_flist_new (3);
char *pos = NULL;
for (i=0;i<9999;i++) {
r_flist_set (it, i, "foo");
}
r_flist_delete (it, 1);
r_flist_foreach (it, pos) {
printf("%s\n", pos);
}
r_flist_free(it);
return 0;
}
int main() {
return test_flist();
}