isl_list.h: allow inclusion from C++
authorSven Verdoolaege <skimo@kotnet.org>
Sat, 30 Apr 2011 14:37:10 +0000 (16:37 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Sat, 30 Apr 2011 14:37:10 +0000 (16:37 +0200)
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
include/isl/list.h

index 77926c6..caef4c9 100644 (file)
 
 #include <isl/ctx.h>
 
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
 struct isl_basic_set;
 
 struct isl_basic_set_list {
@@ -30,4 +34,8 @@ struct isl_basic_set_list *isl_basic_set_list_add(
        struct isl_basic_set_list *list,
        struct isl_basic_set *bset);
 
+#if defined(__cplusplus)
+}
+#endif
+
 #endif