3dphotoshoot
diff src/camera.h @ 21:4ca4e3c5a754
port to C++ completed, shader programs now use the SdrProg class
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Thu, 11 Jun 2015 04:56:33 +0300 |
parents | d1b456d08713 |
children | ac80210d5fbe |
line diff
1.1 --- a/src/camera.h Thu Jun 11 02:53:43 2015 +0300 1.2 +++ b/src/camera.h Thu Jun 11 04:56:33 2015 +0300 1.3 @@ -11,6 +11,10 @@ 1.4 }; 1.5 #endif 1.6 1.7 +#ifdef __cplusplus 1.8 +extern "C" { 1.9 +#endif 1.10 + 1.11 int cam_init(void *platform_data); 1.12 void cam_shutdown(void); 1.13 1.14 @@ -26,4 +30,8 @@ 1.15 1.16 int cam_take_picture(void); 1.17 1.18 +#ifdef __cplusplus 1.19 +} 1.20 +#endif 1.21 + 1.22 #endif /* CAMERA_H_ */