projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9df473
)
Fix for last commit
author
Matthias Braun
<matze@braunis.de>
Wed, 29 Jun 2005 01:01:11 +0000
(
01:01
+0000)
committer
Matthias Braun
<matze@braunis.de>
Wed, 29 Jun 2005 01:01:11 +0000
(
01:01
+0000)
SVN-Revision: 2652
tools/miniswig/create_wrapper.cpp
patch
|
blob
|
history
diff --git
a/tools/miniswig/create_wrapper.cpp
b/tools/miniswig/create_wrapper.cpp
index
7adce5d
..
1e78d52
100644
(file)
--- 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";
}