From 22f44ef61f99acdec5d19f336bb80f6bb3a4e8b7 Mon Sep 17 00:00:00 2001 From: "kr.angelov" Date: Wed, 1 May 2013 06:09:55 +0000 Subject: word completion in the C runtime. The runtime/python/test.py example is now using readline with word completion --- src/runtime/c/gu/string.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/runtime/c/gu/string.h') 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_) -- cgit v1.2.3