blob: 0be184697b7df01619a7c232902561e59b567e8d [file] [log] [blame]
/*
* $Id: LuaValueProxy.java,v 1.1 2008/10/28 16:36:48 anaef Exp $
* See LICENSE.txt for license terms.
*/
package com.naef.jnlua;
/**
* Provides proxy access to a Lua value from Java. Lua value proxies are
* acquired by invoking one of the <code>getProxy()</code> methods on the Lua
* state.
*
* @see LuaState#getProxy(int)
* @see LuaState#getProxy(int, Class)
* @see LuaState#getProxy(int, Class[])
*/
public interface LuaValueProxy {
/**
* Returns the Lua state of this proxy.
*
* @return the Lua state
*/
public LuaState getLuaState();
/**
* Pushes the proxied Lua value on the stack of the Lua state.
*/
public void pushValue();
}