summaryrefslogtreecommitdiff
path: root/src/user/include/knob
diff options
context:
space:
mode:
authorBenji Dial <benji6283@gmail.com>2021-03-07 12:16:12 -0500
committerBenji Dial <benji6283@gmail.com>2021-03-07 12:16:12 -0500
commit348e1876d25320e6480f2795c9388b2bc080c743 (patch)
tree29fef9fa2a85ecd9565ea4a3cf78dba15c960750 /src/user/include/knob
parent76e39eac8cee2175ec62a191f7c91ca53857e80c (diff)
downloadportland-os-348e1876d25320e6480f2795c9388b2bc080c743.tar.gz
text entry, with cursor, but no keyboard
Diffstat (limited to 'src/user/include/knob')
-rw-r--r--src/user/include/knob/format.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/user/include/knob/format.h b/src/user/include/knob/format.h
index fed31c7..6ce7aad 100644
--- a/src/user/include/knob/format.h
+++ b/src/user/include/knob/format.h
@@ -1,6 +1,10 @@
#ifndef KNOB_FORMAT_H
#define KNOB_FORMAT_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#include <knob/heap.h>
#include <stdint.h>
@@ -26,4 +30,8 @@ uint32_t try_swtou(const char *from, uint32_t *i_out);
//returns 0 on failure
uint32_t try_swtoh(const char *from, uint32_t *i_out);
+#ifdef __cplusplus
+}
+#endif
+
#endif \ No newline at end of file