Fix for last commit
authorMatthias Braun <matze@braunis.de>
Wed, 29 Jun 2005 01:01:11 +0000 (01:01 +0000)
committerMatthias Braun <matze@braunis.de>
Wed, 29 Jun 2005 01:01:11 +0000 (01:01 +0000)
SVN-Revision: 2652

tools/miniswig/create_wrapper.cpp

index 7adce5d..1e78d52 100644 (file)
@@ -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";
         }