Re: passing lua table from c++ to lua script
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: passing lua table from c++ to lua script
- From: Maha Akkari <maha.akkari@...>
- Date: 2012年5月20日 14:49:53 +0300
oh it works!! thank you !
!
I have one more question , how can C fecth the table from lua ?
I edited the Lua script to return t. so up to this point, lua pushed t
onto the stack. how can C take it ? I read another thread tackling this
question, but i couldnt understand a word of the solution. All I know
is that I have to write a C function that take a Lua state parameter and
i have NO idea how to go on from there !do you know how ?