/* tolua: get & push functions. ** Support code for Lua bindings. ** Written by Waldemar Celes ** TeCGraf/PUC-Rio ** Jul 1998 ** $Id: tolua_gp.c,v 1.2 2001/11/26 23:00:27 darkgod Exp $ */ /* This code is free software; you can redistribute it and/or modify it. ** The software provided hereunder is on an "as is" basis, and ** the author has no obligation to provide maintenance, support, updates, ** enhancements, or modifications. */ #include "tolua.h" #include "tolua_tm.h" #include #include long tolua_getnumber (lua_State* L, int narg, long def) { return lua_gettop(L)