MCPcopy Create free account
hub / github.com/cameron314/concurrentqueue / (malloc)

Method (malloc)

concurrentqueue.h:405–405  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

403 static inline void* WORKAROUND_malloc(size_t size) { return malloc(size); }
404 static inline void WORKAROUND_free(void* ptr) { return free(ptr); }
405 static inline void* (malloc)(size_t size) { return WORKAROUND_malloc(size); }
406 static inline void (free)(void* ptr) { return WORKAROUND_free(ptr); }
407#else
408 static inline void* malloc(size_t size) { return std::malloc(size); }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected