thread-object-arguments.lua 181 B

123456789
  1. function lovr.load()
  2. local thread = lovr.thread.newThread([[
  3. assert(type(...) == 'userdata')
  4. ]])
  5. thread:start(lovr.data.newBlob(1))
  6. thread:wait()
  7. end
  8. lovr.event.quit()