示例#1
0
文件: State.go 项目: rdlaitila/leaf
// Concatenates the n values at the top of the stack, pops them, and
// leaves the result at the top. If n is 1, the result is the single
// value on the stack (that is, the function does nothing); if n is 0,
// the result is the empty string. Concatenation is performed following
// the usual semantics of Lua.
func (this *State) Concat(n int) {
	C.lua_concat(this.luastate, C.int(n))
}
示例#2
0
文件: lua.go 项目: szll/golua
// lua_concat
func (L *State) Concat(n int) {
	C.lua_concat(L.s, C.int(n))
}
示例#3
0
文件: state.go 项目: halturin/luajit
// Concatenates the n values at the top of the stack, pops them, and
// leaves the result at the top. If n is 1, the result is the single
// value on the stack (that is, the function does nothing); if n is 0,
// the result is the empty string. Concatenation is performed following
// the usual semantics of Lua.
func (s *State) Concat(n int) {
	C.lua_concat(s.l, C.int(n))
}