From e90442fe60c1e758709419767970b77cdfd2e3a8 Mon Sep 17 00:00:00 2001 From: deva Date: Sat, 28 Aug 2010 13:54:43 +0000 Subject: Initial (untested) shot at a lua<->QSql wrapper. --- client/luawidget.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/luawidget.cc') diff --git a/client/luawidget.cc b/client/luawidget.cc index ba64257..bd000f0 100644 --- a/client/luawidget.cc +++ b/client/luawidget.cc @@ -37,7 +37,7 @@ ** Copied from lauxlib.c, but modified return NULL upon error instead of ** casting a lua error. **/ -LUALIB_API void *luaL_isudata (lua_State *L, int ud, const char *tname) { +static void *luaL_isudata (lua_State *L, int ud, const char *tname) { void *p = lua_touserdata(L, ud); if (p != NULL) { /* value is a userdata? */ if (lua_getmetatable(L, ud)) { /* does it have a metatable? */ -- cgit v1.2.3