Documentation ¶
Index ¶
- func CloseLState(L *C.lua_State)
- func CompileFromFile(srcFileName, outFileName, abiFileName string) error
- func Decode(srcFileName string, payload string) error
- func DecodeFromFile(srcFileName string) error
- func DecodeFromStdin() error
- func DumpFromFile(srcFileName string) error
- func DumpFromStdin() error
- func NewLState() *C.lua_State
- type LuaCode
- type LuaCodePayload
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloseLState ¶
func CompileFromFile ¶
func DecodeFromFile ¶ added in v2.6.0
func DecodeFromStdin ¶ added in v2.6.0
func DecodeFromStdin() error
func DumpFromFile ¶
func DumpFromStdin ¶
func DumpFromStdin() error
Types ¶
type LuaCodePayload ¶
type LuaCodePayload []byte
func NewLuaCodePayload ¶
func NewLuaCodePayload(code LuaCode, args []byte) LuaCodePayload
func (LuaCodePayload) Args ¶
func (p LuaCodePayload) Args() []byte
func (LuaCodePayload) Code ¶
func (p LuaCodePayload) Code() LuaCode
func (LuaCodePayload) HasArgs ¶
func (p LuaCodePayload) HasArgs() bool
func (LuaCodePayload) IsValidFormat ¶
func (p LuaCodePayload) IsValidFormat() (bool, error)
func (LuaCodePayload) Len ¶
func (p LuaCodePayload) Len() int
Click to show internal directories.
Click to hide internal directories.