summaryrefslogtreecommitdiff
path: root/toxcore/list.h
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/list.h')
-rw-r--r--toxcore/list.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/toxcore/list.h b/toxcore/list.h
index 8c6ddbf3..628b46a0 100644
--- a/toxcore/list.h
+++ b/toxcore/list.h
@@ -28,12 +28,12 @@
28 28
29#include <stdint.h> 29#include <stdint.h>
30 30
31typedef struct { 31typedef struct BS_List {
32 uint32_t n; //number of elements 32 uint32_t n; // number of elements
33 uint32_t capacity; //number of elements memory is allocated for 33 uint32_t capacity; // number of elements memory is allocated for
34 uint32_t element_size; //size of the elements 34 uint32_t element_size; // size of the elements
35 uint8_t *data; //array of elements 35 uint8_t *data; // array of elements
36 int *ids; //array of element ids 36 int *ids; // array of element ids
37} BS_List; 37} BS_List;
38 38
39/* Initialize a list, element_size is the size of the elements in the list and 39/* Initialize a list, element_size is the size of the elements in the list and