diff options
author | quou <quou@disroot.org> | 2024-07-13 23:46:14 +1000 |
---|---|---|
committer | quou <quou@disroot.org> | 2024-07-13 23:46:31 +1000 |
commit | d7160d62b5d78e9191b4d61d7f491deb728cb478 (patch) | |
tree | 0bbb087df0fa32b2e47f00d8fc602f4921eec5a7 /standard.h | |
parent | a43eb70ebe7844db0a4ffece47c22ae12384781b (diff) |
Model loading and basic lighting.
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 |