MCPcopy Create free account
hub / github.com/FEX-Emu/FEX / JsonAllocator

Method JsonAllocator

Source/Common/JSONPool.cpp:8–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6json_t* PoolAlloc(jsonPool_t* Pool);
7
8JsonAllocator::JsonAllocator()
9 : jsonPool_t {
10 .init = FEX::JSON::PoolInit,
11 .alloc = FEX::JSON::PoolAlloc,
12 } {}
13
14json_t* PoolInit(jsonPool_t* Pool) {
15 JsonAllocator* alloc = static_cast<JsonAllocator*>(Pool);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected