#ifndef TASK_H
#define TASK_H
-#define MAXTASKS 5
#define MAXTASKSIZE 1024
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#include <stdint.h>
#include <stdbool.h>
void task_delete(void);
struct task *task_get(int num);
+#ifdef __cplusplus
+}
+#endif
#endif