Documentation ¶
Index ¶
- func CheckIOReader(L *lua.LState, n int) io.Reader
- func CheckIOWriter(L *lua.LState, n int) io.Writer
- func IOReaderClose(L *lua.LState) int
- func IOReaderRead(L *lua.LState) int
- func IOWriterClose(L *lua.LState) int
- func IOWriterWrite(L *lua.LState) int
- func NewLuaIOWrapper(L *lua.LState, io lua.LValue) *luaIOWrapper
- func ReaderFuncTable(L *lua.LState) *lua.LTable
- func WriterFuncTable(L *lua.LState) *lua.LTable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckIOReader ¶
CheckIOReader tries to cast to UserData and to io.Reader, otherwise it wraps and checks for "read" method
func CheckIOWriter ¶
CheckIOWriter tries to cast to UserData and to io.Writer, otherwise it wraps and checks for "write" method
func IOReaderClose ¶
func IOReaderRead ¶
func IOWriterClose ¶
func IOWriterWrite ¶
func NewLuaIOWrapper ¶
NewLuaIOWrapper creates a new luaIOWrapper atop the lua io object
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.