[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: How to acquire the name of the variables passes to the self-defined C function which has been successfully set by lua_register()?
- From: Suote127 <tswuyin_st127@...>
- Date: Fri, 22 Jan 2021 10:15:54 +0800 (CST)
>One more question, is there a clerical error in >your last email?
No,there is not.
>I think it should be foo({a = 10, b= 129}) >instead of foo{a = 10, b = "meh"}.
When a table constructor is the only argument passed to a function,() is optional.
- References:
- How to acquire the name of the variables passes to the self-defined C function which has been successfully set by lua_register()?, 孙世龙 sunshilong
- Re: How to acquire the name of the variables passes to the self-defined C function which has been successfully set by lua_register()?, Sean Conner
- Re: How to acquire the name of the variables passes to the self-defined C function which has been successfully set by lua_register()?, 孙世龙 sunshilong
- Re: How to acquire the name of the variables passes to the self-defined C function which has been successfully set by lua_register()?, Sean Conner
- Re: How to acquire the name of the variables passes to the self-defined C function which has been successfully set by lua_register()?, 孙世龙 sunshilong
- Re: How to acquire the name of the variables passes to the self-defined C function which has been successfully set by lua_register()?, Sean Conner
- Re: How to acquire the name of the variables passes to the self-defined C function which has been successfully set by lua_register()?, Sudipto Mallick
- Re: How to acquire the name of the variables passes to the self-defined C function which has been successfully set by lua_register()?, Sean Conner
- Re: How to acquire the name of the variables passes to the self-defined C function which has been successfully set by lua_register()?, Sudipto Mallick
- Re: How to acquire the name of the variables passes to the self-defined C function which has been successfully set by lua_register()?, 孙世龙 sunshilong