Re: Common FFI declarations

  • From: Cosmin Apreutesei <cosmin.apreutesei@xxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Wed, 9 May 2012 04:21:42 +0300

On Tue, May 8, 2012 at 8:10 PM, William Adams <william_a_adams@xxxxxxx> wrote:
> WTypes.h would be a good start for Windows.  You get the basic funky windows
> definitions, as well as a few that get very specific to a module, like:
> TEXTMETRICW  It could be somewhat filtered to pull those specifics into
> places like GDI, or just left in there.
>
> There's a logic grouping of all the stuff necessary to run: Kernel32,
> User32, GDI32.  I'd say a "Windows.lua" file would include whatever is
> necessary to get these three large bodies working.  That will include
> WTypes, WinError, Guiddef, and a few others.  With that base set, we'd have
> the basics of what it means to be using Windows.
>

So there are people working on win32 bindings right now.

Ok then, I put mine up, here's what I got till now:
http://code.google.com/p/lua-winapi/ - early prototyping stage but you
can see things on screen.

Other related posts: