meta: rename legacy object module to 'ds'
This commit is contained in:
20
ds-test/arrays.c
Normal file
20
ds-test/arrays.c
Normal file
@@ -0,0 +1,20 @@
|
||||
#include <blue/ds/array.h>
|
||||
#include <blue/ds/number.h>
|
||||
#include <stdio.h>
|
||||
|
||||
int main(void)
|
||||
{
|
||||
b_array *array = b_array_create();
|
||||
b_array_append(array, B_RV_INT(32));
|
||||
b_array_append(array, B_RV_INT(64));
|
||||
b_array_append(array, B_RV_INT(128));
|
||||
|
||||
b_array_iterator it;
|
||||
b_array_foreach(&it, array)
|
||||
{
|
||||
printf("object %p\n", it.value);
|
||||
}
|
||||
|
||||
b_array_release(array);
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user