Switch to using arrays for Windows, Views, Buffers list, try to make DeleteWindow work

This commit is contained in:
Krzosa Karol
2025-12-05 08:58:46 +01:00
parent 05f0197d50
commit e6e1ae0223
12 changed files with 106 additions and 115 deletions

View File

@@ -759,7 +759,6 @@ API Process SpawnProcess(String command_line, String working_dir, String write_s
String16 cmd = ToString16(scratch, command_line);
char *env = NULL;
// TODO: FIX ARENA ALLOCATION USING PushSize, Prealloc maybe? Maybe we want a block arena
if (enviroment.len) {
Int size = GetSize(enviroment) + enviroment.len + 1;
env = (char *)PushSize(scratch, size);