[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Calling Lua from C
- From: Chris <coderight@...>
- Date: Sun, 9 Oct 2005 07:11:43 -0400
Thanks! That was my problem. I was assuming that the
headers were already adjusted so that my app didn't need to include
luser_number.h and define USE_LONG manually in my own app. I
don't remember much documentation on how to change the number type and
that's what lead me to this confusing situation.
On 10/9/05, Rici Lake <email@example.com> wrote:
I can only guess, but my guess is that either you haven't got a
consistent build environment. For example, you might have built your
app with USE_LONG, but with a library compiled with normal doubles. Or
you might have built the library with USE_LONG, but not defined
LUA_NUMBER before you #include <lua.h> in your application. Or some
variation on those themes.