[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: RE: How to "ask for" and "pass" values between Lua and C?
- From: Thijs Schreijer <thijs@...>
- Date: Thu, 2 Jul 2015 10:19:23 +0000
> -----Original Message-----
> From: email@example.com [mailto:firstname.lastname@example.org] On
> Behalf Of Dirk Laurie
> Sent: donderdag 2 juli 2015 9:09
> To: Lua mailing list
> Subject: Re: How to "ask for" and "pass" values between Lua and C?
> 2015-07-02 8:53 GMT+02:00 Nan Xiao <email@example.com>:
> > I am very confused about the above words, and there is no example to
> > how to "ask for" and "pass" values between C and Lua.
> > Could anyone can give some examples or explain it a bit detailedly? Thanks
> > very much in advance!
> I could try to give a small example, but really in the long run there is no
> substitute for reading "Programming in Lua". <http://www.lua.org/pil>
The online version is for Lua version 5.0, so you probably should buy a more recent version. But still the C api section should answer your questions regarding the stack.