summaryrefslogtreecommitdiff
path: root/src/cat/LegacyLuaAPI.cpp
diff options
context:
space:
mode:
authormniip <mniip@mniip.com>2013-05-02 21:54:21 (GMT)
committer mniip <mniip@mniip.com>2013-05-02 21:54:21 (GMT)
commit0233d8db466c6ef402e5008671cfa6555a2d896d (patch)
treeded1ec69a347315d7d09833334341599058be8cd /src/cat/LegacyLuaAPI.cpp
parentd8023d21cd8240d4aedc9d63a0e1cd056b15c919 (diff)
downloadpowder-0233d8db466c6ef402e5008671cfa6555a2d896d.zip
powder-0233d8db466c6ef402e5008671cfa6555a2d896d.tar.gz
print returned values; implicit return in console; console source
Diffstat (limited to 'src/cat/LegacyLuaAPI.cpp')
-rw-r--r--src/cat/LegacyLuaAPI.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cat/LegacyLuaAPI.cpp b/src/cat/LegacyLuaAPI.cpp
index 45b7f96..2166b14 100644
--- a/src/cat/LegacyLuaAPI.cpp
+++ b/src/cat/LegacyLuaAPI.cpp
@@ -664,7 +664,7 @@ void luacon_hook(lua_State * l, lua_Debug * ar)
}
}
-static int luaL_tostring (lua_State *L, int n) {
+int luaL_tostring (lua_State *L, int n) {
luaL_checkany(L, n);
switch (lua_type(L, n)) {
case LUA_TNUMBER: