MCPcopy Create free account
hub / github.com/OpenIPC/firmware / internal_malloc

Function internal_malloc

general/package/xmdp/src/cjson/cJSON.c:161–164  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected