diff options
Diffstat (limited to 'standard.h')
-rw-r--r-- | standard.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/standard.h b/standard.h new file mode 100644 index 0000000..8d58e78 --- /dev/null +++ b/standard.h @@ -0,0 +1,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 |