Skip to content

Commit

Permalink
right thats how u do this
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed Feb 8, 2019
1 parent 49a281d commit 77ecb13
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/Song.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1991,47 +1991,47 @@ class LunaSong : public Luna<Song>
public:
static int GetDisplayFullTitle(T* p, lua_State* L)
{
LuaHelpers::push_lua_escaped_string(L, p->GetDisplayFullTitle());
lua_pushstring(L, p->GetDisplayFullTitle().c_str());
return 1;
}
static int GetTranslitFullTitle(T* p, lua_State* L)
{
LuaHelpers::push_lua_escaped_string(L, p->GetTranslitFullTitle());
lua_pushstring(L, p->GetTranslitFullTitle().c_str());
return 1;
}
static int GetDisplayMainTitle(T* p, lua_State* L)
{
LuaHelpers::push_lua_escaped_string(L, p->GetDisplayMainTitle());
lua_pushstring(L, p->GetDisplayMainTitle().c_str());
return 1;
}
static int GetMainTitle(T* p, lua_State* L)
{
LuaHelpers::push_lua_escaped_string(L, p->GetMainTitle());
lua_pushstring(L, p->GetDisplayMainTitle().c_str());
return 1;
}
static int GetTranslitMainTitle(T* p, lua_State* L)
{
LuaHelpers::push_lua_escaped_string(L, p->GetTranslitMainTitle());
lua_pushstring(L, p->GetTranslitMainTitle().c_str());
return 1;
}
static int GetDisplaySubTitle(T* p, lua_State* L)
{
LuaHelpers::push_lua_escaped_string(L, p->GetDisplaySubTitle());
lua_pushstring(L, p->GetDisplaySubTitle().c_str());
return 1;
}
static int GetTranslitSubTitle(T* p, lua_State* L)
{
LuaHelpers::push_lua_escaped_string(L, p->GetTranslitSubTitle());
lua_pushstring(L, p->GetTranslitSubTitle().c_str());
return 1;
}
static int GetDisplayArtist(T* p, lua_State* L)
{
LuaHelpers::push_lua_escaped_string(L, p->GetDisplayArtist());
lua_pushstring(L, p->GetDisplayArtist().c_str());
return 1;
}
static int GetTranslitArtist(T* p, lua_State* L)
{
LuaHelpers::push_lua_escaped_string(L, p->GetTranslitArtist());
lua_pushstring(L, p->GetTranslitArtist().c_str());
return 1;
}
static int GetGenre(T* p, lua_State* L)
Expand Down Expand Up @@ -2059,7 +2059,7 @@ class LunaSong : public Luna<Song>
}
static int GetSongDir(T* p, lua_State* L)
{
LuaHelpers::push_lua_escaped_string(L, p->GetSongDir());
lua_pushstring(L, p->GetSongDir().c_str());
return 1;
}
static int GetMusicPath(T* p, lua_State* L)
Expand Down

0 comments on commit 77ecb13

Please sign in to comment.