lua-users home
lua-l archive

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

> However I've tried it out with unrelated lua_State's and it seems to work 
> fine.

Like you say, it seems to work fine. But when garbage collection kicks in,
you will probably have dangling pointers in the target state. Not good...
Also, if you move a string across states and the string already exists
in the target state, you can see string equality failing.