lua-users home
lua-l archive

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


Hi,


      I have a dll (in C language) so I use the function

                  lua_register(L,fnLua,fnC)

to use function C in LUA .If I understand well, the function C must 
have ONLY ONE argument : L so the corresponding function in lua have 
also one argument.

       I would like to know if it is possible to register a function 
C with TWO or more arguments.

        Thank you very much.

        Have a nice day.

                      Christine ROLLAND.