aboutsummaryrefslogtreecommitdiffstats
path: root/darray.h
diff options
context:
space:
mode:
Diffstat (limited to 'darray.h')
-rw-r--r--darray.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/darray.h b/darray.h
index 8d8f9e9..0ed64e2 100644
--- a/darray.h
+++ b/darray.h
@@ -8,16 +8,18 @@
#include <string.h>
#include <sys/types.h>
-//#include "debug.h"
-//#include "mmm.h"
+/*
+#include "debug.h"
+#include "mmm.h"
+*/
#define DEFAULT_EXPAND_RATE 10
typedef struct darray {
- int end; //element amount. end <= max
- int max; //maximal element number
- size_t size; //single element size
- size_t expand; //expand size
+ int end; /*element amount. end <= max */
+ int max; /*maximal element number */
+ size_t size; /*single element size */
+ size_t expand; /*expand size */
void **data;
} darray;