From 348e1876d25320e6480f2795c9388b2bc080c743 Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Sun, 7 Mar 2021 12:16:12 -0500 Subject: text entry, with cursor, but no keyboard --- src/user/include/knob/format.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/user/include/knob') 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 #include @@ -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 -- cgit v1.2.3