Added Object/ObjectAllocator/ObjectManager ....

This commit is contained in:
2024-10-05 22:14:04 +08:00
parent afa80ed4de
commit e16b93400b
11 changed files with 637 additions and 2 deletions

View File

@@ -0,0 +1,14 @@
#pragma once
namespace hgl
{
struct SourceCodeLocation
{
const char * file; ///<源文件
const char * func; ///<函数
size_t line; ///<行号
};
#define HGL_SOURCE_CODE_LOCATION __FILE__,__FUNCTION__,__LINE__
}//namespace hgl