blob: 2f82e4077e626d881b92094d577337685e8320a0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#ifndef standard_h
#define standard_h
#define no_mangle extern "C"
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);
/* Not safe! */
int f_to_buf(int f, char* buf);
int int_to_buf(int n, char* buf);
#endif
|