diff options
Diffstat (limited to 'display.h')
-rw-r--r-- | display.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -3,6 +3,10 @@ #include <cairo.h> +#ifdef __cplusplus +extern "C" { +#endif + #define SCALE_SCREEN 1.0 #define SCALE_PRINT (1.0 / get_screen_dpi()) @@ -63,4 +67,8 @@ struct options { extern char zoomed_plot, dc_number; +#ifdef __cplusplus +} +#endif + #endif |