[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Automated Win32 bindings with Alien?
- From: Jerome Vuarand <jerome.vuarand@...>
- Date: Wed, 30 Dec 2009 01:14:17 +0100
2009/12/30 Jack Surfer <email@example.com>:
> I've found Alien to be a very interesting FFI library for Lua, but did not
> find bindings using it (if any).
> In particular, I was searching some Win32 API bindings in Lua for Alien but
> to no avail... :-(
> What would be even more interesting would be IMHO to build a script to
> generate those bindings from windows header files...
> Do you guys have insights about this or already done similar things? Maybe
> links or directions for me?
It's not based on Alien (because I've yet to find a working libffi
port to x64 Windows), but I wrote a partial Win32 API binding if you
need some inspiration. It's very partial, but it already has a lot of
possibilities for simple GUI and console apps. The code is available