Improve flags in string library
This commit is contained in:
@@ -1,5 +1,19 @@
|
||||
#include "core.h"
|
||||
/*
|
||||
@todo
|
||||
- Rewrite OS_ListDir, no weird flags and conventions, [relative, absolute, is_dir]
|
||||
- add c++ default args using macros
|
||||
- Rework string flags
|
||||
- String should use allocator instead of arena?
|
||||
- Maybe remove completely null termination from S8_String, I think it might complicate and is error prone because one can sometimes assume it's null terminated and it isn't
|
||||
- Maybe create a nice C++ binding for strings,
|
||||
- also add String Arrays and String Builder, temp allocators hook ins for nicer api
|
||||
- Iterating over unicode codepoints using For
|
||||
- Redesign clexer because the Arena Tuple is hella weird
|
||||
- Maybe remove token array stuff, do standard stream thing, then you need one arena ...
|
||||
- Add filter stuff so we can get includes / comments / normal tokens etc.
|
||||
*/
|
||||
|
||||
#include "core.h"
|
||||
#define STB_SPRINTF_IMPLEMENTATION
|
||||
#include "../standalone_libraries/stb_sprintf.h"
|
||||
#define IO_VSNPRINTF stbsp_vsnprintf
|
||||
@@ -20,3 +34,7 @@
|
||||
#include "../standalone_libraries/hash.c"
|
||||
#include "../standalone_libraries/load_library.c"
|
||||
#include "filesystem.c"
|
||||
|
||||
// #if LANG_CPP
|
||||
// #include "string.cpp"
|
||||
// #endif
|
||||
Reference in New Issue
Block a user