helper

package module
v0.0.0-...-586c81e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2023 License: MIT Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

glua-helper

GopherLua helper function

Documentation

Overview

Package helper provides gopher-lua helper functions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check(L *lua.LState, idx0 int, args ...interface{})

func CheckAnyList

func CheckAnyList(L *lua.LState, n int) []lua.LValue

func CheckIntList

func CheckIntList(L *lua.LState, n int) []int

func CheckStringList

func CheckStringList(L *lua.LState, n int) []string

func DoScript

func DoScript(L *lua.LState, path, content string) error

func MakeArray

func MakeArray(L *lua.LState, args ...interface{}) *lua.LTable

func MakeIntList

func MakeIntList(L *lua.LState, args ...int) *lua.LTable

func MakeStringList

func MakeStringList(L *lua.LState, args ...string) *lua.LTable

func RetBool

func RetBool(L *lua.LState, v bool) int

func RetError

func RetError(L *lua.LState, err error) int

func RetInt

func RetInt(L *lua.LState, v int) int

func RetIntList

func RetIntList(L *lua.LState, vs []int) int

func RetString

func RetString(L *lua.LState, v string) int

func RetStringList

func RetStringList(L *lua.LState, vs []string) int

func Return

func Return(L *lua.LState, args ...interface{}) int

func Run

func Run(L *lua.LState, code string, args ...interface{}) []interface{}

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址