mirror of
https://github.com/Hilbis/Hilbish
synced 2025-04-21 04:53:24 +00:00
docs: add more details to path prop
This commit is contained in:
parent
3774a77870
commit
e8e75ab27b
@ -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.
|
||||
|
||||
## 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
|
||||
### load(path)
|
||||
|
@ -10,7 +10,7 @@ import (
|
||||
|
||||
// #interface module
|
||||
// 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
|
||||
to load Hilbish plugins/modules.
|
||||
Hilbish modules are Go-written plugins (see https://pkg.go.dev/plugin)
|
||||
|
BIN
testplugin/testplugin.so
Normal file
BIN
testplugin/testplugin.so
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user