From 55159ddfeb24d4e9d3c2a383f12d48f72d32cc41 Mon Sep 17 00:00:00 2001
From: TorchedSammy
Date: Tue, 11 Jul 2023 03:25:08 +0000
Subject: [PATCH] deploy: 3774a77870e2c01cedb68baf8085be8c2a0165c5
---
.../native-modules/docs/api/hilbish/hilbish.module/index.html | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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.
Functions
+it to use it for a native plugin.Interface fields
+
paths
: A list of paths to search when loading native modules.
Functions
load(path)
Loads a module at the designated path
.
It will throw if any error occurs.