core_library to core
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
#define _CRT_SECURE_NO_WARNINGS
|
||||
#endif
|
||||
|
||||
#include "../core_library/core.c"
|
||||
#include "../core/core.c"
|
||||
|
||||
#define CL_Allocator MA_Arena *
|
||||
#define CL_Allocate(a, s) MA_PushSizeNonZeroed(a, s)
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
leeway for big buffers and other such things. Just make sure to not relay on it because it's easier unless specified.
|
||||
- Not sure if we should assume that strings should use allocators or arenas, for now it's arenas because I don't have other use cases
|
||||
@todo
|
||||
- Add compiler checking to make sure it's on the path and if it's not message
|
||||
- Add file, line info to Arenas!
|
||||
- Remove static buffers from filesystem, use scratch arenas, more secure, data corruption instead of control flow corruption
|
||||
- Use allocators instead of concrete Arenas
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "../core_library/core.c"
|
||||
#include "../core/core.c"
|
||||
|
||||
int main() {
|
||||
MA_Arena arena = {0};
|
||||
|
||||
@@ -36,7 +36,7 @@ void TestLexDir(S8_String dir) {
|
||||
|
||||
void TestClexer() {
|
||||
TestLexDir("../standalone_libraries");
|
||||
TestLexDir("../core_library");
|
||||
TestLexDir("../core");
|
||||
TestLexDir("../build_tool");
|
||||
TestLexDir("../tests");
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "../core_library/core.cpp"
|
||||
#include "../core/core.cpp"
|
||||
#include "test_table.cpp"
|
||||
#include "test_array.cpp"
|
||||
#include "test_arena.cpp"
|
||||
|
||||
Reference in New Issue
Block a user