mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 00:37:15 +01:00
Update SqBase.hpp
This commit is contained in:
parent
7655c1cb98
commit
2fb0f851c0
@ -506,6 +506,24 @@ enum EntityType
|
|||||||
#define SQMOD_NODISCARD
|
#define SQMOD_NODISCARD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* ------------------------------------------------------------------------------------------------
|
||||||
|
* FLOAT SELECTION
|
||||||
|
*/
|
||||||
|
#ifdef SQUSEDOUBLE
|
||||||
|
#define SQMOD_DOUBLE_ONLY(X) X
|
||||||
|
#define SQMOD_EXCEPT_DOUBLE(X)
|
||||||
|
#define SQMOD_FLOAT_ONLY(X)
|
||||||
|
#define SQMOD_EXCEPT_FLOAT(X) X
|
||||||
|
#else
|
||||||
|
#define SQMOD_DOUBLE_ONLY(X) X
|
||||||
|
#define SQMOD_EXCEPT_DOUBLE(X)
|
||||||
|
#define SQMOD_FLOAT_ONLY(X)
|
||||||
|
#define SQMOD_EXCEPT_FLOAT(X) X
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#define SQMOD_DOUBLE_OR(D, F) SQMOD_DOUBLE_ONLY(D) SQMOD_EXCEPT_DOUBLE(F)
|
||||||
|
#define SQMOD_FLOAT_OR(F, D) SQMOD_FLOAT_ONLY(F) SQMOD_EXCEPT_FLOAT(D)
|
||||||
|
|
||||||
/* ------------------------------------------------------------------------------------------------
|
/* ------------------------------------------------------------------------------------------------
|
||||||
* DEBUG SELECTION
|
* DEBUG SELECTION
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user