3dphotoshoot
diff src/game.h @ 20:c14613d27a3a
writing a C++ shader class for this
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Thu, 11 Jun 2015 02:53:43 +0300 |
parents | a4bf2687e406 |
children | d7fe157c402d |
line diff
1.1 --- a/src/game.h Wed Jun 10 22:28:48 2015 +0300 1.2 +++ b/src/game.h Thu Jun 11 02:53:43 2015 +0300 1.3 @@ -1,6 +1,10 @@ 1.4 #ifndef GAME_H_ 1.5 #define GAME_H_ 1.6 1.7 +#ifdef __cplusplus 1.8 +extern "C" { 1.9 +#endif 1.10 + 1.11 int game_init(void); 1.12 void game_shutdown(void); 1.13 1.14 @@ -15,5 +19,9 @@ 1.15 void set_mouse_pos(int x, int y); 1.16 void set_mouse_cursor(int enable); 1.17 1.18 +#ifdef __cplusplus 1.19 +} 1.20 +#endif 1.21 + 1.22 #endif /* GAME_H_ */ 1.23