summaryrefslogtreecommitdiff
path: root/client/luawidget.cc
diff options
context:
space:
mode:
authordeva <deva>2010-08-28 13:54:43 +0000
committerdeva <deva>2010-08-28 13:54:43 +0000
commite90442fe60c1e758709419767970b77cdfd2e3a8 (patch)
tree6c041032df5dc78d634404facc9784adfd93c757 /client/luawidget.cc
parent02b791c8edb911895b5e71e6521db1d6799c34c8 (diff)
Initial (untested) shot at a lua<->QSql wrapper.
Diffstat (limited to 'client/luawidget.cc')
-rw-r--r--client/luawidget.cc2
1 files changed, 1 insertions, 1 deletions
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? */