SoUI 0.5版本占坑
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
255 B

3 years ago
require "sys"
local loader = {}
loader.load = function(path)
loader.dll = sys.load_library(path)
return loader.dll ~= nil
end
loader.unload = function()
if loader.dll then
sys.unload_library(loader.dll)
loader.dll = nil
end
end
return loader