Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/os.c
Original file line number Diff line number Diff line change
Expand Up @@ -7645,7 +7645,7 @@ JNIEXPORT jlong JNICALL OS_NATIVE(sel_1registerName)
jlong rc = 0;
OS_NATIVE_ENTER(env, that, sel_1registerName_FUNC);
if (arg0) if ((lparg0 = (*env)->GetStringUTFChars(env, arg0, NULL)) == NULL) goto fail;
rc = (jlong)sel_registerName(lparg0);
rc = (jlong)((jlong (*)(const char*))sel_registerName)((const char*)lparg0);
fail:
if (arg0 && lparg0) (*env)->ReleaseStringUTFChars(env, arg0, lparg0);
OS_NATIVE_EXIT(env, that, sel_1registerName_FUNC);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -562,6 +562,10 @@ public static boolean isBigSurOrLater () {
* @param clazz cast=(Class)
*/
public static final native long object_setClass(long obj, long clazz);
/**
* @method flags=cast
* @param selectorName cast=(const char*)
*/
public static final native long sel_registerName(String selectorName);
public static final native int objc_super_sizeof();

Expand Down
Loading