blob: e05c8e683edb99b061f2dd7a539359781f7c378c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
$NetBSD: patch-aa,v 1.1 2007/09/21 13:00:18 wiz Exp $
--- art_misc.h.orig 2007-03-01 18:50:10.000000000 +0100
+++ art_misc.h
@@ -34,10 +34,18 @@
#include <libart_lgpl/art_config.h>
#endif
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
void *art_alloc(size_t size);
void art_free(void *ptr);
void *art_realloc(void *ptr, size_t size);
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
/* These aren't, strictly speaking, configuration macros, but they're
damn handy to have around, and may be worth playing with for
debugging. */
|