lua-users home
lua-l archive

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

I have a C function that expects char *argv[] as an argument.
The natural representation for argv in Lua would be as a table
with elements 1, 2, 3, etc.

What is the recommended method of getting access to the array elements
from within my C code?