How to call a function in shared library using Lua
snippet in lua

How to call a function in shared library using Lua

user2645

local lib = ffi.load('some.dll')
ffi.cdef[[
  void hello (void);
]]
lib.hello()