summaryrefslogtreecommitdiff
path: root/src/runtime/c/gu
diff options
context:
space:
mode:
authorkr.angelov <kr.angelov@gmail.com>2013-10-09 12:08:51 +0000
committerkr.angelov <kr.angelov@gmail.com>2013-10-09 12:08:51 +0000
commit8cf03bc5b6895568eb08be1415985a64793bb81c (patch)
tree814e95e1b0422362066fef389e8b03741e8478ad /src/runtime/c/gu
parent20e4970ec19949da10b86facd3c6a5a4abb03acb (diff)
a major redesign in the C runtime. The parser and the linearizer now fully support BIND. The following things are still broken: parseval, word completion, handling 'pre', the robust mode
Diffstat (limited to 'src/runtime/c/gu')
-rw-r--r--src/runtime/c/gu/exn.h2
-rw-r--r--src/runtime/c/gu/utf8.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/c/gu/exn.h b/src/runtime/c/gu/exn.h
index 9ee70438a..c043c4b8a 100644
--- a/src/runtime/c/gu/exn.h
+++ b/src/runtime/c/gu/exn.h
@@ -91,7 +91,7 @@ gu_exn_clear(GuExn* err) {
GuType*
gu_exn_caught(GuExn* err);
-inline const void*
+static inline const void*
gu_exn_caught_data(GuExn* err)
{
return err->data.data;
diff --git a/src/runtime/c/gu/utf8.h b/src/runtime/c/gu/utf8.h
index 3118c4071..db7dccaf9 100644
--- a/src/runtime/c/gu/utf8.h
+++ b/src/runtime/c/gu/utf8.h
@@ -37,7 +37,7 @@ gu_utf8_decode(const uint8_t** utf8);
void
gu_in_utf8_buf(uint8_t** buf, GuIn* in, GuExn* err);
-bool
+static inline bool
gu_is_space(uint8_t c) {
return (c == '\t' || c == '\n' || c == '\v' ||
c == '\f' || c == '\r' || c == ' ');