MCPcopy Create free account
hub / github.com/ARM-software/astc-encoder / aligned_free

Function aligned_free

Source/astcenc_internal.h:2221–2228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2219 */
2220template<typename T>
2221void aligned_free(T* ptr)
2222{
2223#if defined(_WIN32)
2224 _aligned_free(const_cast<typename std::remove_const<T>::type *>(ptr));
2225#else
2226 free(const_cast<typename std::remove_const<T>::type *>(ptr));
2227#endif
2228}
2229
2230#endif

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected