docs: add more details to path prop

native-modules
sammyette 2023-07-10 23:27:24 -04:00
parent 3774a77870
commit e8e75ab27b
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD
3 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ Hilbish uses this package as its Lua runtime. You will need to read
it to use it for a native plugin. it to use it for a native plugin.
## Interface fields ## Interface fields
- `paths`: A list of paths to search when loading native modules. - `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 ## Functions
### load(path) ### load(path)

View File

@ -10,7 +10,7 @@ import (
// #interface module // #interface module
// native module loading // native module loading
// #field paths A list of paths to search when loading native modules. // #field 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`
/* The hilbish.module interface provides a function /* The hilbish.module interface provides a function
to load Hilbish plugins/modules. to load Hilbish plugins/modules.
Hilbish modules are Go-written plugins (see https://pkg.go.dev/plugin) Hilbish modules are Go-written plugins (see https://pkg.go.dev/plugin)

Binary file not shown.