lua-users home
lua-l archive

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


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