[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: 'getn()' from C in 5.0
- From: Asko Kauppi <Asko.Kauppi@...>
- Date: Wed, 18 Dec 2002 12:04:01 +0200
In 4.0 Lua API, there's the 'lua_getn()' C function. In 5.0, the Lua
function is still available as 'table.getn()' but the C function
('aux_getn()' internally) has been declared 'static' and is not accessible
without modifications to the source.
I'll need to either copy-paste the 'aux_getn()' code or use 'lua_call()' to
bypass the scoping via Lua, but this feels cumbersome.
Is this intentional or accidential in 5.0 API?
- asko.kauppi@fi.flextronics.com
###########################################
This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange.