aboutsummaryrefslogtreecommitdiff
path: root/src/lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua')
-rw-r--r--src/lua/embed/boot.lua.h2
-rw-r--r--src/lua/graphics/luaopen_graphics.cpp2
-rw-r--r--src/lua/net/Socket.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/lua/embed/boot.lua.h b/src/lua/embed/boot.lua.h
index fc201d1..c2efd0e 100644
--- a/src/lua/embed/boot.lua.h
+++ b/src/lua/embed/boot.lua.h
@@ -30,7 +30,7 @@ local function safecall(func, ...)
if func then
func(...)
end
-end
+end
function jin.core.run()
safecall(jin.core.onLoad)
diff --git a/src/lua/graphics/luaopen_graphics.cpp b/src/lua/graphics/luaopen_graphics.cpp
index 31c5719..5b7f848 100644
--- a/src/lua/graphics/luaopen_graphics.cpp
+++ b/src/lua/graphics/luaopen_graphics.cpp
@@ -540,4 +540,4 @@ namespace lua
}
}// lua
-}// jin
+}// jin \ No newline at end of file
diff --git a/src/lua/net/Socket.h b/src/lua/net/Socket.h
index e3ef9c2..f679bd1 100644
--- a/src/lua/net/Socket.h
+++ b/src/lua/net/Socket.h
@@ -17,7 +17,7 @@ namespace net
{
public:
- Socket(SocketInformation info)
+ Socket(const SocketInformation& info)
{
socket = new jin::net::Socket(info);
}