diff options
Diffstat (limited to 'src/util/util.h')
-rw-r--r-- | src/util/util.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/util/util.h b/src/util/util.h index d6cdd20..0b6bc15 100644 --- a/src/util/util.h +++ b/src/util/util.h @@ -29,6 +29,9 @@ void * kai_expand_array(void **array, size_t *len, size_t element_size); * in the string to convert, this is the same as `count`. If not, it is the number of * actual elements present in the string. */ -int kai_text_to_reals(ka_real_t *dest, const char *str, size_t count); +size_t kai_text_to_reals(ka_real_t *dest, const char *str, size_t count); + + +size_t kai_text_to_longs(long *dest, const char *str, size_t count); #endif |