]> git.lizzy.rs Git - shadowclad.git/blob - src/engine/string.h
edd6508e0d952196bde7aa9890fd5d676dd06211
[shadowclad.git] / src / engine / string.h
1 #ifndef ENGINE_STRING_H_
2 #define ENGINE_STRING_H_
3
4 #include <assimp/types.h>
5
6 typedef struct String String;
7
8 struct String {
9         size_t length;
10         char* cstr;
11 };
12
13 String stringFromAiString(const struct aiString aistr);
14 void dropString(String str);
15
16 #endif // ENGINE_STRING_H_