external/blend2d/src/blend2d/blfont.cpp
// Destroys `BLMemFontLoaderImpl` - this is a real destructor that would
// free the impl data.
Destroys `BLMemFontLoaderImpl` - this is a real destructor that would
free the impl data.
Destroys ` BLMemFontLoaderImpl ` - this is a real destructor that would free the impl data .
static BLResult blMemFontLoaderImplRealDestroy(BLMemFontLoaderImpl* impl) noexcept {
  uint8_t* implBase = reinterpret_cast<uint8_t*>(impl);
  size_t implSize = sizeof(BLMemFontLoaderImpl);
  uint32_t implTraits = impl->implTraits;
  uint32_t memPoolData = impl->memPoolData;
  if (implTraits & BL_IMPL_TRAIT_EXTERNAL) {
    implSize += sizeof(BLExternalImplPreface);
    implBase -= sizeof(BLExternalImplPreface);
    blImplDestroyExternal(impl);
  }
  return blRuntimeFreeImpl(implBase, implSize, memPoolData);
}
static BLResult blMemFontLoaderImplRealDestroy ( BLMemFontLoaderImpl * impl ) noexcept { uint8_t * implBase = reinterpret_cast < uint8_t * > ( impl ) ; size_t implSize = sizeof ( BLMemFontLoaderImpl ) ; uint32_t implTraits = impl -> implTraits ; uint32_t memPoolData = impl -> memPoolData ; if ( implTraits & BL_IMPL_TRAIT_EXTERNAL ) { implSize += sizeof ( BLExternalImplPreface ) ; implBase -= sizeof ( BLExternalImplPreface ) ; blImplDestroyExternal ( impl ) ; } return blRuntimeFreeImpl ( implBase , implSize , memPoolData ) ; }
Destroys `BLMemFontLoaderImpl` - this is a real destructor that would
free the impl data.
Destroys ` BLMemFontLoaderImpl ` - this is a real destructor that would free the impl data .