[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Help me interpret the C code
- From: Coda Highland <chighland@...>
- Date: Tue, 2 Sep 2014 15:46:00 -0700
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