/* tolua: get & push functions. ** Support code for Lua bindings. ** Written by Waldemar Celes ** TeCGraf/PUC-Rio ** Jul 1998 ** $Id: tolua_gp.c,v 1.1 2003/02/09 21:30:32 dheck 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 double tolua_getnumber (lua_State* L, int narg, double def) { return lua_gettop(L)