15 lines
378 B
C
15 lines
378 B
C
#ifndef ZRE_STR_H
|
|
#define ZRE_STR_H
|
|
|
|
#include "common.h"
|
|
|
|
bool streq(const char *s1, const char *s2);
|
|
i32 strcopy(char* to, const char *from, u32 length);
|
|
u32 strlength(const char *str);
|
|
u32 strnlength(const char *str, u32 max_len);
|
|
void nat_to_string(u32 value, char *buffer);
|
|
void int_to_string(i32 value, char *buffer);
|
|
void fixed_to_string(i32 value, char *buffer);
|
|
|
|
#endif
|