[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Can binded classes contain pointers?
- From: L-28C <kixdemp@...>
- Date: Mon, 06 Aug 2007 15:17:42 -0400
Remember that Image class I talked about in my earlier posts? No? Okay,
no problem. :-)
That Image class contains a pointer to a SDL_Surface. Like this:
The question is, is that code safe to bind with toLua? Because every
time I try to retrieve an Image from my script, <base> ends up being
something I don't want (width and height are big negative values, huh?)
So I thought, maybe it's because it's a pointer?
Thanks in advance!