summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableAttributedString.java
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableAttributedString.java')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableAttributedString.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableAttributedString.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableAttributedString.java
index fd4b025678..853a2fb36d 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableAttributedString.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableAttributedString.java
@@ -16,7 +16,7 @@ public NSMutableAttributedString() {
super();
}
-public NSMutableAttributedString(int /*long*/ id) {
+public NSMutableAttributedString(long /*int*/ id) {
super(id);
}
@@ -24,7 +24,7 @@ public NSMutableAttributedString(id id) {
super(id);
}
-public void setBaseWritingDirection(int /*long*/ writingDirection, NSRange range) {
+public void setBaseWritingDirection(long /*int*/ writingDirection, NSRange range) {
OS.objc_msgSend(this.id, OS.sel_setBaseWritingDirection_range_, writingDirection, range);
}
@@ -45,7 +45,7 @@ public void endEditing() {
}
public NSMutableString mutableString() {
- int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_mutableString);
+ long /*int*/ result = OS.objc_msgSend(this.id, OS.sel_mutableString);
return result != 0 ? new NSMutableString(result) : null;
}
@@ -62,7 +62,7 @@ public void setAttributedString(NSAttributedString attrString) {
}
public static NSAttributedString attributedStringWithAttachment(NSTextAttachment attachment) {
- int /*long*/ result = OS.objc_msgSend(OS.class_NSMutableAttributedString, OS.sel_attributedStringWithAttachment_, attachment != null ? attachment.id : 0);
+ long /*int*/ result = OS.objc_msgSend(OS.class_NSMutableAttributedString, OS.sel_attributedStringWithAttachment_, attachment != null ? attachment.id : 0);
return result != 0 ? new NSAttributedString(result) : null;
}