From 308ae0e4f4b3ee786502f35b5a372728941f5dbf Mon Sep 17 00:00:00 2001
From: TorchedSammy
Date: Tue, 11 Jul 2023 03:34:27 +0000
Subject: [PATCH] deploy: dfc3942087e2fdb920d3decf640a834a0a00cca4
---
.../native-modules/docs/api/hilbish/hilbish.module/index.html | 2 +-
1 file changed, 1 insertion(+), 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 f09c2bb..64f9f1e 100644
--- a/versions/native-modules/docs/api/hilbish/hilbish.module/index.html
+++ b/versions/native-modules/docs/api/hilbish/hilbish.module/index.html
@@ -12,7 +12,7 @@ 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.
Interface fields
-
paths
: A list of paths to search when loading native modules.
Functions
+
paths
: A list of paths to search when loading native modules. This is in the style of Lua search paths and will be used when requiring native modules. Example: ?.so;?/?.so
Functions
load(path)
Loads a module at the designated path
.
It will throw if any error occurs.