lua-users home
lua-l archive

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


  Lua functions are passed to my C code.  I wish to determine if the Lua
function is empty.  Is this possible?

--Empty function
function foo()
end

--Empty function
function foo2()
  --this is an empty function
end

--Not empty
function foo3()
  global_bar=1
end

  Thanks.

  Dan East