[libobjc/ChangeLog]
2004-08-13 Ziemowit Laski <zlaski@apple.com>
* objc/sarray.h: Hoist include of assert.h near the top of file,
and mark the remainder of the file 'extern "C"'.
From-SVN: r85971
+2004-08-13 Ziemowit Laski <zlaski@apple.com>
+
+ * objc/sarray.h: Hoist include of assert.h near the top of file,
+ and mark the remainder of the file 'extern "C"'.
+
2004-08-13 Andrew Pinski <pinskia@physics.uc.edu>
* objc/Object.h: Move includes out of extern "C" blocks.
#endif
#include <stddef.h>
+#include <assert.h>
#ifdef __cplusplus
extern "C" {
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)
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*);