MCPcopy Create free account
hub / github.com/antirez/botlib / internal_malloc

Function internal_malloc

cJSON.c:165–168  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected