mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-12 08:51:41 +00:00
assettext/macrotext/assetdoc refinements ala https://github.com/TorqueGameEngines/Torque3D/pull/518
This commit is contained in:
parent
59e162abe5
commit
b5b06c4a10
1 changed files with 3 additions and 3 deletions
|
|
@ -170,9 +170,9 @@ private:
|
|||
};
|
||||
|
||||
//helper macro for stitching string and non string values togeather sans quotes
|
||||
#define assetText(x,suff) std::string(std::string(#x) + std::string(#suff)).c_str()
|
||||
#define macroText(x) std::string(std::string(#x)).c_str()
|
||||
#define assetDoc(x,suff) std::string(std::string("@brief") + std::string(#x) + std::string(#suff)).c_str()
|
||||
#define assetText(x,suff) #x#suff
|
||||
#define macroText(x) #x
|
||||
#define assetDoc(x,suff) "@brief "#x" "#suff
|
||||
|
||||
#endif // _ASSET_BASE_H_
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue