lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi Antonio,

Thanks for your help.

The problem is that I downloaded the binary package from the "binaries" part of the web site, so I don't have a luaconf.h to look at.

You say LUA_COMPAT_GETN is not defined; but I assure you that "#" does not work and "table.getn" does.

Is anyone else seeing this?

Andy.


Antonio Scuri wrote:

  Hi,

LuaBinaries assume the default configuration in "luaconf.h", no changes are applied to the original distribution files.

There are many flags defined in this file, you will have to take a look at it to know which flags are defined.

As you can see LUA_COMPAT_GETN is not defined, and LUA_COMPAT_VARARG is defined.

Best,
scuri

At 14:34 6/8/2006, Andy wrote:
Hi all,

I've downloaded the 5.1 binary for Windows (lua5_1_Win32_bin.tar.gz <http://luaforge.net/frs/download.php/1420/lua5_1_Win32_bin.tar.gz>). It looks as if this has been compiled with LUA_COMPAT_GETN (table.getn instead of #) and LUA_COMPAT_VARARG (arg instead of ...) and maybe other flags as well.

I don't have a problem with this (unless it was a mistake!) but it would be nice if it was mentioned on the configuration page (http://luabinaries.luaforge.net/configuration.html).

Can anyone tell me what other flags I've got set?

Ta,
Andy.