aboutsummaryrefslogtreecommitdiff
path: root/src/lua/audio/luaopen_Source.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua/audio/luaopen_Source.cpp')
-rw-r--r--src/lua/audio/luaopen_Source.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lua/audio/luaopen_Source.cpp b/src/lua/audio/luaopen_Source.cpp
index cff3f7f..10aab4d 100644
--- a/src/lua/audio/luaopen_Source.cpp
+++ b/src/lua/audio/luaopen_Source.cpp
@@ -11,7 +11,7 @@ namespace lua
static inline SDLSource* checkSource(lua_State* L)
{
- Proxy* proxy = (Proxy*)luax_checktype(L, 1, TYPE_SOURCE);
+ Proxy* proxy = (Proxy*)luax_checktype(L, 1, JIN_AUDIO_SOURCE);
if (proxy != 0 && proxy != nullptr)
return (SDLSource*)proxy->object;
return nullptr;
@@ -108,7 +108,7 @@ namespace lua
int luaopen_Source(lua_State* L)
{
- luax_newtype(L, TYPE_SOURCE, f);
+ luax_newtype(L, JIN_AUDIO_SOURCE, f);
return 0;
}