lua-users home
lua-l archive

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


On Tue, Apr 12, 2011 at 9:26 AM, Dirk Laurie <dpl@sun.ac.za> wrote:
> Is there something special about Qt that makes this approach work,
> or should there be a decent chance for other large packages?

It's a common enough strategy. Wolfgang Oertl's LuaGnome builds the
bindings by converting the GTK+ headers to XML using gccxml.  The
functions then get converted to a big lookup table and he then uses
libffi for the actual dispatch. Some functions require special
treatment, but most of it is automated.

steve d.