[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: function pointers in Lua
- From: cynthia powers <powcyn@...>
- Date: Mon, 16 Nov 2009 16:55:43 -0500
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