lua-users home
lua-l archive

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


----- Original Message -----
> Static members are used often in C++ classes, for example.  In the future
> there may be other functions added to the Lua API that don't require
state.
> It would be unfortunate to set a bad precedent.

But on the other hand - a function that today may not need a state - could
someday call another lua function thats require a state - and then your code
would break :-/

/Erik