Added Object/ObjectAllocator/ObjectManager ....
This commit is contained in:
14
inc/hgl/SourceCodeLocation.h
Normal file
14
inc/hgl/SourceCodeLocation.h
Normal 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
|
Reference in New Issue
Block a user