Fix array pointer as iterators; Remove stack allocations in startup_runtime

This commit is contained in:
Ginger Bill
2017-01-06 15:47:07 +00:00
parent fc1af0a04b
commit b1e35b6da3
5 changed files with 89 additions and 37 deletions
+1 -2
View File
@@ -123,7 +123,6 @@ String get_fullpath_core(gbAllocator a, String path) {
return res;
}
String get_filepath_extension(String path) {
isize dot = 0;
bool seen_slash = false;
@@ -149,7 +148,7 @@ String get_filepath_extension(String path) {
void init_build_context(BuildContext *bc) {
bc->ODIN_VENDOR = str_lit("odin");
bc->ODIN_VERSION = str_lit("0.0.5c");
bc->ODIN_VERSION = str_lit("0.0.5d");
bc->ODIN_ROOT = odin_root_dir();
#if defined(GB_SYSTEM_WINDOWS)