luajitos

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

mymodule.lua (139B)


      1 -- Test module
      2 local M = {}
      3 
      4 function M.hello()
      5     return "Hello from mymodule!"
      6 end
      7 
      8 function M.add(a, b)
      9     return a + b
     10 end
     11 
     12 return M