[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Copy Objects between states
- From: erik@... (Erik Hougaard)
- Date: Tue, 24 Nov 1998 11:46:06 +0100
Quick question about having more than one state in lua:
I need a function like this:
BOOL CloneObject(lua_State *fromstate,lua_Object *O,lua_State *tostate);
that will clone my object O in fromstate to tostate. In my case I need
to give a object from one thread to another, not as a refereable but as
a cloned copy!
Anyone?
Erik
p.s. I have altered Lua so I'm able to address each state from a global
perspective!