All headers except the recently added schedule.h header include an extern C
declaration. Add the same declaration to schedule.h to allow flawless inclusion
in C++ programs.
Signed-off-by: Tobias Grosser <tobias@grosser.es>
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
#include <isl/union_set.h>
#include <isl/union_map.h>
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
struct isl_schedule;
typedef struct isl_schedule isl_schedule;
__isl_give isl_union_map *isl_schedule_get_band(__isl_keep isl_schedule *sched,
unsigned band);
+#if defined(__cplusplus)
+}
+#endif
+
#endif