[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Userdata and methods
- From: Edgar Toernig <froese@...>
- Date: Wed, 21 Nov 2001 22:17:42 +0100
Philip Bock wrote:
>
> console_write("This is the beginning...\n")
> -- viewport_translaterd(self.viewport, self.pitch, self.yaw, self.roll,
> self.velocity * ticks_per_frame)
> console_wirte("This is the end.\n")
>
> it still segfaults after the first console_write(), without the cerr output
> >from viewport_translaterd()! Now how do you figure that...
Lua does nothing more than writing some strings so it seems your C++ code
is broken. Maybe the constructor/destructor of your Viewport class is
broken... (overwrites memory or something like that)
Ciao, ET.