lua-users home
lua-l archive

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


Hi.
still a Lua newbie..
How do you specify function pointers in lua, and more importantly call them?
This case does not seem to work for me:
 
A.lua:
 
function_1 (..., my_function, ..)
..
while (<a function defined in c-world) do
    my_function()
end
..
end
 
function_1 (.., my_function,..)
 
 
thanks
cynthia