chiark / gitweb /
Added C++ wrappers for some of the newer .h files
[wiringPi.git] / wiringPi / piNes.h
index b76c415110029df9eb1a0b3323f0481ab62ab44b..897f1815915e83b7572a0ae61f29b1cad51bf76b 100644 (file)
 #define        NES_B           0x40
 #define        NES_A           0x80
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 extern int          setupNesJoystick (int dPin, int cPin, int lPin) ;
 extern unsigned int  readNesJoystick (int joystick) ;
+
+#ifdef __cplusplus
+}
+#endif