separated devices
[mTask.git] / client / task.h
index a6c02b7..6542b1c 100644 (file)
@@ -3,6 +3,10 @@
 
 #define MAXTASKSIZE 1024
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #include <stdint.h>
 #include <stdbool.h>
 
@@ -22,4 +26,7 @@ void task_register(void);
 void task_delete(void);
 struct task *task_get(int num);
 
+#ifdef __cplusplus
+}
+#endif
 #endif