diff options
Diffstat (limited to 'source/kit/dynamic_array.h')
-rw-r--r-- | source/kit/dynamic_array.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/kit/dynamic_array.h b/source/kit/dynamic_array.h index dbb18d9..df7b933 100644 --- a/source/kit/dynamic_array.h +++ b/source/kit/dynamic_array.h @@ -101,6 +101,10 @@ void kit_da_resize_exact(kit_da_void_t *array, i64 element_size, KIT_DA_RESIZE((array_), (array_).size - 1); \ } while (0) +#ifdef __cplusplus +} +#endif + #ifndef KIT_DISABLE_SHORT_NAMES # define da_void_t kit_da_void_t # define da_init kit_da_init @@ -117,8 +121,4 @@ void kit_da_resize_exact(kit_da_void_t *array, i64 element_size, # define DA_ERASE KIT_DA_ERASE #endif -#ifdef __cplusplus -} -#endif - #endif |