I'm stupid and forgot to add return statements to the new functions

This commit is contained in:
Bill Meltsner
2010-03-15 01:39:28 -04:00
parent 866f826e41
commit 012ce3a585
+5
View File
@@ -33,30 +33,35 @@ namespace audio
{
Source * t = luax_checksource(L, 1);
t->play();
return 0;
}
int w_Source_stop(lua_State * L)
{
Source * t = luax_checksource(L, 1);
t->stop();
return 0;
}
int w_Source_pause(lua_State * L)
{
Source * t = luax_checksource(L, 1);
t->pause();
return 0;
}
int w_Source_resume(lua_State * L)
{
Source * t = luax_checksource(L, 1);
t->resume();
return 0;
}
int w_Source_rewind(lua_State * L)
{
Source * t = luax_checksource(L, 1);
t->rewind();
return 0;
}
int w_Source_setPitch(lua_State * L)