Lua: re-use the viewport pointer; also use the shorter lua_getfield() & lua_setfield...
commit6d8e2f272ec9953116a1cce2da165ed96d266b2d
authormcuelenaere <mcuelenaere@a1c6a512-1295-4272-9138-f99709370657>
Mon, 25 May 2009 19:05:53 +0000 (25 19:05 +0000)
committermcuelenaere <mcuelenaere@a1c6a512-1295-4272-9138-f99709370657>
Mon, 25 May 2009 19:05:53 +0000 (25 19:05 +0000)
tree1464ee9f5ec08da3bc144ed3d88a3b96bdabdfa3
parent729cf9182cd97224ab50e5754d6833cac2f08603
Lua: re-use the viewport pointer; also use the shorter lua_getfield() & lua_setfield() notations (thanks Antoine Cellerier)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21080 a1c6a512-1295-4272-9138-f99709370657
apps/plugins/lua/rocklib.c