MCPcopy Create free account
hub / github.com/SVF-tools/SVF / CJSON_CDECL internal_malloc

Function CJSON_CDECL internal_malloc

svf/lib/Util/cJSON.cpp:166–169  ·  view source on GitHub ↗

work around MSVC error C2322: '...' address of dllimport '...' is not static */

Source from the content-addressed store, hash-verified

164#if defined(_MSC_VER)
165/* work around MSVC error C2322: '...' address of dllimport '...' is not static */
166static void * CJSON_CDECL internal_malloc(size_t size)
167{
168 return malloc(size);
169}
170static void CJSON_CDECL internal_free(void *pointer)
171{
172 free(pointer);

Callers

nothing calls this directly

Calls 1

mallocFunction · 0.85

Tested by

no test coverage detected