summaryrefslogtreecommitdiff
path: root/standard.h
blob: 8d58e7876da01790cf180fb25f1bcfbcc5586859 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef standard_h
#define standard_h

#define no_mangle extern "C"

int string_equal(const char* a, const char* b);
int string_copy(char* dst, const char* src);

/* Not safe! */
int f_to_buf(int f, char* buf);
int int_to_buf(int n, char* buf);

#endif