Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Wolf2019-02-02 06:37:57 -0500
committerLakshmi Shanmugam2019-02-05 05:16:21 -0500
commit94bbab9593afe86192ce9ff1c7d23f9003c3ef5e (patch)
tree16a64a85b598d0c062f77e265df39bb0415d57f0 /bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa
parent1d16307b68a3afaa25c4d00cd8614551091da218 (diff)
downloadeclipse.platform.swt-94bbab9593afe86192ce9ff1c7d23f9003c3ef5e.tar.gz
eclipse.platform.swt-94bbab9593afe86192ce9ff1c7d23f9003c3ef5e.tar.xz
eclipse.platform.swt-94bbab9593afe86192ce9ff1c7d23f9003c3ef5e.zip
Bug 534923 - Cocoa: objc_msgSend is called incorrectly from os.c
C calling conventions may be different for vararg and non-vararg functions. Change the generated code to not cast vararg functions to function pointers with non-vararg profiles. Instead annotate the objc_msgSend* functions in MacGenerator as "fixedargs=2" (meaning: it's a vararg function with two fixed parameters), and change the NativesGenerator to use this annotation to generate a cast to a function pointer with a vararg profile with that many fixed parameters. "fixedargs=0" or absence of the "fixedargs" annotation means all parameters are fixed; there are no varargs. The behavior in this case in unchanged. The casting cannot be avoided altogether; the objc_msgSend*_stret functions _must_ be casted. Also use BOOL as return type for the cast of objc_msgSendSuper_bool, not just for objc_msgSend_bool. Verified that casting to a profile with varargs indeed makes the compiler generate the assembly code that on x86_64 does clear register %al, as it should per the ABI spec.[1] The old code generated did not do this. (Verified with with cc -S using Apple's clang and inspecting the assembler output; on OS X 10.14.2.) Ran the new MacGenerator to regenerate the Cocoa OS.java, then ran the new JNIGenerator to regenerate the Cocoa os.c. Re-built the binary library. Set up an Eclipse using this rebuilt library and ran all SWT tests. All tests passed locally. [1] https://software.intel.com/sites/default/files/article/402129/mpx-linux64-abi.pdf Change-Id: Ib03226ad9ecdf4bfcf789cd2b42f592b9a2b9021 Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java282
1 files changed, 141 insertions, 141 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java
index 0d8a7bd603..d2cc4720df 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java
@@ -3802,521 +3802,521 @@ public static final native long /*int*/ NSTemporaryDirectory();
/** Super Sends */
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg0 flags=struct
*/
public static final native boolean objc_msgSendSuper_bool(objc_super superId, long /*int*/ sel, NSRange arg0, long /*int*/ arg1);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg1 flags=struct
*/
public static final native boolean objc_msgSendSuper_bool(objc_super superId, long /*int*/ sel, long /*int*/ arg0, NSPoint arg1);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native long /*int*/ objc_msgSendSuper(objc_super superId, long /*int*/ sel);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg0 flags=struct
*/
public static final native long /*int*/ objc_msgSendSuper(objc_super superId, long /*int*/ sel, NSPoint arg0);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg0 flags=struct
*/
public static final native long /*int*/ objc_msgSendSuper(objc_super superId, long /*int*/ sel, NSRect arg0);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg0 flags=struct
*/
public static final native long /*int*/ objc_msgSendSuper(objc_super superId, long /*int*/ sel, NSRect arg0, long /*int*/ arg1);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg0 flags=struct
*/
public static final native long /*int*/ objc_msgSendSuper(objc_super superId, long /*int*/ sel, NSSize arg0);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native long /*int*/ objc_msgSendSuper(objc_super superId, long /*int*/ sel, boolean arg0);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg1 flags=struct
*/
public static final native long /*int*/ objc_msgSendSuper(objc_super superId, long /*int*/ sel, boolean arg0, NSRect arg1);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native long /*int*/ objc_msgSendSuper(objc_super superId, long /*int*/ sel, long /*int*/ arg0);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg1 flags=struct
*/
public static final native long /*int*/ objc_msgSendSuper(objc_super superId, long /*int*/ sel, long /*int*/ arg0, NSPoint arg1);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg1 flags=struct
*/
public static final native long /*int*/ objc_msgSendSuper(objc_super superId, long /*int*/ sel, long /*int*/ arg0, NSPoint arg1, long /*int*/ arg2);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg1 flags=struct
*/
public static final native long /*int*/ objc_msgSendSuper(objc_super superId, long /*int*/ sel, long /*int*/ arg0, NSRect arg1, long /*int*/ arg2);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native long /*int*/ objc_msgSendSuper(objc_super superId, long /*int*/ sel, long /*int*/ arg0, boolean arg1);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native long /*int*/ objc_msgSendSuper(objc_super superId, long /*int*/ sel, long /*int*/ arg0, long /*int*/ arg1);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native long /*int*/ objc_msgSendSuper(objc_super superId, long /*int*/ sel, long /*int*/ arg0, long /*int*/ arg1, long /*int*/ arg2, boolean arg3);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native long /*int*/ objc_msgSendSuper(objc_super superId, long /*int*/ sel, long /*int*/ arg0, long /*int*/ arg1, long /*int*/ arg2, long /*int*/ arg3);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg0 flags=struct
*/
public static final native void objc_msgSendSuper_stret(NSRect result, objc_super superId, long /*int*/ sel, NSRect arg0);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg0 flags=struct
*/
public static final native void objc_msgSendSuper_stret(NSRect result, objc_super superId, long /*int*/ sel, NSRect arg0, long /*int*/ arg1);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native void objc_msgSendSuper_stret(NSRect result, objc_super superId, long /*int*/ sel, long /*int*/ arg0);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg1 flags=struct
*/
public static final native void objc_msgSendSuper_stret(NSRect result, objc_super superId, long /*int*/ sel, long /*int*/ arg0, NSRect arg1, long /*int*/ arg2);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native void objc_msgSendSuper_stret(NSSize result, objc_super superId, long /*int*/ sel);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg0 flags=struct
*/
public static final native void objc_msgSendSuper_stret(NSSize result, objc_super superId, long /*int*/ sel, NSRect arg0);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native void objc_msgSendSuper_stret(NSSize result, objc_super superId, long /*int*/ sel, boolean arg0);
/** Sends */
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native boolean objc_msgSend_bool(long /*int*/ id, long /*int*/ sel);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg0 flags=struct
*/
public static final native boolean objc_msgSend_bool(long /*int*/ id, long /*int*/ sel, NSPoint arg0);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg0 flags=struct
* @param arg1 flags=struct
*/
public static final native boolean objc_msgSend_bool(long /*int*/ id, long /*int*/ sel, NSPoint arg0, NSRect arg1);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg0 flags=struct
*/
public static final native boolean objc_msgSend_bool(long /*int*/ id, long /*int*/ sel, NSRange arg0, long /*int*/ arg1);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg0 flags=struct
*/
public static final native boolean objc_msgSend_bool(long /*int*/ id, long /*int*/ sel, NSRect arg0);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native boolean objc_msgSend_bool(long /*int*/ id, long /*int*/ sel, long /*int*/ arg0);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg1 flags=struct
*/
public static final native boolean objc_msgSend_bool(long /*int*/ id, long /*int*/ sel, long /*int*/ arg0, NSPoint arg1);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg1 flags=struct
*/
public static final native boolean objc_msgSend_bool(long /*int*/ id, long /*int*/ sel, long /*int*/ arg0, NSSize arg1, boolean arg2);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native boolean objc_msgSend_bool(long /*int*/ id, long /*int*/ sel, long /*int*/ arg0, long /*int*/ arg1);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native boolean objc_msgSend_bool(long /*int*/ id, long /*int*/ sel, long /*int*/ arg0, long /*int*/ arg1, long /*int*/ arg2);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native boolean objc_msgSend_bool(long /*int*/ id, long /*int*/ sel, long /*int*/ arg0, long /*int*/ arg1, long /*int*/ arg2, long /*int*/ arg3);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native boolean objc_msgSend_bool(long /*int*/ id, long /*int*/ sel, long /*int*/ arg0, long /*int*/ arg1, long /*int*/ arg2, long /*int*/ arg3, long /*int*/ arg4);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native boolean objc_msgSend_bool(long /*int*/ id, long /*int*/ sel, short arg0);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native double objc_msgSend_fpret(long /*int*/ id, long /*int*/ sel);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native double objc_msgSend_fpret(long /*int*/ id, long /*int*/ sel, long /*int*/ arg0);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native double objc_msgSend_fpret(long /*int*/ id, long /*int*/ sel, long /*int*/ arg0, long /*int*/ arg1);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native float objc_msgSend_floatret(long /*int*/ id, long /*int*/ sel);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg0 flags=struct
*/
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, NSAffineTransformStruct arg0);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg0 flags=struct
*/
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, NSPoint arg0);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg0 flags=struct
* @param arg1 flags=struct
* @param arg2 flags=struct
*/
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, NSPoint arg0, NSPoint arg1, NSPoint arg2);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg0 flags=struct
* @param arg1 flags=struct
*/
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, NSPoint arg0, NSPoint arg1, long /*int*/ arg2);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg0 flags=struct
* @param arg1 flags=struct
*/
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, NSPoint arg0, NSRect arg1, long /*int*/ arg2, double /*float*/ arg3);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg0 flags=struct
*/
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, NSPoint arg0, double /*float*/ arg1, double /*float*/ arg2, double /*float*/ arg3);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg0 flags=struct
*/
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, NSPoint arg0, double /*float*/ arg1, double /*float*/ arg2, double /*float*/ arg3, boolean arg4);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg0 flags=struct
*/
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, NSPoint arg0, long /*int*/ arg1);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg0 flags=struct
*/
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, NSPoint arg0, long /*int*/ arg1, double[] /*float[]*/ arg2);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg0 flags=struct
*/
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, NSRange arg0);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg0 flags=struct
* @param arg1 flags=struct
*/
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, NSRange arg0, NSPoint arg1);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg0 flags=struct
* @param arg1 flags=struct
*/
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, NSRange arg0, NSRange arg1, long /*int*/ arg2, long[] /*int[]*/ arg3);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg0 flags=struct
*/
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, NSRange arg0, long /*int*/ arg1);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg0 flags=struct
*/
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, NSRange arg0, long /*int*/ arg1, long /*int*/ arg2, long /*int*/ arg3, long /*int*/ arg4, byte[] arg5);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg0 flags=struct
*/
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, NSRect arg0);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg0 flags=struct
* @param arg1 flags=struct
*/
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, NSRect arg0, NSPoint arg1);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg0 flags=struct
* @param arg1 flags=struct
* @param arg2 flags=struct
*/
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, NSRect arg0, NSRange arg1, NSRect arg2);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg0 flags=struct
* @param arg1 flags=struct
*/
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, NSRect arg0, NSRect arg1, long /*int*/ arg2, double /*float*/ arg3);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg0 flags=struct
* @param arg1 flags=struct
*/
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, NSRect arg0, NSSize arg1);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg0 flags=struct
*/
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, NSRect arg0, boolean arg1);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg0 flags=struct
*/
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, NSRect arg0, boolean arg1, boolean arg2);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg0 flags=struct
*/
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, NSRect arg0, double /*float*/ arg1);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg0 flags=struct
*/
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, NSRect arg0, double /*float*/ arg1, double /*float*/ arg2);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg0 flags=struct
*/
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, NSRect arg0, long /*int*/ arg1);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg0 flags=struct
*/
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, NSRect arg0, long /*int*/ arg1, boolean arg2, long /*int*/ arg3);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg0 flags=struct
*/
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, NSRect arg0, long /*int*/ arg1, long /*int*/ arg2);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg0 flags=struct
*/
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, NSRect arg0, long /*int*/ arg1, long /*int*/ arg2, boolean arg3);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg0 flags=struct
*/
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, NSRect arg0, long /*int*/ arg1, long /*int*/ arg2, boolean arg3, long /*int*/ arg4);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg0 flags=struct
*/
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, NSRect arg0, long /*int*/ arg1, long /*int*/ arg2, long /*int*/ arg3);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg0 flags=struct
*/
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, NSSize arg0);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, boolean arg0);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg1 flags=struct
*/
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, boolean arg0, NSRect arg1);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, boolean arg0, long /*int*/ arg1);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, byte[] arg0);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, byte[] arg0, long /*int*/ arg1);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, char[] arg0);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg1 flags=struct
*/
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, char[] arg0, NSRange arg1);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, char[] arg0, long /*int*/ arg1);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, double arg0);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, double arg0, long /*int*/ arg1, long /*int*/ arg2, long /*int*/ arg3, boolean arg4);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, double /*float*/ arg0, double /*float*/ arg1);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, double /*float*/ arg0, double /*float*/ arg1, double /*float*/ arg2, double /*float*/ arg3);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, double /*float*/ arg0, long /*int*/ arg1);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, double[] /*float[]*/ arg0);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, double[] /*float[]*/ arg0, long /*int*/ arg1, double /*float*/ arg2);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, long /*int*/ arg0);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg1 flags=struct
*/
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, long /*int*/ arg0, NSPoint arg1);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg1 flags=struct
* @param arg2 flags=struct
*/
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, long /*int*/ arg0, NSPoint arg1, NSSize arg2, long /*int*/ arg3, long /*int*/ arg4, long /*int*/ arg5, boolean arg6);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg1 flags=struct
*/
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, long /*int*/ arg0, NSPoint arg1, long /*int*/ arg2);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg1 flags=struct
*/
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, long /*int*/ arg0, NSPoint arg1, long /*int*/ arg2, double arg3, long /*int*/ arg4, long /*int*/ arg5, long /*int*/ arg6, long /*int*/ arg7, long /*int*/ arg8);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg1 flags=struct
*/
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, long /*int*/ arg0, NSPoint arg1, long /*int*/ arg2, double arg3, long /*int*/ arg4, long /*int*/ arg5, short arg6, long /*int*/ arg7, long /*int*/ arg8);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg1 flags=struct
*/
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, long /*int*/ arg0, NSRange arg1);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg1 flags=struct
*/
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, long /*int*/ arg0, NSRect arg1, long /*int*/ arg2);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, long /*int*/ arg0, boolean arg1);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, long /*int*/ arg0, double /*float*/ arg1);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, long /*int*/ arg0, long /*int*/ arg1);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg2 flags=struct
*/
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, long /*int*/ arg0, long /*int*/ arg1, NSRange arg2);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, long /*int*/ arg0, long /*int*/ arg1, boolean arg2);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, long /*int*/ arg0, long /*int*/ arg1, double arg2, long /*int*/ arg3);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, long /*int*/ arg0, long /*int*/ arg1, long /*int*/ arg2);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, long /*int*/ arg0, long /*int*/ arg1, long /*int*/ arg2, boolean arg3);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, long /*int*/ arg0, long /*int*/ arg1, long /*int*/ arg2, double /*float*/ arg3);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, long /*int*/ arg0, long /*int*/ arg1, long /*int*/ arg2, long /*int*/ arg3);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, long /*int*/ arg0, long /*int*/ arg1, long /*int*/ arg2, long /*int*/ arg3, long /*int*/ arg4);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, long /*int*/ arg0, long /*int*/ arg1, long /*int*/ arg2, long /*int*/ arg3, long /*int*/ arg4, boolean arg5, boolean arg6, long /*int*/ arg7, long /*int*/ arg8, long /*int*/ arg9);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, long /*int*/ arg0, long /*int*/ arg1, long /*int*/ arg2, long /*int*/ arg3, long /*int*/ arg4, boolean arg5, boolean arg6, long /*int*/ arg7, long /*int*/ arg8, long /*int*/ arg9, long /*int*/ arg10);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, long /*int*/ arg0, long /*int*/ arg1, long /*int*/ arg2, long /*int*/ arg3, long /*int*/ arg4, long /*int*/ arg5);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, long /*int*/ arg0, long /*int*/ arg1, long /*int*/ arg2, long /*int*/ arg3, long /*int*/ arg4, long /*int*/ arg5, long /*int*/ arg6);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, long[] /*int[]*/ arg0);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, long[] /*int[]*/ arg0, int arg1, int arg2);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native long /*int*/ objc_msgSend(long /*int*/ id, long /*int*/ sel, int[] arg0, long /*int*/ arg1);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native int objc_msgSend(int id, int sel, float arg0);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native long objc_msgSend(long id, long sel, int arg0);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native long objc_msgSend(long id, long sel, int[] arg0);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native long objc_msgSend(long id, long sel, long[] arg0, long arg1, long arg2);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native void objc_msgSend_stret(NSAffineTransformStruct result, long /*int*/ id, long /*int*/ sel);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native void objc_msgSend_stret(NSPoint result, long /*int*/ id, long /*int*/ sel);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg0 flags=struct
*/
public static final native void objc_msgSend_stret(NSPoint result, long /*int*/ id, long /*int*/ sel, NSPoint arg0);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg0 flags=struct
*/
public static final native void objc_msgSend_stret(NSPoint result, long /*int*/ id, long /*int*/ sel, NSPoint arg0, long /*int*/ arg1);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native void objc_msgSend_stret(NSPoint result, long /*int*/ id, long /*int*/ sel, long /*int*/ arg0);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native void objc_msgSend_stret(NSRange result, long /*int*/ id, long /*int*/ sel);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg0 flags=struct
*/
public static final native void objc_msgSend_stret(NSRange result, long /*int*/ id, long /*int*/ sel, NSRange arg0, long /*int*/ arg1);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg0 flags=struct
*/
public static final native void objc_msgSend_stret(NSRange result, long /*int*/ id, long /*int*/ sel, NSRect arg0);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native void objc_msgSend_stret(NSRange result, long /*int*/ id, long /*int*/ sel, long /*int*/ arg0);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native void objc_msgSend_stret(NSRect result, long /*int*/ id, long /*int*/ sel);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg0 flags=struct
*/
public static final native void objc_msgSend_stret(NSRect result, long /*int*/ id, long /*int*/ sel, NSRange arg0, long /*int*/ arg1);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg0 flags=struct
*/
public static final native void objc_msgSend_stret(NSRect result, long /*int*/ id, long /*int*/ sel, NSRect arg0);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg0 flags=struct
*/
public static final native void objc_msgSend_stret(NSRect result, long /*int*/ id, long /*int*/ sel, NSRect arg0, long /*int*/ arg1);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg0 flags=struct
*/
public static final native void objc_msgSend_stret(NSRect result, long /*int*/ id, long /*int*/ sel, NSSize arg0, long /*int*/ arg1);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native void objc_msgSend_stret(NSRect result, long /*int*/ id, long /*int*/ sel, long /*int*/ arg0);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg1 flags=struct
*/
public static final native void objc_msgSend_stret(NSRect result, long /*int*/ id, long /*int*/ sel, long /*int*/ arg0, NSRect arg1, long /*int*/ arg2);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native void objc_msgSend_stret(NSRect result, long /*int*/ id, long /*int*/ sel, long /*int*/ arg0, long /*int*/ arg1);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native void objc_msgSend_stret(NSRect result, long /*int*/ id, long /*int*/ sel, long /*int*/ arg0, long /*int*/ arg1, boolean arg2);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native void objc_msgSend_stret(NSSize result, long /*int*/ id, long /*int*/ sel);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg0 flags=struct
*/
public static final native void objc_msgSend_stret(NSSize result, long /*int*/ id, long /*int*/ sel, NSRect arg0);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg0 flags=struct
*/
public static final native void objc_msgSend_stret(NSSize result, long /*int*/ id, long /*int*/ sel, NSSize arg0);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg0 flags=struct
*/
public static final native void objc_msgSend_stret(NSSize result, long /*int*/ id, long /*int*/ sel, NSSize arg0, boolean arg1, boolean arg2, long /*int*/ arg3);
/**
- * @method flags=cast
+ * @method flags=cast,fixedargs=2
* @param arg0 flags=struct
*/
public static final native void objc_msgSend_stret(NSSize result, long /*int*/ id, long /*int*/ sel, NSSize arg0, long /*int*/ arg1);
-/** @method flags=cast */
+/** @method flags=cast,fixedargs=2 */
public static final native void objc_msgSend_stret(NSSize result, long /*int*/ id, long /*int*/ sel, boolean arg0);
/** Sizeof natives */

Back to the top