[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: API Version Query Function
- From: Patrick Donnelly <batrick@...>
- Date: Mon, 8 Jun 2009 06:04:23 -0600
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