mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-07-13 13:01:25 -07:00
WIP move export and import table make code to appropriate layers
This commit is contained in:
committed by
Ryan Fleury
parent
69d5010245
commit
f467ff8822
@@ -1,17 +1,6 @@
|
||||
// Copyright (c) 2025 Epic Games Tools
|
||||
// Licensed under the MIT license (https://opensource.org/license/mit/)
|
||||
|
||||
internal String8
|
||||
push_cstr(Arena *arena, String8 str)
|
||||
{
|
||||
U64 buffer_size = str.size + 1;
|
||||
U8 *buffer = push_array_no_zero(arena, U8, buffer_size);
|
||||
MemoryCopy(buffer, str.str, str.size);
|
||||
buffer[str.size] = 0;
|
||||
String8 result = str8(buffer, buffer_size);
|
||||
return result;
|
||||
}
|
||||
|
||||
internal U32 *
|
||||
push_u32(Arena *arena, U32 value)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user