diff options
Diffstat (limited to 'src/runtime/c/gu/string.h')
| -rw-r--r-- | src/runtime/c/gu/string.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/runtime/c/gu/string.h b/src/runtime/c/gu/string.h index d6bb11b58..b041518b3 100644 --- a/src/runtime/c/gu/string.h +++ b/src/runtime/c/gu/string.h @@ -63,6 +63,12 @@ gu_format_string(GuPool* pool, const char* fmt, ...); GuString gu_str_string(const char* str, GuPool* pool); +bool +gu_string_to_int(GuString s, int *res); + +bool +gu_string_to_double(GuString s, double *res); + #endif // GU_STRING_H_ #if defined(GU_HASH_H_) && !defined(GU_STRING_H_HASH_) |
