lua-users home
lua-l archive

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


It seems you're actually trying to do a "myscript.debug()" from your C code.
What you need is a "myscript:debug()" [note the colon!].
Consequently, the self param that the debug method expects will be nill and
indexing it will fail.
To solve your problem you need to push this self param before you call the
function.

Ashwin.