MCPcopy Create free account
hub / github.com/Tencent/Hardcoder / internal_malloc

Function internal_malloc

libapp2sys/src/main/cpp/cjson/cJSON.c:130–133  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

128#if defined(_MSC_VER)
129/* work around MSVC error C2322: '...' address of dillimport '...' is not static */
130static void * CJSON_CDECL internal_malloc(size_t size)
131{
132 return malloc(size);
133}
134static void CJSON_CDECL internal_free(void *pointer)
135{
136 free(pointer);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected