lua-users home
lua-l archive

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


>From lua-l@tecgraf.puc-rio.br  Fri Jul 14 04:37:53 2000
>From: erik@hougaard.com (Erik Hougaard)
>
>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 :-)

Yes, this is safe.
Actually, I think that there are no such restrictions, because by definition
this kind of thing is communication via C.
--lhf