MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / alloc_chunk

Function alloc_chunk

src/hx/cppia/sljit_src/sljitExecAllocator.c:84–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82#ifdef _WIN32
83
84static SLJIT_INLINE void* alloc_chunk(sljit_uw size)
85{
86 return VirtualAlloc(NULL, size, MEM_COMMIT | MEM_RESERVE, PAGE_EXECUTE_READWRITE);
87}
88
89static SLJIT_INLINE void free_chunk(void *chunk, sljit_uw size)
90{

Callers 1

sljit_malloc_execFunction · 0.70

Calls 1

open_dev_zeroFunction · 0.85

Tested by

no test coverage detected