From 15b35312d225ecd56da7b395ce61a9e5be9782eb Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Wed, 29 Jun 2005 01:01:11 +0000 Subject: [PATCH] Fix for last commit SVN-Revision: 2652 --- tools/miniswig/create_wrapper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/miniswig/create_wrapper.cpp b/tools/miniswig/create_wrapper.cpp index 7adce5d7c..1e78d520e 100644 --- a/tools/miniswig/create_wrapper.cpp +++ b/tools/miniswig/create_wrapper.cpp @@ -193,7 +193,7 @@ WrapperCreator::create_function_wrapper(Class* _class, Function* function) // push return value back on stack and return if(function->return_type.is_void()) { if(function->docu_comment.find("@SUSPEND@") != std::string::npos) { - out << ind << "sq_suspendvm(v);\n"; + out << ind << "return sq_suspendvm(v);\n"; } else { out << ind << "return 0;\n"; } -- 2.11.0