lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Tue, Sep 2, 2014 at 3:38 PM, Emeka <emekamicro@gmail.com> wrote:
> Hello All,
>
>
> #define rawgco2ts(o)    check_exp((o)->gch.tt == LUA_TSTRING, &((o)->ts))
>
>
> #define check_exp(c,e)          (e)
>
>
> I can't figure out where/how the conditional is used.
>
>
> Regards, \Emeka
>
> --
> Satajanus  Nig. Ltd
>
>

It's not. Look at the *other* definition of check_exp.

#define check_exp(c,e)          (lua_assert(c), (e))

http://www.lua.org/source/5.1/llimits.h.html

/s/ Adam