summaryrefslogtreecommitdiff
path: root/src/runtime/c/gu/string.h
diff options
context:
space:
mode:
authorkr.angelov <kr.angelov@gmail.com>2013-05-01 06:09:55 +0000
committerkr.angelov <kr.angelov@gmail.com>2013-05-01 06:09:55 +0000
commit22f44ef61f99acdec5d19f336bb80f6bb3a4e8b7 (patch)
tree4ee1496edc1c5df1b11464ce8425071c3ef11994 /src/runtime/c/gu/string.h
parent41bccf5737544a6981dc6a17bb4bb8116ace7937 (diff)
word completion in the C runtime. The runtime/python/test.py example is now using readline with word completion
Diffstat (limited to 'src/runtime/c/gu/string.h')
-rw-r--r--src/runtime/c/gu/string.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/runtime/c/gu/string.h b/src/runtime/c/gu/string.h
index b041518b3..37cb56ac2 100644
--- a/src/runtime/c/gu/string.h
+++ b/src/runtime/c/gu/string.h
@@ -69,6 +69,10 @@ gu_string_to_int(GuString s, int *res);
bool
gu_string_to_double(GuString s, double *res);
+
+bool
+gu_string_is_prefix(GuString s1, GuString s2);
+
#endif // GU_STRING_H_
#if defined(GU_HASH_H_) && !defined(GU_STRING_H_HASH_)