This commit is contained in:
parent
bf0aaaca8f
commit
94106bb82f
8 changed files with 430 additions and 1 deletions
12
plugins/api.go
Normal file
12
plugins/api.go
Normal file
|
@ -0,0 +1,12 @@
|
|||
package plugins
|
||||
|
||||
import lua "github.com/yuin/gopher-lua"
|
||||
|
||||
// TODO: Decide on the API made available to plugins
|
||||
// Everything has to be a function, assume no internal state
|
||||
// since the used lua state may vary between calls
|
||||
type linstromApi struct{}
|
||||
|
||||
func insertLinstromApiIntoState(l *lua.LState) error {
|
||||
panic("not implemented")
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue