MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / mi__expand

Function mi__expand

3rd/mimalloc-2.0.9/src/alloc-posix.c:120–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118}
119
120void* mi__expand(void* p, size_t newsize) mi_attr_noexcept { // Microsoft
121 void* res = mi_expand(p, newsize);
122 if (res == NULL) { errno = ENOMEM; }
123 return res;
124}
125
126mi_decl_nodiscard mi_decl_restrict unsigned short* mi_wcsdup(const unsigned short* s) mi_attr_noexcept {
127 if (s==NULL) return NULL;

Callers

nothing calls this directly

Calls 1

mi_expandFunction · 0.85

Tested by

no test coverage detected