summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSBundle.java
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSBundle.java')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSBundle.java24
1 files changed, 12 insertions, 12 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSBundle.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSBundle.java
index ab76f90053..b60b2e44d2 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSBundle.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSBundle.java
@@ -16,7 +16,7 @@ public NSBundle() {
super();
}
-public NSBundle(int /*long*/ id) {
+public NSBundle(long /*int*/ id) {
super(id);
}
@@ -24,57 +24,57 @@ public NSBundle(id id) {
super(id);
}
-public static boolean loadNibFile(NSString fileName, NSDictionary context, int /*long*/ zone) {
+public static boolean loadNibFile(NSString fileName, NSDictionary context, long /*int*/ zone) {
return OS.objc_msgSend_bool(OS.class_NSBundle, OS.sel_loadNibFile_externalNameTable_withZone_, fileName != null ? fileName.id : 0, context != null ? context.id : 0, zone);
}
public NSString bundleIdentifier() {
- int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_bundleIdentifier);
+ long /*int*/ result = OS.objc_msgSend(this.id, OS.sel_bundleIdentifier);
return result != 0 ? new NSString(result) : null;
}
public NSString bundlePath() {
- int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_bundlePath);
+ long /*int*/ result = OS.objc_msgSend(this.id, OS.sel_bundlePath);
return result != 0 ? new NSString(result) : null;
}
public static NSBundle bundleWithIdentifier(NSString identifier) {
- int /*long*/ result = OS.objc_msgSend(OS.class_NSBundle, OS.sel_bundleWithIdentifier_, identifier != null ? identifier.id : 0);
+ long /*int*/ result = OS.objc_msgSend(OS.class_NSBundle, OS.sel_bundleWithIdentifier_, identifier != null ? identifier.id : 0);
return result != 0 ? new NSBundle(result) : null;
}
public static NSBundle bundleWithPath(NSString path) {
- int /*long*/ result = OS.objc_msgSend(OS.class_NSBundle, OS.sel_bundleWithPath_, path != null ? path.id : 0);
+ long /*int*/ result = OS.objc_msgSend(OS.class_NSBundle, OS.sel_bundleWithPath_, path != null ? path.id : 0);
return result != 0 ? new NSBundle(result) : null;
}
public NSDictionary infoDictionary() {
- int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_infoDictionary);
+ long /*int*/ result = OS.objc_msgSend(this.id, OS.sel_infoDictionary);
return result != 0 ? new NSDictionary(result) : null;
}
public static NSBundle mainBundle() {
- int /*long*/ result = OS.objc_msgSend(OS.class_NSBundle, OS.sel_mainBundle);
+ long /*int*/ result = OS.objc_msgSend(OS.class_NSBundle, OS.sel_mainBundle);
return result != 0 ? new NSBundle(result) : null;
}
public id objectForInfoDictionaryKey(NSString key) {
- int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_objectForInfoDictionaryKey_, key != null ? key.id : 0);
+ long /*int*/ result = OS.objc_msgSend(this.id, OS.sel_objectForInfoDictionaryKey_, key != null ? key.id : 0);
return result != 0 ? new id(result) : null;
}
public NSString pathForResource(NSString name, NSString ext) {
- int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_pathForResource_ofType_, name != null ? name.id : 0, ext != null ? ext.id : 0);
+ long /*int*/ result = OS.objc_msgSend(this.id, OS.sel_pathForResource_ofType_, name != null ? name.id : 0, ext != null ? ext.id : 0);
return result != 0 ? new NSString(result) : null;
}
public NSString pathForResource(NSString name, NSString ext, NSString subpath, NSString localizationName) {
- int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_pathForResource_ofType_inDirectory_forLocalization_, name != null ? name.id : 0, ext != null ? ext.id : 0, subpath != null ? subpath.id : 0, localizationName != null ? localizationName.id : 0);
+ long /*int*/ result = OS.objc_msgSend(this.id, OS.sel_pathForResource_ofType_inDirectory_forLocalization_, name != null ? name.id : 0, ext != null ? ext.id : 0, subpath != null ? subpath.id : 0, localizationName != null ? localizationName.id : 0);
return result != 0 ? new NSString(result) : null;
}
public NSString resourcePath() {
- int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_resourcePath);
+ long /*int*/ result = OS.objc_msgSend(this.id, OS.sel_resourcePath);
return result != 0 ? new NSString(result) : null;
}