aboutsummaryrefslogtreecommitdiff
path: root/Converter/includes/array.h
diff options
context:
space:
mode:
authordx <aryadevchavali1@gmail.com>2020-05-22 21:13:57 +0100
committerdx <aryadevchavali1@gmail.com>2020-05-22 21:13:57 +0100
commited3c71373307909d20f0ea44adf06dc7e433bc6e (patch)
tree0d8f6ed21847978d1cc287d07d50f226446c0781 /Converter/includes/array.h
parentb8dc50fb1c784f909b116915f4f86013fa8a84ec (diff)
downloadmdhtml-ed3c71373307909d20f0ea44adf06dc7e433bc6e.tar.gz
mdhtml-ed3c71373307909d20f0ea44adf06dc7e433bc6e.tar.bz2
mdhtml-ed3c71373307909d20f0ea44adf06dc7e433bc6e.zip
~array_init now uses pointer to an array pointer
This means that the pointer that I allocate can actually be used.
Diffstat (limited to 'Converter/includes/array.h')
-rw-r--r--Converter/includes/array.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Converter/includes/array.h b/Converter/includes/array.h
index 003b1fd..7f96e57 100644
--- a/Converter/includes/array.h
+++ b/Converter/includes/array.h
@@ -10,7 +10,7 @@ typedef struct
size_t sz_used;
} array_t;
-void array_init(array_t *arr);
+void array_init(array_t **arr);
void array_append(array_t *arr, void *item);
void *array_read(array_t *arr, int index);