[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.2.0 (beta-rc1) now available
- From: Tony Finch <dot@...>
- Date: Tue, 14 Jun 2011 10:48:56 +0100
A documentation suggestion:
int luaL_newlibtable (lua_State *L, const luaL_Reg *l);
It is implemented as a macro. The array l must be the actual array, not
a pointer to it.
It would be better to write the prototype as below to emphasize this fact.
int luaL_newlibtable (lua_State *L, const luaL_Reg l[]);
Tony.
--
f.anthony.n.finch <dot@dotat.at> http://dotat.at/
North Utsire, South Utsire: Southwesterly veering westerly 5 to 7,
occasionally gale 8 in North Utsire. Moderate or rough. Showers. Good.