J
janus
Hello All,
I am currently reading Lua source. I find the following macro ,
#define l_tg(x) (x) used in this form
static int math_abs (lua_State *L) {
lua_pushnumber(L, l_tg(fabs)(luaL_checknumber(L, 1)));
return 1;
}
What is the real reason for macro l_tag(XXX)?
http://www.lua.org/source/5.2/lmathlib.c.html
At times I see stuff like this #define CAP_POSIT . Without value or any other thing attached to it, why this?
I am currently reading Lua source. I find the following macro ,
#define l_tg(x) (x) used in this form
static int math_abs (lua_State *L) {
lua_pushnumber(L, l_tg(fabs)(luaL_checknumber(L, 1)));
return 1;
}
What is the real reason for macro l_tag(XXX)?
http://www.lua.org/source/5.2/lmathlib.c.html
At times I see stuff like this #define CAP_POSIT . Without value or any other thing attached to it, why this?