effil/lua-api/woofer.lua
2017-01-18 00:21:52 +03:00

12 lines
285 B
Lua

--local thr = require('libbevy')
package.cpath = package.cpath .. ";./?.dylib"
require('libwoofer')
local thr = thread
return {
new = function(func)
local str_func = ("%q"):format(string.dump(func))
return thr.new(str_func)
end,
thread_id = thr.thread_id
}