prime/include/Kyoto/Alloc/CCallStack.hpp

19 lines
333 B
C++
Raw Normal View History

#ifndef _CCALLSTACK
#define _CCALLSTACK
2022-09-20 04:35:24 +00:00
2022-10-14 15:46:40 +00:00
#include <types.h>
2022-09-20 04:35:24 +00:00
class CCallStack {
public:
2022-10-14 15:46:40 +00:00
CCallStack(uint lineNum, const char* lineStr, const char* type = "UnknownType");
2022-09-20 04:35:24 +00:00
const char* GetFileAndLineText() const;
const char* GetTypeText() const;
2022-10-14 15:46:40 +00:00
2022-09-20 04:35:24 +00:00
private:
const char* x0_line;
const char* x4_type;
};
#endif // _CCALLSTACK