mirror of https://github.com/Hilbis/Hilbish
docs: add more details to path prop
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.
|
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)
|
||||||
|
|
|
@ -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.
Loading…
Reference in New Issue