diff options
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/os.c')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/os.c | 90 |
1 files changed, 0 insertions, 90 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/os.c b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/os.c index f869bd729d..8207275c20 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/os.c +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/os.c @@ -2097,18 +2097,6 @@ JNIEXPORT jint JNICALL OS_NATIVE(CGPoint_1sizeof) } #endif -#ifndef NO_CGPostKeyboardEvent -JNIEXPORT jint JNICALL OS_NATIVE(CGPostKeyboardEvent) - (JNIEnv *env, jclass that, jshort arg0, jshort arg1, jboolean arg2) -{ - jint rc = 0; - OS_NATIVE_ENTER(env, that, CGPostKeyboardEvent_FUNC); - rc = (jint)CGPostKeyboardEvent((CGCharCode)arg0, (CGKeyCode)arg1, (boolean_t)arg2); - OS_NATIVE_EXIT(env, that, CGPostKeyboardEvent_FUNC); - return rc; -} -#endif - #ifndef NO_CGRect_1sizeof JNIEXPORT jint JNICALL OS_NATIVE(CGRect_1sizeof) (JNIEnv *env, jclass that) @@ -2121,30 +2109,6 @@ JNIEXPORT jint JNICALL OS_NATIVE(CGRect_1sizeof) } #endif -#ifndef NO_CGSetLocalEventsFilterDuringSuppressionState -JNIEXPORT jint JNICALL OS_NATIVE(CGSetLocalEventsFilterDuringSuppressionState) - (JNIEnv *env, jclass that, jint arg0, jint arg1) -{ - jint rc = 0; - OS_NATIVE_ENTER(env, that, CGSetLocalEventsFilterDuringSuppressionState_FUNC); - rc = (jint)CGSetLocalEventsFilterDuringSuppressionState((CGEventFilterMask)arg0, (CGEventSuppressionState)arg1); - OS_NATIVE_EXIT(env, that, CGSetLocalEventsFilterDuringSuppressionState_FUNC); - return rc; -} -#endif - -#ifndef NO_CGSetLocalEventsSuppressionInterval -JNIEXPORT jint JNICALL OS_NATIVE(CGSetLocalEventsSuppressionInterval) - (JNIEnv *env, jclass that, jdouble arg0) -{ - jint rc = 0; - OS_NATIVE_ENTER(env, that, CGSetLocalEventsSuppressionInterval_FUNC); - rc = (jint)CGSetLocalEventsSuppressionInterval((CFTimeInterval)arg0); - OS_NATIVE_EXIT(env, that, CGSetLocalEventsSuppressionInterval_FUNC); - return rc; -} -#endif - #ifndef NO_CGSize_1sizeof JNIEXPORT jint JNICALL OS_NATIVE(CGSize_1sizeof) (JNIEnv *env, jclass that) @@ -2512,22 +2476,6 @@ fail: } #endif -#ifndef NO_Gestalt -JNIEXPORT jint JNICALL OS_NATIVE(Gestalt) - (JNIEnv *env, jclass that, jint arg0, jintArray arg1) -{ - jint *lparg1=NULL; - jint rc = 0; - OS_NATIVE_ENTER(env, that, Gestalt_FUNC); - if (arg1) if ((lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL)) == NULL) goto fail; - rc = (jint)Gestalt(arg0, lparg1); -fail: - if (arg1 && lparg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0); - OS_NATIVE_EXIT(env, that, Gestalt_FUNC); - return rc; -} -#endif - #ifndef NO_GetCurrentEventButtonState JNIEXPORT jint JNICALL OS_NATIVE(GetCurrentEventButtonState) (JNIEnv *env, jclass that) @@ -3991,18 +3939,6 @@ JNIEXPORT jlong JNICALL OS_NATIVE(NSAccessibilitySliderRole) } #endif -#ifndef NO_NSAccessibilitySortButtonRole -JNIEXPORT jlong JNICALL OS_NATIVE(NSAccessibilitySortButtonRole) - (JNIEnv *env, jclass that) -{ - jlong rc = 0; - OS_NATIVE_ENTER(env, that, NSAccessibilitySortButtonRole_FUNC); - rc = (jlong)NSAccessibilitySortButtonRole; - OS_NATIVE_EXIT(env, that, NSAccessibilitySortButtonRole_FUNC); - return rc; -} -#endif - #ifndef NO_NSAccessibilitySplitterRole JNIEXPORT jlong JNICALL OS_NATIVE(NSAccessibilitySplitterRole) (JNIEnv *env, jclass that) @@ -4625,20 +4561,6 @@ JNIEXPORT jlong JNICALL OS_NATIVE(NSCalibratedRGBColorSpace) } #endif -#ifndef NO_NSCountWindows -JNIEXPORT void JNICALL OS_NATIVE(NSCountWindows) - (JNIEnv *env, jclass that, jlongArray arg0) -{ - jlong *lparg0=NULL; - OS_NATIVE_ENTER(env, that, NSCountWindows_FUNC); - if (arg0) if ((lparg0 = (*env)->GetLongArrayElements(env, arg0, NULL)) == NULL) goto fail; - NSCountWindows((NSInteger*)lparg0); -fail: - if (arg0 && lparg0) (*env)->ReleaseLongArrayElements(env, arg0, lparg0, 0); - OS_NATIVE_EXIT(env, that, NSCountWindows_FUNC); -} -#endif - #ifndef NO_NSCursorAttributeName JNIEXPORT jlong JNICALL OS_NATIVE(NSCursorAttributeName) (JNIEnv *env, jclass that) @@ -4718,18 +4640,6 @@ fail: } #endif -#ifndef NO_NSErrorFailingURLStringKey -JNIEXPORT jlong JNICALL OS_NATIVE(NSErrorFailingURLStringKey) - (JNIEnv *env, jclass that) -{ - jlong rc = 0; - OS_NATIVE_ENTER(env, that, NSErrorFailingURLStringKey_FUNC); - rc = (jlong)NSErrorFailingURLStringKey; - OS_NATIVE_EXIT(env, that, NSErrorFailingURLStringKey_FUNC); - return rc; -} -#endif - #ifndef NO_NSEventTrackingRunLoopMode JNIEXPORT jlong JNICALL OS_NATIVE(NSEventTrackingRunLoopMode) (JNIEnv *env, jclass that) |