lune/tests/ffi/external_print/helloWorld.luau

5 lines
182 B
Text

local ffi = require("@lune/ffi")
local lib = require("../utils/compile")("./tests/ffi/external_print/lib.c")
local c = ffi.c
c.fn({}, c.void):callable(lib:find("hello_world"))(nil)