diff options
author | Tavian Barnes <tavianator@gmail.com> | 2009-07-06 16:37:44 +0000 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2009-07-06 16:37:44 +0000 |
commit | c54af1b6644216335361e61e770037aca1527756 (patch) | |
tree | 206f7b14798cec287f8f6112b29840664aaf5758 /tests/tests.h | |
parent | 4922d448896abe5330f106f21fd6a3b0651ae9eb (diff) | |
download | dimension-c54af1b6644216335361e61e770037aca1527756.tar.xz |
New GL C++ wrapper.
Diffstat (limited to 'tests/tests.h')
-rw-r--r-- | tests/tests.h | 9 |
1 files changed, 9 insertions, 0 deletions
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 <GL/gl.h> #include <stdio.h> +#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 |