diff options
Diffstat (limited to 'libobjc/objc/sarray.h')
-rw-r--r-- | libobjc/objc/sarray.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/libobjc/objc/sarray.h b/libobjc/objc/sarray.h index 535c6cc..4965839 100644 --- a/libobjc/objc/sarray.h +++ b/libobjc/objc/sarray.h @@ -42,6 +42,7 @@ extern const char* __objc_sparse3_id; #endif #include <stddef.h> +#include <assert.h> #ifdef __cplusplus extern "C" { @@ -52,13 +53,6 @@ extern int nindices; extern int narrays; extern int idxsize; -#ifdef __cplusplus -} -#endif /* __cplusplus */ - - -#include <assert.h> - /* An unsigned integer of same size as a pointer */ #define SIZET_BITS (sizeof(size_t)*8) @@ -151,10 +145,6 @@ struct sarray { size_t capacity; }; -#ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ - struct sarray* sarray_new(int, void* default_element); void sarray_free(struct sarray*); struct sarray* sarray_lazy_copy(struct sarray*); |