Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torch/qttorch.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Deltheil <cedric@moodstocks.com>2015-08-18 15:31:16 +0300
committerCédric Deltheil <cedric@moodstocks.com>2015-08-18 15:31:16 +0300
commitb17c05d562dba79be3d424b74b9deba0c3404130 (patch)
tree9d8269b85d557d307a68bfdde7073f530d5cafb3
parent0d537ffe91ba33429cdcf5ed424e770d04749586 (diff)
Lua 5.2: use `luaT_setfuncs` compat function
This fixes 39fb14c
-rw-r--r--qttorch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qttorch.cpp b/qttorch.cpp
index edce734..9216b07 100644
--- a/qttorch.cpp
+++ b/qttorch.cpp
@@ -47,7 +47,7 @@ int luaopen_libqttorch(lua_State *L)
// enrichs QImage
luaQ_pushmeta(L, QMetaType::QImage);
luaQ_getfield(L, -1, "__metatable");
- luaL_setfuncs(L, qttorch_qimage_lib, 0);
+ luaT_setfuncs(L, qttorch_qimage_lib, 0);
return 0;
}