[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: C API - how to combine lua_createtable and lua_settable
- From: Julien Duminil <julien.duminil@...>
- Date: Thu, 3 Mar 2011 14:30:53 +0100
> (As an unrelated note, it seems simpler to write 'sizeof(myLib[0])'
> instead of 'sizeof(const struct luaL_Reg)'.)
Or 'sizeof(*myLib)', but not sure that it is more readable
than 'sizeof(myLib[0])' ...
-- Julien