From 8cf03bc5b6895568eb08be1415985a64793bb81c Mon Sep 17 00:00:00 2001 From: "kr.angelov" Date: Wed, 9 Oct 2013 12:08:51 +0000 Subject: 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 --- src/runtime/c/gu/exn.h | 2 +- src/runtime/c/gu/utf8.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/runtime/c/gu') 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 == ' '); -- cgit v1.2.3