lua-users home
lua-l archive

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


frank.maltman@googlemail.com wrote:
return {
  ["name"] = "example area",
  ["area"] = area,
}

When I load this with lua_load() and then do lua_pcall() on it,
there's nothing left on the stack and no error.

It sounds like you're calling lua_pcall with its 3-rd argument (nresults) set to 0. A snippet of your code would help.

--
Shmuel