lua-users home
lua-l archive

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


Hi Jani,

> Just define some functions in Lua code, dobuffer only once, and call
> the Lua functions from C++ code...

Okay, I know how to call Lua functions from C++, I do this in my game,  
too.

But how do I correctly call this not explicitly defined "top level  
function" containing all code of my script?

Thx,
Jens