fixed some errors

This commit is contained in:
Odweta
2024-02-06 22:04:47 +01:00
parent e40b61a21b
commit f9e820efbc
10 changed files with 355 additions and 355 deletions
+6 -6
View File
@@ -12,16 +12,16 @@ string_t *string_new(); // create a new e
string_t *string_from(char *chars); // create a new string from a given char_sequence
bool string_push_chars(string_t *this, char *chars); // append a char_sequence to a string
bool string_push(string_t *this, string_t *other); // append a string to a string
bool_t string_push_chars(string_t *self, char *chars); // append a char_sequence to a string
bool_t string_push(string_t *self, string_t *other); // append a string to a string
compare_e string_compare(string_t *left, string_t* right); // compare two strings
void string_print(string_t *this); // print a string
void string_println(string_t *this); // print a string with a \n
void string_print(string_t *self); // print a string
void string_println(string_t *self); // print a string with a \n
bool string_is_empty(string_t *this); // return true when s->content == ""
bool_t string_is_empty(string_t *self); // return true when s->content == ""
void string_cleanup(string_t *this); // memory cleanup
void string_cleanup(string_t *self); // memory cleanup
#endif