diff options
author | Mitya Selivanov <automainint@guattari.tech> | 2024-02-16 02:37:41 +0100 |
---|---|---|
committer | Mitya Selivanov <automainint@guattari.tech> | 2024-02-16 02:37:41 +0100 |
commit | 23e63540f2d3ff6da230d1a29aecf33b49d2874d (patch) | |
tree | 46ce92001537d37dd9ef7a164880db1a97aa12b5 /source/kit/dynamic_array.h | |
parent | 34df687daf49b29e0f2b4d7e0be3bd69df1c40c9 (diff) | |
download | saw-23e63540f2d3ff6da230d1a29aecf33b49d2874d.zip |
Update kit
Diffstat (limited to 'source/kit/dynamic_array.h')
-rw-r--r-- | source/kit/dynamic_array.h | 27 |
1 files changed, 12 insertions, 15 deletions
diff --git a/source/kit/dynamic_array.h b/source/kit/dynamic_array.h index e868917..571f344 100644 --- a/source/kit/dynamic_array.h +++ b/source/kit/dynamic_array.h @@ -110,20 +110,17 @@ void kit_da_resize_exact(kit_da_void_t *array, i64 element_size, } #endif -#ifndef KIT_DISABLE_SHORT_NAMES -# define da_void_t kit_da_void_t -# define da_init kit_da_init -# define da_resize kit_da_resize - -# define DA KIT_DA -# define DA_INIT KIT_DA_INIT -# define DA_CREATE KIT_DA_CREATE -# define DA_DESTROY KIT_DA_DESTROY -# define DA_RESIZE KIT_DA_RESIZE -# define DA_RESIZE_EXACT KIT_DA_RESIZE_EXACT -# define DA_APPEND KIT_DA_APPEND -# define DA_INSERT KIT_DA_INSERT -# define DA_ERASE KIT_DA_ERASE -#endif +#define da_void_t kit_da_void_t +#define da_init kit_da_init +#define da_resize kit_da_resize +#define DA KIT_DA +#define DA_INIT KIT_DA_INIT +#define DA_CREATE KIT_DA_CREATE +#define DA_DESTROY KIT_DA_DESTROY +#define DA_RESIZE KIT_DA_RESIZE +#define DA_RESIZE_EXACT KIT_DA_RESIZE_EXACT +#define DA_APPEND KIT_DA_APPEND +#define DA_INSERT KIT_DA_INSERT +#define DA_ERASE KIT_DA_ERASE #endif |