Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSilenio Quarti2008-09-05 09:51:27 -0400
committerSilenio Quarti2008-09-05 09:51:27 -0400
commit5d0bc792c00d495593d293dad86c9a16ff7dc208 (patch)
tree7843489db0f9a434e218014075cd640e8d1bee75
parent44c3e1921df4f230df3a174563ed1cc402d1a8f9 (diff)
downloadeclipse.platform.swt-5d0bc792c00d495593d293dad86c9a16ff7dc208.tar.gz
eclipse.platform.swt-5d0bc792c00d495593d293dad86c9a16ff7dc208.tar.xz
eclipse.platform.swt-5d0bc792c00d495593d293dad86c9a16ff7dc208.zip
bug in C compiler: label cannot be at the end of the method
-rw-r--r--bundles/org.eclipse.swt.tools/Mac Generation/org/eclipse/swt/tools/internal/MacGenerator.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt.tools/Mac Generation/org/eclipse/swt/tools/internal/MacGenerator.java b/bundles/org.eclipse.swt.tools/Mac Generation/org/eclipse/swt/tools/internal/MacGenerator.java
index ef55e87a15..d5f00a9003 100644
--- a/bundles/org.eclipse.swt.tools/Mac Generation/org/eclipse/swt/tools/internal/MacGenerator.java
+++ b/bundles/org.eclipse.swt.tools/Mac Generation/org/eclipse/swt/tools/internal/MacGenerator.java
@@ -974,7 +974,8 @@ void generateStructNatives() {
outln();
out(" * @param dest cast=(void *),flags=no_in critical");
outln();
- out(" * @param src cast=(void *),flags=no_out critical");
+ out(" * @param src cast=(void *),flags=critical");
+// out(" * @param src cast=(void *),flags=no_out critical");
outln();
out(" */");
outln();
@@ -987,7 +988,8 @@ void generateStructNatives() {
outln();
out(" * @param dest cast=(void *),flags=no_in critical");
outln();
- out(" * @param src cast=(void *),flags=no_out critical");
+ out(" * @param src cast=(void *),flags=critical");
+// out(" * @param src cast=(void *),flags=no_out critical");
outln();
out(" */");
outln();

Back to the top