[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: Passing arrays from LUA to C++
- From: <Andreas.Volz@...>
- Date: Thu, 23 Aug 2007 17:24:31 +0200
> -----Original Message-----
> From: lua-bounces@bazar2.conectiva.com.br
> [mailto:lua-bounces@bazar2.conectiva.com.br] On Behalf Of
> Couwenberg, Wim
> Sent: Thursday, August 23, 2007 4:51 PM
> To: Lua list
> Subject: RE: Passing arrays from LUA to C++
>
>
> > Ok, the
> > string is for sure handled wrong with lua_tonumber, but also
> > the other numbers are wrong. Could anyone tell me why this happens?
>
> lua_tonumber does not return an int.
Thanks. The lua_tointeger works perfect now.
regards
Andreas
--
Dipl.-Inf. (FH) Andreas Volz, ES1
Elektrobit
Phone: +49 (9131) 7701 167, mailto:Andreas.Volz@elektrobit.com
Fax: +49 (9131) 7701 333, http://www.elektrobit.com
Elektrobit Automotive GmbH, Am Wolfsmantel 46, 91058 Erlangen, Germany
Managing Director Otto Fößel
Register Court Fürth HRB 4886
----------------------------------------------------------------
Please note: This e-mail may contain confidential information
intended solely for the addressee. If you have received this
e-mail in error, please do not disclose it to anyone, notify
the sender promptly, and delete the message from your system.
Thank you.