Guest User

lua code

a guest
Jun 18th, 2020
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.17 KB | None | 0 0
  1. local path = "/your/global/path/test.so"
  2. print("1")
  3. local f = package.loadlib(path, "luaopen_test")
  4. print("2")
  5. local f = f()
  6. print("3")
  7. print(get_hello())
  8.  
  9. print("yay!")
Advertisement
Add Comment
Please, Sign In to add comment