diff options
Diffstat (limited to 'src/string.h')
| -rw-r--r-- | src/string.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/string.h b/src/string.h index 8aabeff..500f545 100644 --- a/src/string.h +++ b/src/string.h @@ -1,15 +1,15 @@ #ifndef STRING_H #define STRING_H -#include<stdbool.h> -#include<stddef.h> -#include<stdint.h> +#include"types.h" size_t stringlen(char *str); bool stringcmp(char *str1,char *str2); void stringcat(char *str1,char *str2); void stringrev(char *str); -void itos(char *str,uint32_t num); -uint32_t stoi(char *str); +void itos(uint32_t num,char *str); +uint32_t stoi(const char *str); +double stof(const char *str); +void ftos(double num, char *str); #endif |
