chiark / gitweb /
Added C++ wrappers for some of the newer .h files
[wiringPi.git] / wiringPi / lcd.h
index 094f5f50022ad7760764fe00072c9090f24a41fb..d4c724c0a757db0a2db881fb278fffbb10b81dc8 100644 (file)
@@ -33,5 +33,13 @@ extern void lcdPutchar  (int fd, uint8_t data) ;
 extern void lcdPuts     (int fd, char *string) ;
 extern void lcdPrintf   (int fd, char *message, ...) ;
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 extern int  lcdInit (int rows, int cols, int bits, int rs, int strb,
        int d0, int d1, int d2, int d3, int d4, int d5, int d6, int d7) ;
+
+#ifdef __cplusplus
+}
+#endif