Skip to content

Latest commit

 

History

History
31 lines (29 loc) · 881 Bytes

README.md

File metadata and controls

31 lines (29 loc) · 881 Bytes

sysapi

LuaJIT library for simplifying usage of Windows low-level API like WinAPI or NT API

Usage

Local

xcopy .\lua\sysapi %LUAJIT_DIR%\lua\sysapi\ /E

Then in your code

require "sysapi"                -- initialize the library
setfenv(1, require "sysapi-ns") -- make available all ffi.cdef definitions, global constants etc
local Process = require "process.Process"
local File = require "file.File"
...

Run tests

luajit.exe .\run.lua [--filter=<test-name>]

Documentation generation

Generated documentation could be found here You may need to install ldoc

luarocks install ldoc

Assume you have luarocks trees bin directory in PATH

ldoc.bat . -i