lua-users home
lua-l archive

Re: Lua Multistate

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


----- Original Message -----
> Multiple states are completely independent and the only way to copy stuff
> from one state to another is via C, manually. Sorry, but we can't see a
> clean solution to this.
> --lhf
A interesting thing would be a list over API commands that would work
inter-state wise.
Example:
lua_pushstring(state1,lua_getstring(state2,object))
Is this a multistate safe operation - Yes I think it is.. But a survey of
the API - or some common examples would a great :-)
/Erik

AltStyle によって変換されたページ (->オリジナル) /