aboutsummaryrefslogtreecommitdiff
path: root/src/lua/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua/modules')
-rw-r--r--src/lua/modules/audio/audio.cpp5
-rw-r--r--src/lua/modules/bit/bit.cpp4
-rw-r--r--src/lua/modules/core/core.cpp6
-rw-r--r--src/lua/modules/filesystem/filesystem.cpp2
-rw-r--r--src/lua/modules/graphics/canvas.cpp4
-rw-r--r--src/lua/modules/graphics/texture.cpp2
-rw-r--r--src/lua/modules/joypad/joypad.cpp4
-rw-r--r--src/lua/modules/keyboard/keyboard.cpp4
-rw-r--r--src/lua/modules/math/math.cpp4
-rw-r--r--src/lua/modules/mouse/mouse.cpp6
10 files changed, 23 insertions, 18 deletions
diff --git a/src/lua/modules/audio/audio.cpp b/src/lua/modules/audio/audio.cpp
index 8e11b88..3d29e17 100644
--- a/src/lua/modules/audio/audio.cpp
+++ b/src/lua/modules/audio/audio.cpp
@@ -106,5 +106,6 @@ namespace lua
return 1;
}
-}
-} \ No newline at end of file
+
+} // lua
+} // jin \ No newline at end of file
diff --git a/src/lua/modules/bit/bit.cpp b/src/lua/modules/bit/bit.cpp
index 5b18125..c1ca840 100644
--- a/src/lua/modules/bit/bit.cpp
+++ b/src/lua/modules/bit/bit.cpp
@@ -80,5 +80,5 @@ namespace lua
return 1;
}
-}
-} \ No newline at end of file
+} // lua
+} // jin \ No newline at end of file
diff --git a/src/lua/modules/core/core.cpp b/src/lua/modules/core/core.cpp
index 0243554..4a370db 100644
--- a/src/lua/modules/core/core.cpp
+++ b/src/lua/modules/core/core.cpp
@@ -5,6 +5,7 @@ namespace jin
{
namespace lua
{
+
using namespace jin::core;
static int l_running(lua_State* L)
@@ -40,5 +41,6 @@ namespace lua
return 1;
}
-}
-} \ No newline at end of file
+
+} // lua
+} // jin \ No newline at end of file
diff --git a/src/lua/modules/filesystem/filesystem.cpp b/src/lua/modules/filesystem/filesystem.cpp
index e1d496e..f377f0c 100644
--- a/src/lua/modules/filesystem/filesystem.cpp
+++ b/src/lua/modules/filesystem/filesystem.cpp
@@ -135,5 +135,5 @@ namespace lua
return 0;
}
-} // filesystem
+} // lua
} // jin \ No newline at end of file
diff --git a/src/lua/modules/graphics/canvas.cpp b/src/lua/modules/graphics/canvas.cpp
index f42dfba..85ac49a 100644
--- a/src/lua/modules/graphics/canvas.cpp
+++ b/src/lua/modules/graphics/canvas.cpp
@@ -71,5 +71,5 @@ namespace lua
return 0;
}
-}// lua
-}// jin \ No newline at end of file
+} // lua
+} // jin \ No newline at end of file
diff --git a/src/lua/modules/graphics/texture.cpp b/src/lua/modules/graphics/texture.cpp
index 5bc208a..d1d187d 100644
--- a/src/lua/modules/graphics/texture.cpp
+++ b/src/lua/modules/graphics/texture.cpp
@@ -85,5 +85,5 @@ namespace lua
return 0;
}
-}// graphics
+}// lua
}// jin \ No newline at end of file
diff --git a/src/lua/modules/joypad/joypad.cpp b/src/lua/modules/joypad/joypad.cpp
index d305878..e951702 100644
--- a/src/lua/modules/joypad/joypad.cpp
+++ b/src/lua/modules/joypad/joypad.cpp
@@ -17,5 +17,5 @@ namespace lua
return 1;
}
-}
-} \ No newline at end of file
+} // lua
+} // jin \ No newline at end of file
diff --git a/src/lua/modules/keyboard/keyboard.cpp b/src/lua/modules/keyboard/keyboard.cpp
index 0df9562..1866211 100644
--- a/src/lua/modules/keyboard/keyboard.cpp
+++ b/src/lua/modules/keyboard/keyboard.cpp
@@ -13,5 +13,5 @@ namespace lua
return 1;
}
-}
-} \ No newline at end of file
+} // lua
+} // jin \ No newline at end of file
diff --git a/src/lua/modules/math/math.cpp b/src/lua/modules/math/math.cpp
index fa59e04..dafec72 100644
--- a/src/lua/modules/math/math.cpp
+++ b/src/lua/modules/math/math.cpp
@@ -26,5 +26,5 @@ namespace lua
return 1;
}
-}
-} \ No newline at end of file
+} // lua
+} // jin \ No newline at end of file
diff --git a/src/lua/modules/mouse/mouse.cpp b/src/lua/modules/mouse/mouse.cpp
index b7ce933..a43c275 100644
--- a/src/lua/modules/mouse/mouse.cpp
+++ b/src/lua/modules/mouse/mouse.cpp
@@ -5,6 +5,7 @@ namespace jin
{
namespace lua
{
+
using namespace jin::input;
static int l_pos(lua_State* L)
@@ -35,5 +36,6 @@ namespace lua
luax_newlib(L, f);
return 1;
}
-}
-} \ No newline at end of file
+
+} // lua
+} // jin \ No newline at end of file