proxyfuncs.go
func ProxyMethod(L *lua.State) int {
	if !isValueProxy(L, 1) {
		L.PushNil()
		return 1
	}
	v, _ := valueOfProxy(L, 1)
	name := L.ToString(2)
	pushGoMethod(L, name, v)
	return 1
}
func ProxyMethod(L *lua.State) int {
	if !isValueProxy(L, 1) {
		L.PushNil()
		return 1
	}
	v, _ := valueOfProxy(L, 1)
	name := L.ToString(2)
	pushGoMethod(L, name, v)
	return 1
}
func ProxyMethod ( L * lua . State ) int { if ! isValueProxy ( L , 1 ) { L . PushNil ( ) return 1 } v , _ := valueOfProxy ( L , 1 ) name := L . ToString ( 2 ) pushGoMethod ( L , name , v ) return 1 }
// ProxyMethod pushes the proxy method on the stack.
//
// Argument: proxy
//
// Returns: method (function)
ProxyMethod pushes the proxy method on the stack . Argument : proxy Returns : method ( function )