not logged in | [Login]
local ffi = require("ffi")
ffi.cdef[[int printf(const char *fmt, ...);]]
ffi.C.printf("Hello %s!\n", "wiki")
The LuaJIT wiki has been created to gather community resources about developing programs using LuaJIT. Everyone is welcome to contribute relevant material -- please refer to the Wiki FAQ for details.