rename hgl_aligned_malloc to hgl_align_malloc

This commit is contained in:
2020-09-20 02:40:40 +08:00
parent 9d1ddc1ac4
commit 25a2605932
6 changed files with 14 additions and 14 deletions

View File

@@ -37,7 +37,7 @@
#define hgl_free free
template<typename T>
inline T *hgl_aligned_malloc(size_t n)
inline T *hgl_align_malloc(size_t n)
{
return (T *)aligned_alloc(alignof(T),n*sizeof(T));
}