chiark / gitweb /
Added C++ wrappers for some of the newer .h files
[wiringPi.git] / wiringPi / softPwm.h
index 4a17cb0ef186788aff8b6c4d15742fa38872a1a4..28ad29960f54c576ad86aee084501550ddc949c1 100644 (file)
  ***********************************************************************
  */
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 extern int  softPwmCreate (int pin, int value, int range) ;
 extern void softPwmWrite  (int pin, int value) ;
+
+#ifdef __cplusplus
+}
+#endif