[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: [toLua] Putting a non-standard global?
- From: L-28C <kixdemp@...>
- Date: Tue, 14 Aug 2007 20:05:33 -0400
Look, this works:
But this doesn't:
tolua_pushusertype(Script, WalkLayer, "Image");
I assumed tolua_pushusertype(...) was the toLua equivalent for
lua_push*(...), but it seems I was wrong...
What's the right way to push a global of type 'Image' (binded to the
script, of course)?