From 012ce3a585a08c8c2daffb353cd56c9655cf7f15 Mon Sep 17 00:00:00 2001 From: Bill Meltsner Date: Mon, 15 Mar 2010 01:39:28 -0400 Subject: [PATCH] I'm stupid and forgot to add return statements to the new functions --- src/modules/audio/wrap_Source.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/modules/audio/wrap_Source.cpp b/src/modules/audio/wrap_Source.cpp index b3440ccc0..e75fa5277 100644 --- a/src/modules/audio/wrap_Source.cpp +++ b/src/modules/audio/wrap_Source.cpp @@ -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)