Skip to content

lua_module Hello World Lua module

A Lua C module showing how to add built-in modules to the Lua interpreter. Usage:

lua
> hello.say_hello()
"Hello World!"