rename hgl_aligned_malloc to hgl_align_malloc
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
Reference in New Issue
Block a user