summaryrefslogtreecommitdiff
path: root/src/str.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/str.h')
-rw-r--r--src/str.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/str.h b/src/str.h
index 39bddf6..bfe5867 100644
--- a/src/str.h
+++ b/src/str.h
@@ -20,16 +20,16 @@ typedef struct str_info_s str_info;
#define EMPTY_STR_INFO ((str_info) { 0, 1 })
-str_info get_info(str *, UNUM);
+str_info get_info(const str * const restrict s, UNUM n);
-char *get_data(str *s);
+char *get_data(const str * const restrict s);
-NUM str_length(str *);
+NUM str_length(const str * const restrict s);
void str_set_length(str *s, UNUM size);
void change_str_content(str *, char *, NUM);
-unsigned char copy_str(str *dest, str *source);
+BOOL copy_str(str *dest, str *source);
#endif