lua-users home
lua-l archive

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

> I am assuming that the best way to go about this is to write a plain
> C core and then a wrapper around it with the Lua - C API and then to
> write another C wrapper around the core for a plain C library.

I don't see the point of this second wrapper. Just write a C library
that has an API and bind that to Lua. So, two C libraries: one, your
core service library, with an API; the other, the Lua binding using
the C API.