From c54af1b6644216335361e61e770037aca1527756 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Mon, 6 Jul 2009 16:37:44 +0000 Subject: New GL C++ wrapper. --- tests/tests.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'tests/tests.h') diff --git a/tests/tests.h b/tests/tests.h index fcb9ad9..30d4002 100644 --- a/tests/tests.h +++ b/tests/tests.h @@ -22,6 +22,11 @@ #include #include +#ifdef __cplusplus +/* We've been included from a C++ file; mark everything here as extern "C" */ +extern "C" { +#endif + /* * Convenience */ @@ -53,3 +58,7 @@ void dmnsn_display_frame(dmnsn_display *display); /* Print a progress bar of the progress of `progress' */ void progressbar(const char *str, const dmnsn_progress *progress); + +#ifdef __cplusplus +} +#endif -- cgit v1.2.3