There was an error while loading. Please reload this page.
HashMap
SortList
alloc_static_zeroed
1 parent 7faf8b4 commit fa87534Copy full SHA for fa87534
4 files changed
include/godot_cpp/core/memory.hpp
@@ -71,6 +71,7 @@ inline constexpr size_t ELEMENT_OFFSET = get_aligned_address(SIZE_OFFSET + sizeo
71
inline constexpr size_t DATA_OFFSET = get_aligned_address(ELEMENT_OFFSET + sizeof(uint64_t), MAX_ALIGN);
72
73
void *alloc_static(size_t p_bytes, bool p_pad_align = false);
74
+void *alloc_static_zeroed(size_t p_bytes, bool p_pad_align = false);
75
void *realloc_static(void *p_memory, size_t p_bytes, bool p_pad_align = false);
76
void free_static(void *p_ptr, bool p_pad_align = false);
77
}; //namespace Memory
0 commit comments