diff --git a/versions/native-modules/docs/api/hilbish/hilbish.module/index.html b/versions/native-modules/docs/api/hilbish/hilbish.module/index.html index b5f561b..f09c2bb 100644 --- a/versions/native-modules/docs/api/hilbish/hilbish.module/index.html +++ b/versions/native-modules/docs/api/hilbish/hilbish.module/index.html @@ -11,7 +11,8 @@ in Lua for any reason.
To make a valid native module, the Go plugin
has to export a Loader function with a signature like so:
func(*rt.Runtime) rt.Value
.
rt
in this case refers to the Runtime type at
https://pkg.go.dev/github.com/arnodel/golua@master/runtime#Runtime
Hilbish uses this package as its Lua runtime. You will need to read -it to use it for a native plugin.
paths
: A list of paths to search when loading native modules.Loads a module at the designated path
.
It will throw if any error occurs.