aboutsummaryrefslogtreecommitdiff
path: root/str.h
blob: f6479cca8b68131792ab661c72a7fb8a130a124c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef str_h
#define str_h

struct Arena;

int string_equal(const char* a, const char* b);
int string_copy(char* dst, const char* src);
int string_len(const char* s);
char* dup_string(struct Arena* a, const char* s);

int int_to_buf(int n, char* buf);
int f_to_buf(int f, char* buf);

#endif