lua-users home
lua-l archive

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


On Wed, Jul 13, 2011 at 8:50 PM, Luiz Henrique de Figueiredo
<lhf@tecgraf.puc-rio.br> wrote:
>> if you are going to distribute it separately maybe you can consider
>> doing an amalgamation in the same way sqlite[1] does, where you can
>> actually download just a single .c and .h with all the source code.
>
> A single .c is easy. A single .h is not because there are 4 public header
> files: lua.h, luaconf.h, lualib.h, lauxlib.h.

I was thinking in a .c and .h controlled by macros to include or
exclude parts, but anyway, the interesting part from the embedded
point of view is the part that gets compiled so just one .c with the
amalgamation would be great anyway.

JL.



-- 
  Jose L. Hidalgo Valiño (PpluX)
  ---- http://www.pplux.com ----