[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: luaL_getn segfault
- From: benjamin sunshine-hill <bsunshin@...>
- Date: Tue, 29 Jul 2003 13:51:42 -0600
> My program is free software and I only provide the sources. (Other
> people handle making binary packages for random OSes). It should be
> as easy as possible for the users to install it from the sources as
> well and _patching Lua_ certainly is not something users should have
> to do.
I don't think LHF was suggesting you patch Lua. An application is responsible
for ensuring that it fulfils the preconditions of library functions it calls.
>
> So now I'll just have to write inefficient lua_*_check { luaL_checktype;
> lua_* } wrappers to random functions
Check out lauxlib.h (and the documentation on the Wiki); lots of useful
functions like this.