lua-users home
lua-l archive

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


> (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