lua-users home
lua-l archive

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


On Mon, Jun 8, 2009 at 5:58 AM, Michael Pruemm<mip@pobox.com> wrote:
> Why do you need a C API function?
>
> You have to include "lua.h" in your C source anyway, and this file
> defines things like LUA_VERSION, LUA_RELEASE, ... No need to introduce
> a function for this.

There is a need when Lua is used as a shared library.

-- 
-Patrick Donnelly

"Let all men know thee, but no man know thee thoroughly: Men freely
ford that see the shallows."

- Benjamin Franklin