[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: luajit/ffi snippet to print the clipboard on windows
- From: Mike Pall <mikelu-1102@...>
- Date: Thu, 3 Feb 2011 03:10:30 +0100
malkia wrote:
> local user32, kernel32 = ffi.load( "USER32" ), ffi.load( "KERNEL32" )
No need for that. Both are already part of the ffi.C namespace on
Windows. Just call ffi.C.GetClipboardData() etc.
Actually this _is_ already documented, please see (git HEAD only):
doc/ext_ffi.api.html#ffi_C
--Mike