Documentation
¶
Overview ¶
Code generated by gobindlua; DO NOT EDIT.
Example ¶
package main
import (
"log"
"github.com/ChrisTrenkamp/gobindlua"
lua "github.com/yuin/gopher-lua"
)
const script = `
functions.print_me(functions.split("foo_bar", "_"), functions.split("eggs&ham", "&"))
print("NotIncluded was excluded from the bindings: " .. tostring(functions.not_included == nil))
`
func main() {
L := lua.NewState()
defer L.Close()
gobindlua.Register(L, gobindlua.Funcs(RegisterFunctionsLuaType))
if err := L.DoString(script); err != nil {
log.Fatal(err)
}
}
Output: [foo bar] [eggs ham] NotIncluded was excluded from the bindings: true
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NotIncluded ¶
func NotIncluded()
Since the -i option was specified, this function was not included.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.