summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT PI/carbon
diff options
context:
space:
mode:
authorFelipe Heidrich <fheidric>2009-06-30 22:00:12 +0000
committerFelipe Heidrich <fheidric>2009-06-30 22:00:12 +0000
commitf664d297f7bb009784868bf3fcf0b3e3bb9a646b (patch)
tree54012fe4929893eef4891c88cbbf5841272ff433 /bundles/org.eclipse.swt/Eclipse SWT PI/carbon
parentbc18a5e014088ce811f09c603b88361094486062 (diff)
downloadeclipse.platform.swt-f664d297f7bb009784868bf3fcf0b3e3bb9a646b.tar.gz
eclipse.platform.swt-f664d297f7bb009784868bf3fcf0b3e3bb9a646b.tar.xz
eclipse.platform.swt-f664d297f7bb009784868bf3fcf0b3e3bb9a646b.zip
*** empty log message ***
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/carbon')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/build.sh21
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/build.xml36
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/cocoa.c520
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/cocoa.h35
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/cocoa_custom.c316
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/cocoa_custom.h14
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/cocoa_stats.c77
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/cocoa_stats.h63
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/cocoa_structs.c122
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/cocoa_structs.h49
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/make_macosx.mak101
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os.c13979
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os.h26
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os_custom.c304
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os_custom.h34
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os_stats.c1027
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os_stats.h1013
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os_structs.c3759
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os_structs.h949
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/Lock.java36
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/Platform.java18
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/AEDesc.java22
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/ATSFontMetrics.java33
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/ATSLayoutRecord.java22
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/ATSTrapezoid.java38
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/ATSUCaret.java22
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/ATSUTab.java20
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/ATSUUnhighlightData.java27
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/AlertStdCFStringAlertParamRec.java32
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/BitMap.java30
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/CFRange.java22
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/CFRunLoopSourceContext.java38
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/CGFunctionCallbacks.java23
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/CGPathElement.java22
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/CGPatternCallbacks.java23
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/CGPoint.java22
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/CGRect.java26
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/CGSize.java20
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/ColorPickerInfo.java65
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/ControlButtonContentInfo.java22
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/ControlEditTextSelectionRec.java20
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/ControlFontStyleRec.java38
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/ControlKind.java20
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/ControlTabEntry.java24
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/ControlTabInfoRecV1.java24
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/Cursor.java24
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/DataBrowserAccessibilityItemInfo.java29
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/DataBrowserCallbacks.java40
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/DataBrowserCustomCallbacks.java33
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/DataBrowserListViewColumnDesc.java70
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/DataBrowserListViewHeaderDesc.java58
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/EventRecord.java28
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/GDevice.java52
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIAxisPosition.java22
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIAxisScale.java22
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIBinding.java22
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HICommand.java25
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HILayoutInfo.java22
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIPositioning.java20
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIScaling.java20
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIScrollBarTrackInfo.java22
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HISideBinding.java22
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIThemeAnimationFrameInfo.java19
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIThemeAnimationTimeInfo.java20
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIThemeBackgroundDrawInfo.java21
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIThemeButtonDrawInfo.java27
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIThemeFrameDrawInfo.java22
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIThemeGroupBoxDrawInfo.java21
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIThemeGrowBoxDrawInfo.java23
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIThemePopupArrowDrawInfo.java22
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIThemeSeparatorDrawInfo.java20
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIThemeTabDrawInfo.java27
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIThemeTabPaneDrawInfo.java26
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIThemeTextInfo.java27
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIThemeTrackDrawInfo.java45
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HMHelpContentRec.java38
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/LSApplicationParameters.java30
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/LongDateRec.java46
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/MenuTrackingData.java33
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/NavCBRec.java29
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/NavDialogCreationOptions.java46
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/NavEventData.java20
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/NavEventDataInfo.java22
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/NavFileOrFolderInfo.java26
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/NavMenuItemSpec.java23
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/NavReplyRecord.java47
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/OS.java5788
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/PMRect.java26
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/PMResolution.java20
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/PixMap.java32
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/Point.java20
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/ProgressTrackInfo.java19
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/RGBColor.java21
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/Rect.java22
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/ScrollBarTrackInfo.java20
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/SliderTrackInfo.java20
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/TXNBackground.java25
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/TXNTab.java21
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/TextRange.java21
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/ThemeButtonDrawInfo.java24
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/cocoa/Cocoa.java422
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/cocoa/NSPoint.java19
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/cocoa/NSRect.java25
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/cocoa/NSSize.java19
104 files changed, 0 insertions, 30929 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/build.sh b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/build.sh
deleted file mode 100644
index c0012407df..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/build.sh
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/sh
-#*******************************************************************************
-# Copyright (c) 2000, 2007 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-#*******************************************************************************
-
-cd `dirname $0`
-
-OUTPUT_DIR=../../../org.eclipse.swt.carbon.macosx
-
-export OUTPUT_DIR
-
-export MACOSX_DEPLOYMENT_TARGET=10.3
-
-make -f make_macosx.mak $1 $2 $3 $4 $5 $6 $7 $8 $9
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/build.xml b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/build.xml
deleted file mode 100644
index 34d3343a43..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/build.xml
+++ /dev/null
@@ -1,36 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
- <!--
- Copyright (c) 2009 IBM Corporation and others.
- All rights reserved. This program and the accompanying materials
- are made available under the terms of the Eclipse Public License v1.0
- which accompanies this distribution, and is available at
- http://www.eclipse.org/legal/epl-v10.html
-
- Contributors:
- IBM Corporation - initial API and implementation
- -->
-
-<project default="build_carbon_lib" basedir="../../..">
-
-<target name="init">
- <eclipse.refreshLocal resource="org.eclipse.swt" depth="infinite" />
- <eclipse.refreshLocal resource="org.eclipse.swt.tools" depth="infinite" />
- <eclipse.incrementalBuild project="org.eclipse.swt" kind="incr" />
-</target>
-
-<target name="build_carbon_lib" depends="init">
- <exec dir="./bin/library" executable="sh">
- <arg line="${basedir}/bin/library/build.sh"/>
- <arg line="install"/>
- </exec>
- <eclipse.refreshLocal resource="org.eclipse.swt.carbon.macosx" depth="infinite" />
-</target>
-
-<target name="clean">
- <exec dir="./bin/library" executable="sh">
- <arg line="${basedir}/bin/library/build.sh"/>
- <arg line="clean"/>
- </exec>
-</target>
-
-</project> \ No newline at end of file
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/cocoa.c b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/cocoa.c
deleted file mode 100644
index 0609152d1f..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/cocoa.c
+++ /dev/null
@@ -1,520 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2009 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-
-#include "swt.h"
-#include "cocoa_structs.h"
-#include "cocoa_stats.h"
-
-#define Cocoa_NATIVE(func) Java_org_eclipse_swt_internal_cocoa_Cocoa_##func
-
-#ifndef NO_HICocoaViewCreate
-JNIEXPORT jint JNICALL Cocoa_NATIVE(HICocoaViewCreate)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jintArray arg2)
-{
- jint *lparg2=NULL;
- jint rc = 0;
- Cocoa_NATIVE_ENTER(env, that, HICocoaViewCreate_FUNC);
- if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail;
-/*
- rc = (jint)HICocoaViewCreate(arg0, arg1, lparg2);
-*/
- {
- LOAD_FUNCTION(fp, HICocoaViewCreate)
- if (fp) {
- rc = (jint)((jint (CALLING_CONVENTION*)(jint, jint, jint *))fp)(arg0, arg1, lparg2);
- }
- }
-fail:
- if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- Cocoa_NATIVE_EXIT(env, that, HICocoaViewCreate_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIWebViewCreate
-JNIEXPORT jint JNICALL Cocoa_NATIVE(HIWebViewCreate)
- (JNIEnv *env, jclass that, jintArray arg0)
-{
- jint *lparg0=NULL;
- jint rc = 0;
- Cocoa_NATIVE_ENTER(env, that, HIWebViewCreate_FUNC);
- if (arg0) if ((lparg0 = (*env)->GetIntArrayElements(env, arg0, NULL)) == NULL) goto fail;
- rc = (jint)HIWebViewCreate((HIViewRef *)lparg0);
-fail:
- if (arg0 && lparg0) (*env)->ReleaseIntArrayElements(env, arg0, lparg0, 0);
- Cocoa_NATIVE_EXIT(env, that, HIWebViewCreate_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIWebViewGetWebView
-JNIEXPORT jint JNICALL Cocoa_NATIVE(HIWebViewGetWebView)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- Cocoa_NATIVE_ENTER(env, that, HIWebViewGetWebView_FUNC);
- rc = (jint)HIWebViewGetWebView((HIViewRef)arg0);
- Cocoa_NATIVE_EXIT(env, that, HIWebViewGetWebView_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_NSDeviceRGBColorSpace
-JNIEXPORT jint JNICALL Cocoa_NATIVE(NSDeviceRGBColorSpace)
- (JNIEnv *env, jclass that)
-{
- jint rc = 0;
- Cocoa_NATIVE_ENTER(env, that, NSDeviceRGBColorSpace_FUNC);
- rc = (jint)NSDeviceRGBColorSpace;
- Cocoa_NATIVE_EXIT(env, that, NSDeviceRGBColorSpace_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_NSSearchPathForDirectoriesInDomains
-JNIEXPORT jint JNICALL Cocoa_NATIVE(NSSearchPathForDirectoriesInDomains)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jboolean arg2)
-{
- jint rc = 0;
- Cocoa_NATIVE_ENTER(env, that, NSSearchPathForDirectoriesInDomains_FUNC);
- rc = (jint)NSSearchPathForDirectoriesInDomains((NSSearchPathDirectory)arg0, (NSSearchPathDomainMask)arg1, (BOOL)arg2);
- Cocoa_NATIVE_EXIT(env, that, NSSearchPathForDirectoriesInDomains_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_WebInitForCarbon
-JNIEXPORT void JNICALL Cocoa_NATIVE(WebInitForCarbon)
- (JNIEnv *env, jclass that)
-{
- Cocoa_NATIVE_ENTER(env, that, WebInitForCarbon_FUNC);
- WebInitForCarbon();
- Cocoa_NATIVE_EXIT(env, that, WebInitForCarbon_FUNC);
-}
-#endif
-
-#ifndef NO_class_1getClassMethod
-JNIEXPORT jintLong JNICALL Cocoa_NATIVE(class_1getClassMethod)
- (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1)
-{
- jintLong rc = 0;
- Cocoa_NATIVE_ENTER(env, that, class_1getClassMethod_FUNC);
- rc = (jintLong)class_getClassMethod((Class)arg0, (SEL)arg1);
- Cocoa_NATIVE_EXIT(env, that, class_1getClassMethod_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_memcpy
-JNIEXPORT void JNICALL Cocoa_NATIVE(memcpy)
- (JNIEnv *env, jclass that, jobject arg0, jint arg1, jint arg2)
-{
- NSRect _arg0, *lparg0=NULL;
- Cocoa_NATIVE_ENTER(env, that, memcpy_FUNC);
- if (arg0) if ((lparg0 = getNSRectFields(env, arg0, &_arg0)) == NULL) goto fail;
- memcpy(lparg0, (void *)arg1, arg2);
-fail:
- if (arg0 && lparg0) setNSRectFields(env, arg0, lparg0);
- Cocoa_NATIVE_EXIT(env, that, memcpy_FUNC);
-}
-#endif
-
-#ifndef NO_memmove
-JNIEXPORT void JNICALL Cocoa_NATIVE(memmove)
- (JNIEnv *env, jclass that, jobject arg0, jint arg1, jint arg2)
-{
- NSPoint _arg0, *lparg0=NULL;
- Cocoa_NATIVE_ENTER(env, that, memmove_FUNC);
- if (arg0) if ((lparg0 = getNSPointFields(env, arg0, &_arg0)) == NULL) goto fail;
- memmove(lparg0, (void *)arg1, arg2);
-fail:
- if (arg0 && lparg0) setNSPointFields(env, arg0, lparg0);
- Cocoa_NATIVE_EXIT(env, that, memmove_FUNC);
-}
-#endif
-
-#ifndef NO_objc_1getClass
-JNIEXPORT jint JNICALL Cocoa_NATIVE(objc_1getClass)
- (JNIEnv *env, jclass that, jbyteArray arg0)
-{
- jbyte *lparg0=NULL;
- jint rc = 0;
- Cocoa_NATIVE_ENTER(env, that, objc_1getClass_FUNC);
- if (arg0) if ((lparg0 = (*env)->GetByteArrayElements(env, arg0, NULL)) == NULL) goto fail;
- rc = (jint)objc_getClass((const char *)lparg0);
-fail:
- if (arg0 && lparg0) (*env)->ReleaseByteArrayElements(env, arg0, lparg0, 0);
- Cocoa_NATIVE_EXIT(env, that, objc_1getClass_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_objc_1getMetaClass
-JNIEXPORT jint JNICALL Cocoa_NATIVE(objc_1getMetaClass)
- (JNIEnv *env, jclass that, jbyteArray arg0)
-{
- jbyte *lparg0=NULL;
- jint rc = 0;
- Cocoa_NATIVE_ENTER(env, that, objc_1getMetaClass_FUNC);
- if (arg0) if ((lparg0 = (*env)->GetByteArrayElements(env, arg0, NULL)) == NULL) goto fail;
- rc = (jint)objc_getMetaClass((const char *)lparg0);
-fail:
- if (arg0 && lparg0) (*env)->ReleaseByteArrayElements(env, arg0, lparg0, 0);
- Cocoa_NATIVE_EXIT(env, that, objc_1getMetaClass_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_objc_1msgSend__II
-JNIEXPORT jint JNICALL Cocoa_NATIVE(objc_1msgSend__II)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- jint rc = 0;
- Cocoa_NATIVE_ENTER(env, that, objc_1msgSend__II_FUNC);
- rc = (jint)objc_msgSend((id)arg0, (SEL)arg1);
- Cocoa_NATIVE_EXIT(env, that, objc_1msgSend__II_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_objc_1msgSend__IID
-JNIEXPORT jint JNICALL Cocoa_NATIVE(objc_1msgSend__IID)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jdouble arg2)
-{
- jint rc = 0;
- Cocoa_NATIVE_ENTER(env, that, objc_1msgSend__IID_FUNC);
- rc = (jint)((jint (*)(id, SEL, jdouble))objc_msgSend)((id)arg0, (SEL)arg1, arg2);
- Cocoa_NATIVE_EXIT(env, that, objc_1msgSend__IID_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_objc_1msgSend__IIF
-JNIEXPORT jint JNICALL Cocoa_NATIVE(objc_1msgSend__IIF)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jfloat arg2)
-{
- jint rc = 0;
- Cocoa_NATIVE_ENTER(env, that, objc_1msgSend__IIF_FUNC);
- rc = (jint)((jint (*)(id, SEL, jfloat))objc_msgSend)((id)arg0, (SEL)arg1, arg2);
- Cocoa_NATIVE_EXIT(env, that, objc_1msgSend__IIF_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_objc_1msgSend__IIFF
-JNIEXPORT jint JNICALL Cocoa_NATIVE(objc_1msgSend__IIFF)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jfloat arg2, jfloat arg3)
-{
- jint rc = 0;
- Cocoa_NATIVE_ENTER(env, that, objc_1msgSend__IIFF_FUNC);
- rc = (jint)((jint (*)(id, SEL, jfloat, jfloat))objc_msgSend)((id)arg0, (SEL)arg1, arg2, arg3);
- Cocoa_NATIVE_EXIT(env, that, objc_1msgSend__IIFF_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_objc_1msgSend__III
-JNIEXPORT jint JNICALL Cocoa_NATIVE(objc_1msgSend__III)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- jint rc = 0;
- Cocoa_NATIVE_ENTER(env, that, objc_1msgSend__III_FUNC);
- rc = (jint)objc_msgSend((id)arg0, (SEL)arg1, arg2);
- Cocoa_NATIVE_EXIT(env, that, objc_1msgSend__III_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_objc_1msgSend__IIII
-JNIEXPORT jint JNICALL Cocoa_NATIVE(objc_1msgSend__IIII)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3)
-{
- jint rc = 0;
- Cocoa_NATIVE_ENTER(env, that, objc_1msgSend__IIII_FUNC);
- rc = (jint)objc_msgSend((id)arg0, (SEL)arg1, arg2, arg3);
- Cocoa_NATIVE_EXIT(env, that, objc_1msgSend__IIII_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_objc_1msgSend__IIIII
-JNIEXPORT jint JNICALL Cocoa_NATIVE(objc_1msgSend__IIIII)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jint arg4)
-{
- jint rc = 0;
- Cocoa_NATIVE_ENTER(env, that, objc_1msgSend__IIIII_FUNC);
- rc = (jint)objc_msgSend((id)arg0, (SEL)arg1, arg2, arg3, arg4);
- Cocoa_NATIVE_EXIT(env, that, objc_1msgSend__IIIII_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_objc_1msgSend__IIIIII
-JNIEXPORT jint JNICALL Cocoa_NATIVE(objc_1msgSend__IIIIII)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jint arg4, jint arg5)
-{
- jint rc = 0;
- Cocoa_NATIVE_ENTER(env, that, objc_1msgSend__IIIIII_FUNC);
- rc = (jint)objc_msgSend((id)arg0, (SEL)arg1, arg2, arg3, arg4, arg5);
- Cocoa_NATIVE_EXIT(env, that, objc_1msgSend__IIIIII_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSPoint_2
-JNIEXPORT jint JNICALL Cocoa_NATIVE(objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSPoint_2)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jobject arg3)
-{
- NSPoint _arg3, *lparg3=NULL;
- jint rc = 0;
- Cocoa_NATIVE_ENTER(env, that, objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC);
- if (arg3) if ((lparg3 = getNSPointFields(env, arg3, &_arg3)) == NULL) goto fail;
- rc = (jint)objc_msgSend((id)arg0, (SEL)arg1, arg2, *lparg3);
-fail:
- if (arg3 && lparg3) setNSPointFields(env, arg3, lparg3);
- Cocoa_NATIVE_EXIT(env, that, objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSRect_2I
-JNIEXPORT jint JNICALL Cocoa_NATIVE(objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSRect_2I)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jobject arg3, jint arg4)
-{
- NSRect _arg3, *lparg3=NULL;
- jint rc = 0;
- Cocoa_NATIVE_ENTER(env, that, objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSRect_2I_FUNC);
- if (arg3) if ((lparg3 = getNSRectFields(env, arg3, &_arg3)) == NULL) goto fail;
- rc = (jint)objc_msgSend((id)arg0, (SEL)arg1, arg2, *lparg3, arg4);
-fail:
- if (arg3 && lparg3) setNSRectFields(env, arg3, lparg3);
- Cocoa_NATIVE_EXIT(env, that, objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSRect_2I_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2
-JNIEXPORT jint JNICALL Cocoa_NATIVE(objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jobject arg2)
-{
- NSPoint _arg2, *lparg2=NULL;
- jint rc = 0;
- Cocoa_NATIVE_ENTER(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC);
- if (arg2) if ((lparg2 = getNSPointFields(env, arg2, &_arg2)) == NULL) goto fail;
- rc = (jint)objc_msgSend((id)arg0, (SEL)arg1, *lparg2);
-fail:
- if (arg2 && lparg2) setNSPointFields(env, arg2, lparg2);
- Cocoa_NATIVE_EXIT(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2I
-JNIEXPORT jint JNICALL Cocoa_NATIVE(objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2I)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jobject arg2, jint arg3)
-{
- NSPoint _arg2, *lparg2=NULL;
- jint rc = 0;
- Cocoa_NATIVE_ENTER(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2I_FUNC);
- if (arg2) if ((lparg2 = getNSPointFields(env, arg2, &_arg2)) == NULL) goto fail;
- rc = (jint)objc_msgSend((id)arg0, (SEL)arg1, *lparg2, arg3);
-fail:
- if (arg2 && lparg2) setNSPointFields(env, arg2, lparg2);
- Cocoa_NATIVE_EXIT(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2I_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2
-JNIEXPORT jint JNICALL Cocoa_NATIVE(objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jobject arg2, jobject arg3, jobject arg4)
-{
- NSPoint _arg2, *lparg2=NULL;
- NSPoint _arg3, *lparg3=NULL;
- NSPoint _arg4, *lparg4=NULL;
- jint rc = 0;
- Cocoa_NATIVE_ENTER(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC);
- if (arg2) if ((lparg2 = getNSPointFields(env, arg2, &_arg2)) == NULL) goto fail;
- if (arg3) if ((lparg3 = getNSPointFields(env, arg3, &_arg3)) == NULL) goto fail;
- if (arg4) if ((lparg4 = getNSPointFields(env, arg4, &_arg4)) == NULL) goto fail;
- rc = (jint)objc_msgSend((id)arg0, (SEL)arg1, *lparg2, *lparg3, *lparg4);
-fail:
- if (arg4 && lparg4) setNSPointFields(env, arg4, lparg4);
- if (arg3 && lparg3) setNSPointFields(env, arg3, lparg3);
- if (arg2 && lparg2) setNSPointFields(env, arg2, lparg2);
- Cocoa_NATIVE_EXIT(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2
-JNIEXPORT jint JNICALL Cocoa_NATIVE(objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jobject arg2)
-{
- NSRect _arg2, *lparg2=NULL;
- jint rc = 0;
- Cocoa_NATIVE_ENTER(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2_FUNC);
- if (arg2) if ((lparg2 = getNSRectFields(env, arg2, &_arg2)) == NULL) goto fail;
- rc = (jint)objc_msgSend((id)arg0, (SEL)arg1, *lparg2);
-fail:
- if (arg2 && lparg2) setNSRectFields(env, arg2, lparg2);
- Cocoa_NATIVE_EXIT(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2I
-JNIEXPORT jint JNICALL Cocoa_NATIVE(objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2I)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jobject arg2, jint arg3)
-{
- NSRect _arg2, *lparg2=NULL;
- jint rc = 0;
- Cocoa_NATIVE_ENTER(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2I_FUNC);
- if (arg2) if ((lparg2 = getNSRectFields(env, arg2, &_arg2)) == NULL) goto fail;
- rc = (jint)objc_msgSend((id)arg0, (SEL)arg1, *lparg2, arg3);
-fail:
- if (arg2 && lparg2) setNSRectFields(env, arg2, lparg2);
- Cocoa_NATIVE_EXIT(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2I_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2II
-JNIEXPORT jint JNICALL Cocoa_NATIVE(objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2II)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jobject arg2, jint arg3, jint arg4)
-{
- NSRect _arg2, *lparg2=NULL;
- jint rc = 0;
- Cocoa_NATIVE_ENTER(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2II_FUNC);
- if (arg2) if ((lparg2 = getNSRectFields(env, arg2, &_arg2)) == NULL) goto fail;
- rc = (jint)objc_msgSend((id)arg0, (SEL)arg1, *lparg2, arg3, arg4);
-fail:
- if (arg2 && lparg2) setNSRectFields(env, arg2, lparg2);
- Cocoa_NATIVE_EXIT(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2II_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSSize_2
-JNIEXPORT jint JNICALL Cocoa_NATIVE(objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSSize_2)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jobject arg2)
-{
- NSSize _arg2, *lparg2=NULL;
- jint rc = 0;
- Cocoa_NATIVE_ENTER(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSSize_2_FUNC);
- if (arg2) if ((lparg2 = getNSSizeFields(env, arg2, &_arg2)) == NULL) goto fail;
- rc = (jint)objc_msgSend((id)arg0, (SEL)arg1, *lparg2);
-fail:
- if (arg2 && lparg2) setNSSizeFields(env, arg2, lparg2);
- Cocoa_NATIVE_EXIT(env, that, objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSSize_2_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_objc_1msgSend__II_3C
-JNIEXPORT jint JNICALL Cocoa_NATIVE(objc_1msgSend__II_3C)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jcharArray arg2)
-{
- jchar *lparg2=NULL;
- jint rc = 0;
- Cocoa_NATIVE_ENTER(env, that, objc_1msgSend__II_3C_FUNC);
- if (arg2) if ((lparg2 = (*env)->GetCharArrayElements(env, arg2, NULL)) == NULL) goto fail;
- rc = (jint)((jint (*)(jint, jint, jchar *))objc_msgSend)(arg0, arg1, lparg2);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseCharArrayElements(env, arg2, lparg2, 0);
- Cocoa_NATIVE_EXIT(env, that, objc_1msgSend__II_3C_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_objc_1msgSend__II_3IIIIIIIIIII
-JNIEXPORT jint JNICALL Cocoa_NATIVE(objc_1msgSend__II_3IIIIIIIIIII)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jintArray arg2, jint arg3, jint arg4, jint arg5, jint arg6, jint arg7, jint arg8, jint arg9, jint arg10, jint arg11, jint arg12)
-{
- jint *lparg2=NULL;
- jint rc = 0;
- Cocoa_NATIVE_ENTER(env, that, objc_1msgSend__II_3IIIIIIIIIII_FUNC);
- if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail;
- rc = (jint)objc_msgSend((id)arg0, (SEL)arg1, lparg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- Cocoa_NATIVE_EXIT(env, that, objc_1msgSend__II_3IIIIIIIIIII_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_objc_1msgSend_1fpret
-JNIEXPORT jdouble JNICALL Cocoa_NATIVE(objc_1msgSend_1fpret)
- (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1)
-{
- jdouble rc = 0;
- Cocoa_NATIVE_ENTER(env, that, objc_1msgSend_1fpret_FUNC);
- rc = (jdouble)((jdouble (*)(jintLong, jintLong))objc_msgSend_fpret)(arg0, arg1);
- Cocoa_NATIVE_EXIT(env, that, objc_1msgSend_1fpret_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2II
-JNIEXPORT void JNICALL Cocoa_NATIVE(objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2II)
- (JNIEnv *env, jclass that, jobject arg0, jint arg1, jint arg2)
-{
- NSRect _arg0, *lparg0=NULL;
- Cocoa_NATIVE_ENTER(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2II_FUNC);
- if (arg0) if ((lparg0 = getNSRectFields(env, arg0, &_arg0)) == NULL) goto fail;
- if (sizeof(_arg0) > STRUCT_SIZE_LIMIT) {
- *lparg0 = (*(NSRect (*)(void *, SEL))objc_msgSend_stret)((void *)arg1, (SEL)arg2);
- } else {
- *lparg0 = (*(NSRect (*)(void *, SEL))objc_msgSend)((void *)arg1, (SEL)arg2);
- }
-fail:
- if (arg0 && lparg0) setNSRectFields(env, arg0, lparg0);
- Cocoa_NATIVE_EXIT(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2II_FUNC);
-}
-#endif
-
-#ifndef NO_objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IILorg_eclipse_swt_internal_cocoa_NSRect_2I
-JNIEXPORT void JNICALL Cocoa_NATIVE(objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IILorg_eclipse_swt_internal_cocoa_NSRect_2I)
- (JNIEnv *env, jclass that, jobject arg0, jint arg1, jint arg2, jobject arg3, jint arg4)
-{
- NSRect _arg0, *lparg0=NULL;
- NSRect _arg3, *lparg3=NULL;
- Cocoa_NATIVE_ENTER(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IILorg_eclipse_swt_internal_cocoa_NSRect_2I_FUNC);
- if (arg0) if ((lparg0 = getNSRectFields(env, arg0, &_arg0)) == NULL) goto fail;
- if (arg3) if ((lparg3 = getNSRectFields(env, arg3, &_arg3)) == NULL) goto fail;
- if (sizeof(_arg0) > STRUCT_SIZE_LIMIT) {
- *lparg0 = (*(NSRect (*)(void *, SEL, NSRect, jint))objc_msgSend_stret)((void *)arg1, (SEL)arg2, *lparg3, arg4);
- } else {
- *lparg0 = (*(NSRect (*)(void *, SEL, NSRect, jint))objc_msgSend)((void *)arg1, (SEL)arg2, *lparg3, arg4);
- }
-fail:
- if (arg3 && lparg3) setNSRectFields(env, arg3, lparg3);
- if (arg0 && lparg0) setNSRectFields(env, arg0, lparg0);
- Cocoa_NATIVE_EXIT(env, that, objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IILorg_eclipse_swt_internal_cocoa_NSRect_2I_FUNC);
-}
-#endif
-
-#ifndef NO_sel_1registerName
-JNIEXPORT jint JNICALL Cocoa_NATIVE(sel_1registerName)
- (JNIEnv *env, jclass that, jbyteArray arg0)
-{
- jbyte *lparg0=NULL;
- jint rc = 0;
- Cocoa_NATIVE_ENTER(env, that, sel_1registerName_FUNC);
- if (arg0) if ((lparg0 = (*env)->GetByteArrayElements(env, arg0, NULL)) == NULL) goto fail;
- rc = (jint)sel_registerName((const char *)lparg0);
-fail:
- if (arg0 && lparg0) (*env)->ReleaseByteArrayElements(env, arg0, lparg0, 0);
- Cocoa_NATIVE_EXIT(env, that, sel_1registerName_FUNC);
- return rc;
-}
-#endif
-
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/cocoa.h b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/cocoa.h
deleted file mode 100644
index a57d4b0a06..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/cocoa.h
+++ /dev/null
@@ -1,35 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2008 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-
-#ifndef INC_cocoa_H
-#define INC_cocoa_H
-
-#include <Carbon/Carbon.h>
-#include <WebKit/WebKit.h>
-#include <WebKit/HIWebView.h>
-#include <WebKit/CarbonUtils.h>
-#import <objc/objc-runtime.h>
-
-#include "cocoa_custom.h"
-
-#ifndef __i386__
-#define objc_msgSend_fpret objc_msgSend
-#endif
-
-#ifdef __i386__
-#define STRUCT_SIZE_LIMIT 8
-#elif __ppc__
-#define STRUCT_SIZE_LIMIT 4
-#elif __x86_64__
-#define STRUCT_SIZE_LIMIT 16
-#endif
-
-#endif /* INC_cocoa_H */
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/cocoa_custom.c b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/cocoa_custom.c
deleted file mode 100755
index e298bd6d14..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/cocoa_custom.c
+++ /dev/null
@@ -1,316 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2009 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-
-#include "swt.h"
-#include "cocoa_structs.h"
-#include "cocoa_stats.h"
-
-#include <dlfcn.h>
-
-#define Cocoa_NATIVE(func) Java_org_eclipse_swt_internal_cocoa_Cocoa_##func
-
-extern id objc_msgSend(id, SEL, ...);
-
-#ifndef NO_HIJavaViewCreateWithCocoaView
-JNIEXPORT jint JNICALL Cocoa_NATIVE(HIJavaViewCreateWithCocoaView)
- (JNIEnv *env, jclass that, jintArray arg0, jint arg1)
-{
- jint *lparg0=NULL;
- jint rc = 0;
- Cocoa_NATIVE_ENTER(env, that, HIJavaViewCreateWithCocoaView_FUNC);
- if (arg0) if ((lparg0 = (*env)->GetIntArrayElements(env, arg0, NULL)) == NULL) goto fail;
- /*
- rc = (jint)HIJavaViewCreateWithCocoaView(lparg0, arg1);
- */
- {
- static int initialized = 0;
- static void *fp = NULL;
- if (!initialized) {
- void* handle = dlopen("/System/Library/Frameworks/JavaVM.framework/Libraries/libframeembedding.jnilib", RTLD_LAZY);
- if (handle) fp = dlsym(handle, "HIJavaViewCreateWithCocoaView");
- initialized = 1;
- }
- if (fp) {
- rc = (jint)((jint (CALLING_CONVENTION*)(jint *, jint))fp)(lparg0, arg1);
- }
- }
-fail:
- if (arg0 && lparg0) (*env)->ReleaseIntArrayElements(env, arg0, lparg0, 0);
- Cocoa_NATIVE_EXIT(env, that, HIJavaViewCreateWithCocoaView_FUNC);
- return rc;
-}
-#endif
-
-@interface NSStatusItemImageView : NSImageView
-{
- int user_data;
- int (*proc) (int sender, int user_data, int selector, void * arg0);
-}
-@end
-
-@implementation NSStatusItemImageView
-
-- (id)initWithProc:(id)prc frame:(NSRect)rect user_data:(int)data
-{
- [super initWithFrame: rect];
- proc= (void *) prc;
- user_data = data;
- return self;
-}
-
-- (void)mouseDown:(NSEvent *)event
-{
- proc((int)self, user_data, 0, event);
-}
-
-- (void)mouseUp:(NSEvent *)event
-{
- proc((int)self, user_data, 1, event);
-}
-
-- (void)rightMouseDown:(NSEvent *)event
-{
- proc((int)self, user_data, 2, event);
-}
-
-- (void)drawRect:(NSRect) rect
-{
- proc((int)self, user_data, 3, &rect);
- [super drawRect: rect];
-}
-@end
-
-@interface WebKitDelegate : NSObject
-{
- int user_data;
- int (*proc) (int sender, int user_data, int selector, int arg0, int arg1, int arg2, int arg3);
-}
-@end
-
-@implementation WebKitDelegate
-
-- (id)initWithProc:(id)prc user_data:(int)data
-{
- [super init];
- proc= (void *) prc;
- user_data = data;
- return self;
-}
-
-/* WebFrameLoadDelegate */
-
-- (void)webView:(WebView *)sender didFailProvisionalLoadWithError:(NSError *)error forFrame:(WebFrame *)frame
-{
- proc((int)sender, user_data, 1, (int)error, (int)frame, 0, 0);
-}
-
-- (void)webView:(WebView *)sender didFinishLoadForFrame:(WebFrame *)frame
-{
- proc((int)sender, user_data, 2, (int)frame, 0, 0, 0);
-}
-
-- (void)webView:(WebView *)sender didReceiveTitle:(NSString *)title forFrame:(WebFrame *)frame
-{
- proc((int)sender, user_data, 3, (int)title, (int)frame, 0, 0);
-}
-
-- (void)webView:(WebView *)sender didStartProvisionalLoadForFrame:(WebFrame *)frame
-{
- proc((int)sender, user_data, 4, (int)frame, 0, 0, 0);
-}
-
-- (void)webView:(WebView *)sender didCommitLoadForFrame:(WebFrame *)frame
-{
- proc((int)sender, user_data, 10, (int)frame, 0, 0, 0);
-}
-
-- (void)webView:(WebView *)sender didChangeLocationWithinPageForFrame:(WebFrame *)frame
-{
- proc((int)sender, user_data, 31, (int)frame, 0, 0, 0);
-}
-
-- (void)webView:(WebView *)sender windowScriptObjectAvailable:(WebScriptObject *)windowScriptObject
-{
- proc((int)sender, user_data, 33, (int)windowScriptObject, 0, 0, 0);
-}
-
-/* WebResourceLoadDelegate */
-
-- (void)webView:(WebView *)sender resource:(id)identifier didFinishLoadingFromDataSource:(WebDataSource *)dataSource
-{
- proc((int)sender, user_data, 5, (int)identifier, (int)dataSource, 0, 0);
-}
-
-- (void)webView:(WebView *)sender resource:(id)identifier didFailLoadingWithError:(NSError *)error fromDataSource:(WebDataSource *)dataSource
-{
- proc((int)sender, user_data, 6, (int)identifier, (int)error, (int)dataSource, 0);
-}
-
-- (id)webView:(WebView *)sender identifierForInitialRequest:(NSURLRequest *)request fromDataSource:(WebDataSource *)dataSource
-{
- return (id) proc((int)sender, user_data, 7, (int)request, (int)dataSource, 0, 0);
-}
-
-- (NSURLRequest *)webView:(WebView *)sender resource:(id)identifier willSendRequest:(NSURLRequest *)request redirectResponse:(NSURLResponse *)redirectResponse fromDataSource:(WebDataSource *)dataSource
-{
- return (NSURLRequest *) proc((int)sender, user_data, 8, (int)identifier, (int)request, (int)redirectResponse, (int)dataSource);
-}
-
-- (void)webView:(WebView *)sender resource:(id)identifier didReceiveAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge fromDataSource:(WebDataSource *)dataSource
-{
- proc((int)sender, user_data, 35, (int)identifier, (int)challenge, (int)dataSource, 0);
-}
-
-/* handleNotification */
-
-- (void)handleNotification:(NSNotification *)notification
-{
- proc((int)[notification object], user_data, 9, (int)notification, 0, 0, 0);
-}
-
-/* UIDelegate */
-
-- (WebView *)webView:(WebView *)sender createWebViewWithRequest:(NSURLRequest *)request
-{
- return (WebView *) proc((int)sender, user_data, 11, (int)request, 0, 0, 0);
-}
-
-- (void)webViewShow:(WebView *)sender
-{
- proc((int)sender, user_data, 12, 0, 0, 0, 0);
-}
-
-- (void)webView:(WebView *)sender setFrame:(NSRect)frame
-{
- proc((int)sender, user_data, 13, (int)&frame, 0, 0, 0);
-}
-
-- (void)webViewClose:(WebView *)sender
-{
- proc((int)sender, user_data, 14, 0, 0, 0, 0);
-}
-
-- (NSArray *)webView:(WebView *)sender contextMenuItemsForElement:(NSDictionary *)element defaultMenuItems:(NSArray *)defaultMenuItems
-{
- return (NSArray *)proc((int)sender, user_data, 15, (int)element, (int)defaultMenuItems, 0, 0);
-}
-
-- (void)webView:(WebView *)sender setStatusBarVisible:(BOOL)visible
-{
- proc((int)sender, user_data, 16, (int)visible, 0, 0, 0);
-}
-
-- (void)webView:(WebView *)sender setResizable:(BOOL)resizable
-{
- proc((int)sender, user_data, 17, (int)resizable, 0, 0, 0);
-}
-
-- (void)webView:(WebView *)sender setToolbarsVisible:(BOOL)visible
-{
- proc((int)sender, user_data, 18, (int)visible, 0, 0, 0);
-}
-
-- (void)webView:(WebView *)sender setStatusText:(NSString *)text
-{
- proc((int)sender, user_data, 23, (int)text, 0, 0, 0);
-}
-
-- (void)webViewFocus:(WebView *)sender
-{
- proc((int)sender, user_data, 24, 0, 0, 0, 0);
-}
-
-- (void)webViewUnfocus:(WebView *)sender
-{
- proc((int)sender, user_data, 25, 0, 0, 0, 0);
-}
-
-- (void)webView:(WebView *)sender runJavaScriptAlertPanelWithMessage:(NSString *)message
-{
- proc((int)sender, user_data, 26, (int)message, 0, 0, 0);
-}
-
-- (BOOL)webView:(WebView *)sender runJavaScriptConfirmPanelWithMessage:(NSString *)message
-{
- return (BOOL) proc((int)sender, user_data, 27, (int)message, 0, 0, 0);
-}
-
-- (void)webView:(WebView *)sender runOpenPanelForFileButtonWithResultListener:(id<WebOpenPanelResultListener>)resultListener
-{
- proc((int)sender, user_data, 28, (int)resultListener, 0, 0, 0);
-}
-
-- (void)webView:(WebView *)sender mouseDidMoveOverElement:(NSDictionary *)elementInformation modifierFlags:(unsigned int)modifierFlags
-{
- proc((int)sender, user_data, 30, (int)elementInformation, (int)modifierFlags, 0, 0);
-}
-
-/* WebPolicyDelegate */
-- (void)webView:(WebView *)sender decidePolicyForMIMEType:(NSString *)type request:(NSURLRequest *)request frame:(WebFrame*)frame decisionListener:(id<WebPolicyDecisionListener>)listener
-{
- proc((int)sender, user_data, 19, (int)type, (int)request, (int)frame, (int)listener);
-}
-
-- (void)webView:(WebView *)sender decidePolicyForNavigationAction:(NSDictionary *)actionInformation request:(NSURLRequest *)request frame:(WebFrame *)frame decisionListener:(id<WebPolicyDecisionListener>)listener
-{
- proc((int)sender, user_data, 20, (int)actionInformation, (int)request, (int)frame, (int)listener);
-}
-
-
-- (void)webView:(WebView *)sender decidePolicyForNewWindowAction:(NSDictionary *)actionInformation request:(NSURLRequest *)request newFrameName:(NSString *)frameName decisionListener:(id<WebPolicyDecisionListener>)listener
-{
- proc((int)sender, user_data, 21, (int)actionInformation, (int)request, (int)frameName, (int)listener);
-}
-
-
-- (void)webView:(WebView *)sender unableToImplementPolicyWithError:(NSError *)error frame:(WebFrame *)frame
-{
- proc((int)sender, user_data, 22, (int)error, (int)frame, 0, 0);
-}
-
-/* WebDownload */
-
-- (void)download:(NSURLDownload *)download decideDestinationWithSuggestedFilename:(NSString *)filename
-{
- proc((int)download, user_data, 29, (int)download, (int)filename, 0, 0);
-}
-
-/* DOMEventListener */
-
-- (void)handleEvent:(DOMEvent *)evt
-{
- proc((int)evt, user_data, 32, (int)evt, 0, 0, 0);
-}
-
-/* WebScripting */
-
-+ (BOOL)isSelectorExcludedFromWebScript:(SEL)aSelector
-{
- return aSelector != @selector(callJava:index:arg:);
-}
-
-+ (NSString *)webScriptNameForSelector:(SEL)aSelector
-{
- if (aSelector == @selector(callJava:index:arg:)) {
- return @"callJava";
- }
- return 0;
-}
-
-/* external */
-
-- (id)callJava:(NSObject *)arg index:(NSObject *)index arg:(NSObject *)arg0
-{
- return (id)proc(0, user_data, 34, (int)arg, (int)index, (int)arg0, 0);
-}
-
-@end
-
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/cocoa_custom.h b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/cocoa_custom.h
deleted file mode 100755
index d57df2d879..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/cocoa_custom.h
+++ /dev/null
@@ -1,14 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2007 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-
-/* Libraries for dynamic loaded functions */
-#define HICocoaViewCreate_LIB "com.apple.Carbon"
-
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/cocoa_stats.c b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/cocoa_stats.c
deleted file mode 100644
index 71c8ec334c..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/cocoa_stats.c
+++ /dev/null
@@ -1,77 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2009 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-
-#include "swt.h"
-#include "cocoa_stats.h"
-
-#ifdef NATIVE_STATS
-
-int Cocoa_nativeFunctionCount = 35;
-int Cocoa_nativeFunctionCallCount[35];
-char * Cocoa_nativeFunctionNames[] = {
- "HICocoaViewCreate",
- "HIJavaViewCreateWithCocoaView",
- "HIWebViewCreate",
- "HIWebViewGetWebView",
- "NSDeviceRGBColorSpace",
- "NSSearchPathForDirectoriesInDomains",
- "WebInitForCarbon",
- "class_1getClassMethod",
- "memcpy",
- "memmove",
- "objc_1getClass",
- "objc_1getMetaClass",
- "objc_1msgSend__II",
- "objc_1msgSend__IID",
- "objc_1msgSend__IIF",
- "objc_1msgSend__IIFF",
- "objc_1msgSend__III",
- "objc_1msgSend__IIII",
- "objc_1msgSend__IIIII",
- "objc_1msgSend__IIIIII",
- "objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSPoint_2",
- "objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSRect_2I",
- "objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2",
- "objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2I",
- "objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2",
- "objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2",
- "objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2I",
- "objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2II",
- "objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSSize_2",
- "objc_1msgSend__II_3C",
- "objc_1msgSend__II_3IIIIIIIIIII",
- "objc_1msgSend_1fpret",
- "objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2II",
- "objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IILorg_eclipse_swt_internal_cocoa_NSRect_2I",
- "sel_1registerName",
-};
-
-#define STATS_NATIVE(func) Java_org_eclipse_swt_tools_internal_NativeStats_##func
-
-JNIEXPORT jint JNICALL STATS_NATIVE(Cocoa_1GetFunctionCount)
- (JNIEnv *env, jclass that)
-{
- return Cocoa_nativeFunctionCount;
-}
-
-JNIEXPORT jstring JNICALL STATS_NATIVE(Cocoa_1GetFunctionName)
- (JNIEnv *env, jclass that, jint index)
-{
- return (*env)->NewStringUTF(env, Cocoa_nativeFunctionNames[index]);
-}
-
-JNIEXPORT jint JNICALL STATS_NATIVE(Cocoa_1GetFunctionCallCount)
- (JNIEnv *env, jclass that, jint index)
-{
- return Cocoa_nativeFunctionCallCount[index];
-}
-
-#endif
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/cocoa_stats.h b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/cocoa_stats.h
deleted file mode 100644
index 18345a3cb8..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/cocoa_stats.h
+++ /dev/null
@@ -1,63 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2009 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-
-#ifdef NATIVE_STATS
-extern int Cocoa_nativeFunctionCount;
-extern int Cocoa_nativeFunctionCallCount[];
-extern char* Cocoa_nativeFunctionNames[];
-#define Cocoa_NATIVE_ENTER(env, that, func) Cocoa_nativeFunctionCallCount[func]++;
-#define Cocoa_NATIVE_EXIT(env, that, func)
-#else
-#ifndef Cocoa_NATIVE_ENTER
-#define Cocoa_NATIVE_ENTER(env, that, func)
-#endif
-#ifndef Cocoa_NATIVE_EXIT
-#define Cocoa_NATIVE_EXIT(env, that, func)
-#endif
-#endif
-
-typedef enum {
- HICocoaViewCreate_FUNC,
- HIJavaViewCreateWithCocoaView_FUNC,
- HIWebViewCreate_FUNC,
- HIWebViewGetWebView_FUNC,
- NSDeviceRGBColorSpace_FUNC,
- NSSearchPathForDirectoriesInDomains_FUNC,
- WebInitForCarbon_FUNC,
- class_1getClassMethod_FUNC,
- memcpy_FUNC,
- memmove_FUNC,
- objc_1getClass_FUNC,
- objc_1getMetaClass_FUNC,
- objc_1msgSend__II_FUNC,
- objc_1msgSend__IID_FUNC,
- objc_1msgSend__IIF_FUNC,
- objc_1msgSend__IIFF_FUNC,
- objc_1msgSend__III_FUNC,
- objc_1msgSend__IIII_FUNC,
- objc_1msgSend__IIIII_FUNC,
- objc_1msgSend__IIIIII_FUNC,
- objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC,
- objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSRect_2I_FUNC,
- objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC,
- objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2I_FUNC,
- objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC,
- objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2_FUNC,
- objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2I_FUNC,
- objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2II_FUNC,
- objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSSize_2_FUNC,
- objc_1msgSend__II_3C_FUNC,
- objc_1msgSend__II_3IIIIIIIIIII_FUNC,
- objc_1msgSend_1fpret_FUNC,
- objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2II_FUNC,
- objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IILorg_eclipse_swt_internal_cocoa_NSRect_2I_FUNC,
- sel_1registerName_FUNC,
-} Cocoa_FUNCS;
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/cocoa_structs.c b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/cocoa_structs.c
deleted file mode 100644
index cf1e390234..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/cocoa_structs.c
+++ /dev/null
@@ -1,122 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2008 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-
-#include "swt.h"
-#include "cocoa_structs.h"
-
-#ifndef NO_NSPoint
-typedef struct NSPoint_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID x, y;
-} NSPoint_FID_CACHE;
-
-NSPoint_FID_CACHE NSPointFc;
-
-void cacheNSPointFields(JNIEnv *env, jobject lpObject)
-{
- if (NSPointFc.cached) return;
- NSPointFc.clazz = (*env)->GetObjectClass(env, lpObject);
- NSPointFc.x = (*env)->GetFieldID(env, NSPointFc.clazz, "x", "F");
- NSPointFc.y = (*env)->GetFieldID(env, NSPointFc.clazz, "y", "F");
- NSPointFc.cached = 1;
-}
-
-NSPoint *getNSPointFields(JNIEnv *env, jobject lpObject, NSPoint *lpStruct)
-{
- if (!NSPointFc.cached) cacheNSPointFields(env, lpObject);
- lpStruct->x = (*env)->GetFloatField(env, lpObject, NSPointFc.x);
- lpStruct->y = (*env)->GetFloatField(env, lpObject, NSPointFc.y);
- return lpStruct;
-}
-
-void setNSPointFields(JNIEnv *env, jobject lpObject, NSPoint *lpStruct)
-{
- if (!NSPointFc.cached) cacheNSPointFields(env, lpObject);
- (*env)->SetFloatField(env, lpObject, NSPointFc.x, (jfloat)lpStruct->x);
- (*env)->SetFloatField(env, lpObject, NSPointFc.y, (jfloat)lpStruct->y);
-}
-#endif
-
-#ifndef NO_NSRect
-typedef struct NSRect_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID x, y, width, height;
-} NSRect_FID_CACHE;
-
-NSRect_FID_CACHE NSRectFc;
-
-void cacheNSRectFields(JNIEnv *env, jobject lpObject)
-{
- if (NSRectFc.cached) return;
- NSRectFc.clazz = (*env)->GetObjectClass(env, lpObject);
- NSRectFc.x = (*env)->GetFieldID(env, NSRectFc.clazz, "x", "F");
- NSRectFc.y = (*env)->GetFieldID(env, NSRectFc.clazz, "y", "F");
- NSRectFc.width = (*env)->GetFieldID(env, NSRectFc.clazz, "width", "F");
- NSRectFc.height = (*env)->GetFieldID(env, NSRectFc.clazz, "height", "F");
- NSRectFc.cached = 1;
-}
-
-NSRect *getNSRectFields(JNIEnv *env, jobject lpObject, NSRect *lpStruct)
-{
- if (!NSRectFc.cached) cacheNSRectFields(env, lpObject);
- lpStruct->origin.x = (*env)->GetFloatField(env, lpObject, NSRectFc.x);
- lpStruct->origin.y = (*env)->GetFloatField(env, lpObject, NSRectFc.y);
- lpStruct->size.width = (*env)->GetFloatField(env, lpObject, NSRectFc.width);
- lpStruct->size.height = (*env)->GetFloatField(env, lpObject, NSRectFc.height);
- return lpStruct;
-}
-
-void setNSRectFields(JNIEnv *env, jobject lpObject, NSRect *lpStruct)
-{
- if (!NSRectFc.cached) cacheNSRectFields(env, lpObject);
- (*env)->SetFloatField(env, lpObject, NSRectFc.x, (jfloat)lpStruct->origin.x);
- (*env)->SetFloatField(env, lpObject, NSRectFc.y, (jfloat)lpStruct->origin.y);
- (*env)->SetFloatField(env, lpObject, NSRectFc.width, (jfloat)lpStruct->size.width);
- (*env)->SetFloatField(env, lpObject, NSRectFc.height, (jfloat)lpStruct->size.height);
-}
-#endif
-
-#ifndef NO_NSSize
-typedef struct NSSize_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID width, height;
-} NSSize_FID_CACHE;
-
-NSSize_FID_CACHE NSSizeFc;
-
-void cacheNSSizeFields(JNIEnv *env, jobject lpObject)
-{
- if (NSSizeFc.cached) return;
- NSSizeFc.clazz = (*env)->GetObjectClass(env, lpObject);
- NSSizeFc.width = (*env)->GetFieldID(env, NSSizeFc.clazz, "width", "F");
- NSSizeFc.height = (*env)->GetFieldID(env, NSSizeFc.clazz, "height", "F");
- NSSizeFc.cached = 1;
-}
-
-NSSize *getNSSizeFields(JNIEnv *env, jobject lpObject, NSSize *lpStruct)
-{
- if (!NSSizeFc.cached) cacheNSSizeFields(env, lpObject);
- lpStruct->width = (*env)->GetFloatField(env, lpObject, NSSizeFc.width);
- lpStruct->height = (*env)->GetFloatField(env, lpObject, NSSizeFc.height);
- return lpStruct;
-}
-
-void setNSSizeFields(JNIEnv *env, jobject lpObject, NSSize *lpStruct)
-{
- if (!NSSizeFc.cached) cacheNSSizeFields(env, lpObject);
- (*env)->SetFloatField(env, lpObject, NSSizeFc.width, (jfloat)lpStruct->width);
- (*env)->SetFloatField(env, lpObject, NSSizeFc.height, (jfloat)lpStruct->height);
-}
-#endif
-
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/cocoa_structs.h b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/cocoa_structs.h
deleted file mode 100644
index 021b00187f..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/cocoa_structs.h
+++ /dev/null
@@ -1,49 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2008 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-
-#include "cocoa.h"
-
-#ifndef NO_NSPoint
-void cacheNSPointFields(JNIEnv *env, jobject lpObject);
-NSPoint *getNSPointFields(JNIEnv *env, jobject lpObject, NSPoint *lpStruct);
-void setNSPointFields(JNIEnv *env, jobject lpObject, NSPoint *lpStruct);
-#define NSPoint_sizeof() sizeof(NSPoint)
-#else
-#define cacheNSPointFields(a,b)
-#define getNSPointFields(a,b,c) NULL
-#define setNSPointFields(a,b,c)
-#define NSPoint_sizeof() 0
-#endif
-
-#ifndef NO_NSRect
-void cacheNSRectFields(JNIEnv *env, jobject lpObject);
-NSRect *getNSRectFields(JNIEnv *env, jobject lpObject, NSRect *lpStruct);
-void setNSRectFields(JNIEnv *env, jobject lpObject, NSRect *lpStruct);
-#define NSRect_sizeof() sizeof(NSRect)
-#else
-#define cacheNSRectFields(a,b)
-#define getNSRectFields(a,b,c) NULL
-#define setNSRectFields(a,b,c)
-#define NSRect_sizeof() 0
-#endif
-
-#ifndef NO_NSSize
-void cacheNSSizeFields(JNIEnv *env, jobject lpObject);
-NSSize *getNSSizeFields(JNIEnv *env, jobject lpObject, NSSize *lpStruct);
-void setNSSizeFields(JNIEnv *env, jobject lpObject, NSSize *lpStruct);
-#define NSSize_sizeof() sizeof(NSSize)
-#else
-#define cacheNSSizeFields(a,b)
-#define getNSSizeFields(a,b,c) NULL
-#define setNSSizeFields(a,b,c)
-#define NSSize_sizeof() 0
-#endif
-
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/make_macosx.mak b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/make_macosx.mak
deleted file mode 100644
index e92742fe46..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/make_macosx.mak
+++ /dev/null
@@ -1,101 +0,0 @@
-#*******************************************************************************
-# Copyright (c) 2000, 2009 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-#*******************************************************************************
-
-# Makefile for SWT libraries on Carbon/Mac
-
-include make_common.mak
-
-SWT_PREFIX=swt
-SWTPI_PREFIX=swt-pi
-SWTCOCOA_PREFIX=swt-cocoa
-SWTAGL_PREFIX=swt-agl
-SWTXULRUNNER_PREFIX=swt-xulrunner
-WS_PREFIX=carbon
-SWT_VERSION=$(maj_ver)$(min_ver)
-SWT_LIB=lib$(SWT_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).jnilib
-SWTPI_LIB=lib$(SWTPI_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).jnilib
-COCOA_LIB=lib$(SWTCOCOA_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).jnilib
-AGL_LIB=lib$(SWTAGL_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).jnilib
-XULRUNNER_LIB=lib$(SWTXULRUNNER_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).jnilib
-
-# Uncomment for Native Stats tool
-#NATIVE_STATS = -DNATIVE_STATS
-
-#SWT_DEBUG = -g
-ARCHS = -arch i386 -arch ppc
-CFLAGS = -c -Wall $(ARCHS) -DSWT_VERSION=$(SWT_VERSION) $(NATIVE_STATS) $(SWT_DEBUG) -DUSE_ASSEMBLER -DCARBON -I /System/Library/Frameworks/JavaVM.framework/Headers
-LFLAGS = -bundle $(ARCHS) -framework JavaVM -framework Carbon
-COCOACFLAGS = $(CFLAGS) -xobjective-c -I /System/Library/Frameworks/Cocoa.framework/Headers -I /System/Library/Frameworks/WebKit.framework/Headers
-COCOALFLAGS = $(LFLAGS) -framework WebKit -framework Cocoa
-AGLLFLAGS = $(LFLAGS) -framework OpenGL -framework AGL
-SWT_OBJECTS = swt.o c.o c_stats.o callback.o
-SWTPI_OBJECTS = swt.o os.o os_custom.o os_structs.o os_stats.o
-COCOA_OBJECTS = swt.o cocoa.o cocoa_custom.o cocoa_structs.o cocoa_stats.o
-AGL_OBJECTS = swt.o agl.o agl_stats.o
-XULRUNNER_OBJECTS = swt.o xpcom.o xpcom_custom.o xpcom_structs.o xpcom_stats.o xpcominit.o xpcominit_structs.o xpcom_stats.o
-
-XULRUNNER_SDK = /Users/Shared/xulrunner/1.8.0.1/mozilla/dist/i386/dist/sdk
-#XULRUNNER_SDK = /Users/Shared/gecko-sdk
-#XULRUNNER_LIBS = -L${XULRUNNER_SDK}/lib -lxpcomglue
-XULRUNNER_LIBS = $(XULRUNNER_SDK)/lib/libxpcomglue.a $(XULRUNNER_SDK)/../../../ppc/dist/sdk/lib/libxpcomglue.a
-XULRUNNERCFLAGS = $(CFLAGS) -Wno-non-virtual-dtor -include ${XULRUNNER_SDK}/include/mozilla-config.h -I${XULRUNNER_SDK}/include
-XULRUNNERLFLAGS = $(LFLAGS)
-
-all: $(SWT_LIB) $(SWTPI_LIB) $(COCOA_LIB) $(AGL_LIB) $(XULRUNNER_LIB)
-
-.c.o:
- cc $(CFLAGS) $*.c
-
-$(SWT_LIB): $(SWT_OBJECTS)
- cc -o $(SWT_LIB) $(LFLAGS) $(SWT_OBJECTS)
-
-$(SWTPI_LIB): $(SWTPI_OBJECTS)
- cc -o $(SWTPI_LIB) $(LFLAGS) $(SWTPI_OBJECTS)
-
-cocoa.o: cocoa.c
- cc $(COCOACFLAGS) cocoa.c
-
-cocoa_custom.o: cocoa_custom.c
- cc $(COCOACFLAGS) cocoa_custom.c
-
-cocoa_structs.o: cocoa_structs.c
- cc $(COCOACFLAGS) cocoa_structs.c
-
-$(COCOA_LIB): $(COCOA_OBJECTS)
- cc -o $(COCOA_LIB) $(COCOALFLAGS) $(COCOA_OBJECTS)
-
-$(AGL_LIB): $(AGL_OBJECTS)
- cc -o $(AGL_LIB) $(AGLLFLAGS) $(AGL_OBJECTS)
-
-$(XULRUNNER_LIB): $(XULRUNNER_OBJECTS)
- g++ -o $(XULRUNNER_LIB) $(XULRUNNERLFLAGS) $(XULRUNNER_LIBS) $(XULRUNNER_OBJECTS)
-
-xpcom.o: xpcom.cpp
- g++ $(XULRUNNERCFLAGS) xpcom.cpp
-xpcom_custom.o: xpcom_custom.cpp
- g++ $(XULRUNNERCFLAGS) xpcom_custom.cpp
-xpcom_structs.o: xpcom_structs.cpp
- g++ $(XULRUNNERCFLAGS) xpcom_structs.cpp
-xpcom_stats.o: xpcom_stats.cpp
- g++ $(XULRUNNERCFLAGS) xpcom_stats.cpp
-xpcominit.o: xpcominit.cpp
- g++ $(XULRUNNERCFLAGS) xpcominit.cpp
-xpcominit_structs.o: xpcominit_structs.cpp
- g++ $(XULRUNNERCFLAGS) xpcominit_structs.cpp
-xpcominit_stats.o: xpcominit_stats.cpp
- g++ $(XULRUNNERCFLAGS) xpcominit_stats.cpp
-
-
-install: all
- cp *.jnilib $(OUTPUT_DIR)
-
-clean:
- rm -f *.jnilib *.o
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os.c b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os.c
deleted file mode 100644
index edd72804d1..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os.c
+++ /dev/null
@@ -1,13979 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2009 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-
-#include "swt.h"
-#include "os_structs.h"
-#include "os_stats.h"
-
-#define OS_NATIVE(func) Java_org_eclipse_swt_internal_carbon_OS_##func
-
-#ifndef NO_AECoerceDesc
-JNIEXPORT jint JNICALL OS_NATIVE(AECoerceDesc)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, AECoerceDesc_FUNC);
- rc = (jint)AECoerceDesc((AEDesc *)arg0, arg1, (AEDesc *)arg2);
- OS_NATIVE_EXIT(env, that, AECoerceDesc_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_AECountItems
-JNIEXPORT jint JNICALL OS_NATIVE(AECountItems)
- (JNIEnv *env, jclass that, jobject arg0, jintArray arg1)
-{
- AEDesc _arg0, *lparg0=NULL;
- jint *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, AECountItems_FUNC);
- if (arg0) if ((lparg0 = getAEDescFields(env, arg0, &_arg0)) == NULL) goto fail;
- if (arg1) if ((lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL)) == NULL) goto fail;
- rc = (jint)AECountItems((const AEDescList *)lparg0, (long *)lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- if (arg0 && lparg0) setAEDescFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, AECountItems_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_AECreateDesc
-JNIEXPORT jint JNICALL OS_NATIVE(AECreateDesc)
- (JNIEnv *env, jclass that, jint arg0, jbyteArray arg1, jint arg2, jobject arg3)
-{
- jbyte *lparg1=NULL;
- AEDesc _arg3, *lparg3=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, AECreateDesc_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetByteArrayElements(env, arg1, NULL)) == NULL) goto fail;
- if (arg3) if ((lparg3 = getAEDescFields(env, arg3, &_arg3)) == NULL) goto fail;
- rc = (jint)AECreateDesc((DescType)arg0, (const void *)lparg1, (Size)arg2, lparg3);
-fail:
- if (arg3 && lparg3) setAEDescFields(env, arg3, lparg3);
- if (arg1 && lparg1) (*env)->ReleaseByteArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, AECreateDesc_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_AEDisposeDesc
-JNIEXPORT jint JNICALL OS_NATIVE(AEDisposeDesc)
- (JNIEnv *env, jclass that, jobject arg0)
-{
- AEDesc _arg0, *lparg0=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, AEDisposeDesc_FUNC);
- if (arg0) if ((lparg0 = getAEDescFields(env, arg0, &_arg0)) == NULL) goto fail;
- rc = (jint)AEDisposeDesc(lparg0);
-fail:
- if (arg0 && lparg0) setAEDescFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, AEDisposeDesc_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_AEGetDescData
-JNIEXPORT jint JNICALL OS_NATIVE(AEGetDescData)
- (JNIEnv *env, jclass that, jint arg0, jbyteArray arg1, jint arg2)
-{
- jbyte *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, AEGetDescData_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetByteArrayElements(env, arg1, NULL)) == NULL) goto fail;
- rc = (jint)AEGetDescData((AEDesc *)arg0, (void *)lparg1, arg2);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseByteArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, AEGetDescData_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_AEGetNthPtr
-JNIEXPORT jint JNICALL OS_NATIVE(AEGetNthPtr)
- (JNIEnv *env, jclass that, jobject arg0, jint arg1, jint arg2, jintArray arg3, jintArray arg4, jint arg5, jint arg6, jintArray arg7)
-{
- AEDesc _arg0, *lparg0=NULL;
- jint *lparg3=NULL;
- jint *lparg4=NULL;
- jint *lparg7=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, AEGetNthPtr_FUNC);
- if (arg0) if ((lparg0 = getAEDescFields(env, arg0, &_arg0)) == NULL) goto fail;
- if (arg3) if ((lparg3 = (*env)->GetIntArrayElements(env, arg3, NULL)) == NULL) goto fail;
- if (arg4) if ((lparg4 = (*env)->GetIntArrayElements(env, arg4, NULL)) == NULL) goto fail;
- if (arg7) if ((lparg7 = (*env)->GetIntArrayElements(env, arg7, NULL)) == NULL) goto fail;
- rc = (jint)AEGetNthPtr((const AEDescList *)lparg0, arg1, (DescType)arg2, (AEKeyword *)lparg3, (DescType *)lparg4, (void *)arg5, (Size)arg6, (Size *)lparg7);
-fail:
- if (arg7 && lparg7) (*env)->ReleaseIntArrayElements(env, arg7, lparg7, 0);
- if (arg4 && lparg4) (*env)->ReleaseIntArrayElements(env, arg4, lparg4, 0);
- if (arg3 && lparg3) (*env)->ReleaseIntArrayElements(env, arg3, lparg3, 0);
- if (arg0 && lparg0) setAEDescFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, AEGetNthPtr_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_AEInstallEventHandler
-JNIEXPORT jint JNICALL OS_NATIVE(AEInstallEventHandler)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jboolean arg4)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, AEInstallEventHandler_FUNC);
- rc = (jint)AEInstallEventHandler((AEEventClass)arg0, (AEEventID)arg1, (AEEventHandlerUPP)arg2, (long)arg3, arg4);
- OS_NATIVE_EXIT(env, that, AEInstallEventHandler_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_AEProcessAppleEvent
-JNIEXPORT jint JNICALL OS_NATIVE(AEProcessAppleEvent)
- (JNIEnv *env, jclass that, jobject arg0)
-{
- EventRecord _arg0, *lparg0=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, AEProcessAppleEvent_FUNC);
- if (arg0) if ((lparg0 = getEventRecordFields(env, arg0, &_arg0)) == NULL) goto fail;
- rc = (jint)AEProcessAppleEvent((const EventRecord *)lparg0);
-fail:
- if (arg0 && lparg0) setEventRecordFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, AEProcessAppleEvent_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ATSFontActivateFromFileSpecification
-JNIEXPORT jint JNICALL OS_NATIVE(ATSFontActivateFromFileSpecification)
- (JNIEnv *env, jclass that, jbyteArray arg0, jint arg1, jint arg2, jint arg3, jint arg4, jintArray arg5)
-{
- jbyte *lparg0=NULL;
- jint *lparg5=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ATSFontActivateFromFileSpecification_FUNC);
- if (arg0) if ((lparg0 = (*env)->GetByteArrayElements(env, arg0, NULL)) == NULL) goto fail;
- if (arg5) if ((lparg5 = (*env)->GetIntArrayElements(env, arg5, NULL)) == NULL) goto fail;
- rc = (jint)ATSFontActivateFromFileSpecification((const FSSpec *)lparg0, (ATSFontContext)arg1, (ATSFontFormat)arg2, (void *)arg3, (ATSOptionFlags)arg4, (ATSFontContainerRef *)lparg5);
-fail:
- if (arg5 && lparg5) (*env)->ReleaseIntArrayElements(env, arg5, lparg5, 0);
- if (arg0 && lparg0) (*env)->ReleaseByteArrayElements(env, arg0, lparg0, 0);
- OS_NATIVE_EXIT(env, that, ATSFontActivateFromFileSpecification_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ATSFontDeactivate
-JNIEXPORT jint JNICALL OS_NATIVE(ATSFontDeactivate)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ATSFontDeactivate_FUNC);
- rc = (jint)ATSFontDeactivate((ATSFontContainerRef)arg0, (void *)arg1, (ATSOptionFlags)arg2);
- OS_NATIVE_EXIT(env, that, ATSFontDeactivate_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ATSFontFindFromName
-JNIEXPORT jint JNICALL OS_NATIVE(ATSFontFindFromName)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ATSFontFindFromName_FUNC);
- rc = (jint)ATSFontFindFromName((CFStringRef)arg0, (ATSOptionFlags)arg1);
- OS_NATIVE_EXIT(env, that, ATSFontFindFromName_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ATSFontGetHorizontalMetrics
-JNIEXPORT jint JNICALL OS_NATIVE(ATSFontGetHorizontalMetrics)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jobject arg2)
-{
- ATSFontMetrics _arg2, *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ATSFontGetHorizontalMetrics_FUNC);
- if (arg2) if ((lparg2 = getATSFontMetricsFields(env, arg2, &_arg2)) == NULL) goto fail;
- rc = (jint)ATSFontGetHorizontalMetrics((ATSFontRef)arg0, arg1, lparg2);
-fail:
- if (arg2 && lparg2) setATSFontMetricsFields(env, arg2, lparg2);
- OS_NATIVE_EXIT(env, that, ATSFontGetHorizontalMetrics_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ATSFontGetName
-JNIEXPORT jint JNICALL OS_NATIVE(ATSFontGetName)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jintArray arg2)
-{
- jint *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ATSFontGetName_FUNC);
- if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail;
- rc = (jint)ATSFontGetName((ATSFontRef)arg0, (ATSOptionFlags)arg1, (CFStringRef*)lparg2);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- OS_NATIVE_EXIT(env, that, ATSFontGetName_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ATSFontGetPostScriptName
-JNIEXPORT jint JNICALL OS_NATIVE(ATSFontGetPostScriptName)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jintArray arg2)
-{
- jint *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ATSFontGetPostScriptName_FUNC);
- if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail;
- rc = (jint)ATSFontGetPostScriptName((ATSFontRef)arg0, (ATSOptionFlags)arg1, (CFStringRef *)lparg2);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- OS_NATIVE_EXIT(env, that, ATSFontGetPostScriptName_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ATSFontGetVerticalMetrics
-JNIEXPORT jint JNICALL OS_NATIVE(ATSFontGetVerticalMetrics)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jobject arg2)
-{
- ATSFontMetrics _arg2, *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ATSFontGetVerticalMetrics_FUNC);
- if (arg2) if ((lparg2 = getATSFontMetricsFields(env, arg2, &_arg2)) == NULL) goto fail;
- rc = (jint)ATSFontGetVerticalMetrics((ATSFontRef)arg0, (ATSOptionFlags)arg1, lparg2);
-fail:
- if (arg2 && lparg2) setATSFontMetricsFields(env, arg2, lparg2);
- OS_NATIVE_EXIT(env, that, ATSFontGetVerticalMetrics_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ATSFontIteratorCreate
-JNIEXPORT jint JNICALL OS_NATIVE(ATSFontIteratorCreate)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jintArray arg4)
-{
- jint *lparg4=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ATSFontIteratorCreate_FUNC);
- if (arg4) if ((lparg4 = (*env)->GetIntArrayElements(env, arg4, NULL)) == NULL) goto fail;
- rc = (jint)ATSFontIteratorCreate((ATSFontContext)arg0, (const ATSFontFilter *)arg1, (void *)arg2, (ATSOptionFlags)arg3, (ATSFontIterator *)lparg4);
-fail:
- if (arg4 && lparg4) (*env)->ReleaseIntArrayElements(env, arg4, lparg4, 0);
- OS_NATIVE_EXIT(env, that, ATSFontIteratorCreate_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ATSFontIteratorNext
-JNIEXPORT jint JNICALL OS_NATIVE(ATSFontIteratorNext)
- (JNIEnv *env, jclass that, jint arg0, jintArray arg1)
-{
- jint *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ATSFontIteratorNext_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL)) == NULL) goto fail;
- rc = (jint)ATSFontIteratorNext((ATSFontIterator)arg0, (ATSFontRef *)lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, ATSFontIteratorNext_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ATSFontIteratorRelease
-JNIEXPORT jint JNICALL OS_NATIVE(ATSFontIteratorRelease)
- (JNIEnv *env, jclass that, jintArray arg0)
-{
- jint *lparg0=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ATSFontIteratorRelease_FUNC);
- if (arg0) if ((lparg0 = (*env)->GetIntArrayElements(env, arg0, NULL)) == NULL) goto fail;
- rc = (jint)ATSFontIteratorRelease((ATSFontIterator *)lparg0);
-fail:
- if (arg0 && lparg0) (*env)->ReleaseIntArrayElements(env, arg0, lparg0, 0);
- OS_NATIVE_EXIT(env, that, ATSFontIteratorRelease_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ATSUBatchBreakLines
-JNIEXPORT jint JNICALL OS_NATIVE(ATSUBatchBreakLines)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jintArray arg4)
-{
- jint *lparg4=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ATSUBatchBreakLines_FUNC);
- if (arg4) if ((lparg4 = (*env)->GetIntArrayElements(env, arg4, NULL)) == NULL) goto fail;
- rc = (jint)ATSUBatchBreakLines((ATSUTextLayout)arg0, arg1, arg2, arg3, (ItemCount *)lparg4);
-fail:
- if (arg4 && lparg4) (*env)->ReleaseIntArrayElements(env, arg4, lparg4, 0);
- OS_NATIVE_EXIT(env, that, ATSUBatchBreakLines_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ATSUCreateStyle
-JNIEXPORT jint JNICALL OS_NATIVE(ATSUCreateStyle)
- (JNIEnv *env, jclass that, jintArray arg0)
-{
- jint *lparg0=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ATSUCreateStyle_FUNC);
- if (arg0) if ((lparg0 = (*env)->GetIntArrayElements(env, arg0, NULL)) == NULL) goto fail;
- rc = (jint)ATSUCreateStyle((ATSUStyle *)lparg0);
-fail:
- if (arg0 && lparg0) (*env)->ReleaseIntArrayElements(env, arg0, lparg0, 0);
- OS_NATIVE_EXIT(env, that, ATSUCreateStyle_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ATSUCreateTextLayout
-JNIEXPORT jint JNICALL OS_NATIVE(ATSUCreateTextLayout)
- (JNIEnv *env, jclass that, jintArray arg0)
-{
- jint *lparg0=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ATSUCreateTextLayout_FUNC);
- if (arg0) if ((lparg0 = (*env)->GetIntArrayElements(env, arg0, NULL)) == NULL) goto fail;
- rc = (jint)ATSUCreateTextLayout((ATSUTextLayout *)lparg0);
-fail:
- if (arg0 && lparg0) (*env)->ReleaseIntArrayElements(env, arg0, lparg0, 0);
- OS_NATIVE_EXIT(env, that, ATSUCreateTextLayout_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ATSUCreateTextLayoutWithTextPtr
-JNIEXPORT jint JNICALL OS_NATIVE(ATSUCreateTextLayoutWithTextPtr)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jint arg4, jintArray arg5, jintArray arg6, jintArray arg7)
-{
- jint *lparg5=NULL;
- jint *lparg6=NULL;
- jint *lparg7=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ATSUCreateTextLayoutWithTextPtr_FUNC);
- if (arg5) if ((lparg5 = (*env)->GetIntArrayElements(env, arg5, NULL)) == NULL) goto fail;
- if (arg6) if ((lparg6 = (*env)->GetIntArrayElements(env, arg6, NULL)) == NULL) goto fail;
- if (arg7) if ((lparg7 = (*env)->GetIntArrayElements(env, arg7, NULL)) == NULL) goto fail;
- rc = (jint)ATSUCreateTextLayoutWithTextPtr((ConstUniCharArrayPtr)arg0, arg1, arg2, arg3, arg4, (const UniCharCount *)lparg5, (ATSUStyle *)lparg6, (ATSUTextLayout *)lparg7);
-fail:
- if (arg7 && lparg7) (*env)->ReleaseIntArrayElements(env, arg7, lparg7, 0);
- if (arg6 && lparg6) (*env)->ReleaseIntArrayElements(env, arg6, lparg6, 0);
- if (arg5 && lparg5) (*env)->ReleaseIntArrayElements(env, arg5, lparg5, 0);
- OS_NATIVE_EXIT(env, that, ATSUCreateTextLayoutWithTextPtr_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ATSUDirectGetLayoutDataArrayPtrFromTextLayout
-JNIEXPORT jint JNICALL OS_NATIVE(ATSUDirectGetLayoutDataArrayPtrFromTextLayout)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jintArray arg3, jintArray arg4)
-{
- jint *lparg3=NULL;
- jint *lparg4=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ATSUDirectGetLayoutDataArrayPtrFromTextLayout_FUNC);
- if (arg3) if ((lparg3 = (*env)->GetIntArrayElements(env, arg3, NULL)) == NULL) goto fail;
- if (arg4) if ((lparg4 = (*env)->GetIntArrayElements(env, arg4, NULL)) == NULL) goto fail;
- rc = (jint)ATSUDirectGetLayoutDataArrayPtrFromTextLayout((ATSUTextLayout)arg0, (UniCharArrayOffset)arg1, (ATSUDirectDataSelector)arg2, (void *)lparg3, (ItemCount *)lparg4);
-fail:
- if (arg4 && lparg4) (*env)->ReleaseIntArrayElements(env, arg4, lparg4, 0);
- if (arg3 && lparg3) (*env)->ReleaseIntArrayElements(env, arg3, lparg3, 0);
- OS_NATIVE_EXIT(env, that, ATSUDirectGetLayoutDataArrayPtrFromTextLayout_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ATSUDirectReleaseLayoutDataArrayPtr
-JNIEXPORT jint JNICALL OS_NATIVE(ATSUDirectReleaseLayoutDataArrayPtr)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ATSUDirectReleaseLayoutDataArrayPtr_FUNC);
- rc = (jint)ATSUDirectReleaseLayoutDataArrayPtr((ATSULineRef)arg0, (ATSUDirectDataSelector)arg1, (void *)arg2);
- OS_NATIVE_EXIT(env, that, ATSUDirectReleaseLayoutDataArrayPtr_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ATSUDisposeStyle
-JNIEXPORT jint JNICALL OS_NATIVE(ATSUDisposeStyle)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ATSUDisposeStyle_FUNC);
- rc = (jint)ATSUDisposeStyle((ATSUStyle)arg0);
- OS_NATIVE_EXIT(env, that, ATSUDisposeStyle_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ATSUDisposeTextLayout
-JNIEXPORT jint JNICALL OS_NATIVE(ATSUDisposeTextLayout)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ATSUDisposeTextLayout_FUNC);
- rc = (jint)ATSUDisposeTextLayout((ATSUTextLayout)arg0);
- OS_NATIVE_EXIT(env, that, ATSUDisposeTextLayout_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ATSUDrawText
-JNIEXPORT jint JNICALL OS_NATIVE(ATSUDrawText)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jint arg4)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ATSUDrawText_FUNC);
- rc = (jint)ATSUDrawText((ATSUTextLayout)arg0, (UniCharArrayOffset)arg1, (UniCharCount)arg2, (ATSUTextMeasurement)arg3, (ATSUTextMeasurement)arg4);
- OS_NATIVE_EXIT(env, that, ATSUDrawText_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ATSUFindFontFromName
-JNIEXPORT jint JNICALL OS_NATIVE(ATSUFindFontFromName)
- (JNIEnv *env, jclass that, jbyteArray arg0, jint arg1, jint arg2, jint arg3, jint arg4, jint arg5, jintArray arg6)
-{
- jbyte *lparg0=NULL;
- jint *lparg6=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ATSUFindFontFromName_FUNC);
- if (arg0) if ((lparg0 = (*env)->GetByteArrayElements(env, arg0, NULL)) == NULL) goto fail;
- if (arg6) if ((lparg6 = (*env)->GetIntArrayElements(env, arg6, NULL)) == NULL) goto fail;
- rc = (jint)ATSUFindFontFromName((const void *)lparg0, arg1, arg2, arg3, arg4, arg5, (ATSUFontID *)lparg6);
-fail:
- if (arg6 && lparg6) (*env)->ReleaseIntArrayElements(env, arg6, lparg6, 0);
- if (arg0 && lparg0) (*env)->ReleaseByteArrayElements(env, arg0, lparg0, 0);
- OS_NATIVE_EXIT(env, that, ATSUFindFontFromName_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ATSUFindFontName
-JNIEXPORT jint JNICALL OS_NATIVE(ATSUFindFontName)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jint arg4, jint arg5, jbyteArray arg6, jintArray arg7, jintArray arg8)
-{
- jbyte *lparg6=NULL;
- jint *lparg7=NULL;
- jint *lparg8=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ATSUFindFontName_FUNC);
- if (arg6) if ((lparg6 = (*env)->GetByteArrayElements(env, arg6, NULL)) == NULL) goto fail;
- if (arg7) if ((lparg7 = (*env)->GetIntArrayElements(env, arg7, NULL)) == NULL) goto fail;
- if (arg8) if ((lparg8 = (*env)->GetIntArrayElements(env, arg8, NULL)) == NULL) goto fail;
- rc = (jint)ATSUFindFontName((ATSUFontID)arg0, arg1, arg2, arg3, arg4, arg5, (Ptr)lparg6, (ByteCount *)lparg7, (ItemCount *)lparg8);
-fail:
- if (arg8 && lparg8) (*env)->ReleaseIntArrayElements(env, arg8, lparg8, 0);
- if (arg7 && lparg7) (*env)->ReleaseIntArrayElements(env, arg7, lparg7, 0);
- if (arg6 && lparg6) (*env)->ReleaseByteArrayElements(env, arg6, lparg6, 0);
- OS_NATIVE_EXIT(env, that, ATSUFindFontName_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ATSUGetFontIDs
-JNIEXPORT jint JNICALL OS_NATIVE(ATSUGetFontIDs)
- (JNIEnv *env, jclass that, jintArray arg0, jint arg1, jintArray arg2)
-{
- jint *lparg0=NULL;
- jint *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ATSUGetFontIDs_FUNC);
- if (arg0) if ((lparg0 = (*env)->GetIntArrayElements(env, arg0, NULL)) == NULL) goto fail;
- if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail;
- rc = (jint)ATSUGetFontIDs((ATSUFontID *)lparg0, arg1, (ItemCount *)lparg2);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- if (arg0 && lparg0) (*env)->ReleaseIntArrayElements(env, arg0, lparg0, 0);
- OS_NATIVE_EXIT(env, that, ATSUGetFontIDs_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ATSUGetGlyphBounds__IIIIISII_3I
-JNIEXPORT jint JNICALL OS_NATIVE(ATSUGetGlyphBounds__IIIIISII_3I)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jint arg4, jshort arg5, jint arg6, jint arg7, jintArray arg8)
-{
- jint *lparg8=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ATSUGetGlyphBounds__IIIIISII_3I_FUNC);
- if (arg8) if ((lparg8 = (*env)->GetIntArrayElements(env, arg8, NULL)) == NULL) goto fail;
- rc = (jint)ATSUGetGlyphBounds((ATSUTextLayout)arg0, (ATSUTextMeasurement)arg1, (ATSUTextMeasurement)arg2, (UniCharArrayOffset)arg3, arg4, arg5, arg6, (ATSTrapezoid *)arg7, (ItemCount *)lparg8);
-fail:
- if (arg8 && lparg8) (*env)->ReleaseIntArrayElements(env, arg8, lparg8, 0);
- OS_NATIVE_EXIT(env, that, ATSUGetGlyphBounds__IIIIISII_3I_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ATSUGetGlyphBounds__IIIIISILorg_eclipse_swt_internal_carbon_ATSTrapezoid_2_3I
-JNIEXPORT jint JNICALL OS_NATIVE(ATSUGetGlyphBounds__IIIIISILorg_eclipse_swt_internal_carbon_ATSTrapezoid_2_3I)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jint arg4, jshort arg5, jint arg6, jobject arg7, jintArray arg8)
-{
- ATSTrapezoid _arg7, *lparg7=NULL;
- jint *lparg8=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ATSUGetGlyphBounds__IIIIISILorg_eclipse_swt_internal_carbon_ATSTrapezoid_2_3I_FUNC);
- if (arg7) if ((lparg7 = getATSTrapezoidFields(env, arg7, &_arg7)) == NULL) goto fail;
- if (arg8) if ((lparg8 = (*env)->GetIntArrayElements(env, arg8, NULL)) == NULL) goto fail;
- rc = (jint)ATSUGetGlyphBounds((ATSUTextLayout)arg0, (ATSUTextMeasurement)arg1, (ATSUTextMeasurement)arg2, (UniCharArrayOffset)arg3, arg4, arg5, arg6, (ATSTrapezoid *)lparg7, (ItemCount *)lparg8);
-fail:
- if (arg8 && lparg8) (*env)->ReleaseIntArrayElements(env, arg8, lparg8, 0);
- if (arg7 && lparg7) setATSTrapezoidFields(env, arg7, lparg7);
- OS_NATIVE_EXIT(env, that, ATSUGetGlyphBounds__IIIIISILorg_eclipse_swt_internal_carbon_ATSTrapezoid_2_3I_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ATSUGetLayoutControl
-JNIEXPORT jint JNICALL OS_NATIVE(ATSUGetLayoutControl)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jintArray arg3, jintArray arg4)
-{
- jint *lparg3=NULL;
- jint *lparg4=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ATSUGetLayoutControl_FUNC);
- if (arg3) if ((lparg3 = (*env)->GetIntArrayElements(env, arg3, NULL)) == NULL) goto fail;
- if (arg4) if ((lparg4 = (*env)->GetIntArrayElements(env, arg4, NULL)) == NULL) goto fail;
- rc = (jint)ATSUGetLayoutControl((ATSUTextLayout)arg0, (ATSUAttributeTag)arg1, arg2, (ATSUAttributeValuePtr)lparg3, (ByteCount *)lparg4);
-fail:
- if (arg4 && lparg4) (*env)->ReleaseIntArrayElements(env, arg4, lparg4, 0);
- if (arg3 && lparg3) (*env)->ReleaseIntArrayElements(env, arg3, lparg3, 0);
- OS_NATIVE_EXIT(env, that, ATSUGetLayoutControl_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ATSUGetLineControl
-JNIEXPORT jint JNICALL OS_NATIVE(ATSUGetLineControl)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jintArray arg4, jintArray arg5)
-{
- jint *lparg4=NULL;
- jint *lparg5=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ATSUGetLineControl_FUNC);
- if (arg4) if ((lparg4 = (*env)->GetIntArrayElements(env, arg4, NULL)) == NULL) goto fail;
- if (arg5) if ((lparg5 = (*env)->GetIntArrayElements(env, arg5, NULL)) == NULL) goto fail;
- rc = (jint)ATSUGetLineControl((ATSUTextLayout)arg0, (UniCharArrayOffset)arg1, (ATSUAttributeTag)arg2, (ByteCount)arg3, (ATSUAttributeValuePtr)lparg4, (ByteCount *)lparg5);
-fail:
- if (arg5 && lparg5) (*env)->ReleaseIntArrayElements(env, arg5, lparg5, 0);
- if (arg4 && lparg4) (*env)->ReleaseIntArrayElements(env, arg4, lparg4, 0);
- OS_NATIVE_EXIT(env, that, ATSUGetLineControl_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ATSUGetSoftLineBreaks
-JNIEXPORT jint JNICALL OS_NATIVE(ATSUGetSoftLineBreaks)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jintArray arg4, jintArray arg5)
-{
- jint *lparg4=NULL;
- jint *lparg5=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ATSUGetSoftLineBreaks_FUNC);
- if (arg4) if ((lparg4 = (*env)->GetIntArrayElements(env, arg4, NULL)) == NULL) goto fail;
- if (arg5) if ((lparg5 = (*env)->GetIntArrayElements(env, arg5, NULL)) == NULL) goto fail;
- rc = (jint)ATSUGetSoftLineBreaks((ATSUTextLayout)arg0, (UniCharArrayOffset)arg1, (UniCharCount)arg2, (ItemCount)arg3, (UniCharArrayOffset *)lparg4, (ItemCount *)lparg5);
-fail:
- if (arg5 && lparg5) (*env)->ReleaseIntArrayElements(env, arg5, lparg5, 0);
- if (arg4 && lparg4) (*env)->ReleaseIntArrayElements(env, arg4, lparg4, 0);
- OS_NATIVE_EXIT(env, that, ATSUGetSoftLineBreaks_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ATSUGetTextHighlight
-JNIEXPORT jint JNICALL OS_NATIVE(ATSUGetTextHighlight)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jint arg4, jint arg5)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ATSUGetTextHighlight_FUNC);
- rc = (jint)ATSUGetTextHighlight((ATSUTextLayout)arg0, arg1, arg2, arg3, arg4, (RgnHandle)arg5);
- OS_NATIVE_EXIT(env, that, ATSUGetTextHighlight_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ATSUGetUnjustifiedBounds
-JNIEXPORT jint JNICALL OS_NATIVE(ATSUGetUnjustifiedBounds)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jintArray arg3, jintArray arg4, jintArray arg5, jintArray arg6)
-{
- jint *lparg3=NULL;
- jint *lparg4=NULL;
- jint *lparg5=NULL;
- jint *lparg6=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ATSUGetUnjustifiedBounds_FUNC);
- if (arg3) if ((lparg3 = (*env)->GetIntArrayElements(env, arg3, NULL)) == NULL) goto fail;
- if (arg4) if ((lparg4 = (*env)->GetIntArrayElements(env, arg4, NULL)) == NULL) goto fail;
- if (arg5) if ((lparg5 = (*env)->GetIntArrayElements(env, arg5, NULL)) == NULL) goto fail;
- if (arg6) if ((lparg6 = (*env)->GetIntArrayElements(env, arg6, NULL)) == NULL) goto fail;
- rc = (jint)ATSUGetUnjustifiedBounds((ATSUTextLayout)arg0, arg1, arg2, (ATSUTextMeasurement *)lparg3, (ATSUTextMeasurement *)lparg4, (ATSUTextMeasurement *)lparg5, (ATSUTextMeasurement *)lparg6);
-fail:
- if (arg6 && lparg6) (*env)->ReleaseIntArrayElements(env, arg6, lparg6, 0);
- if (arg5 && lparg5) (*env)->ReleaseIntArrayElements(env, arg5, lparg5, 0);
- if (arg4 && lparg4) (*env)->ReleaseIntArrayElements(env, arg4, lparg4, 0);
- if (arg3 && lparg3) (*env)->ReleaseIntArrayElements(env, arg3, lparg3, 0);
- OS_NATIVE_EXIT(env, that, ATSUGetUnjustifiedBounds_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ATSUGlyphGetQuadraticPaths
-JNIEXPORT jint JNICALL OS_NATIVE(ATSUGlyphGetQuadraticPaths)
- (JNIEnv *env, jclass that, jint arg0, jshort arg1, jint arg2, jint arg3, jint arg4, jint arg5, jint arg6, jintArray arg7)
-{
- jint *lparg7=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ATSUGlyphGetQuadraticPaths_FUNC);
- if (arg7) if ((lparg7 = (*env)->GetIntArrayElements(env, arg7, NULL)) == NULL) goto fail;
- rc = (jint)ATSUGlyphGetQuadraticPaths((ATSUStyle)arg0, (GlyphID)arg1, (ATSQuadraticNewPathUPP)arg2, (ATSQuadraticLineUPP)arg3, (ATSQuadraticCurveUPP)arg4, (ATSQuadraticClosePathUPP)arg5, (void *)arg6, (OSStatus *)lparg7);
-fail:
- if (arg7 && lparg7) (*env)->ReleaseIntArrayElements(env, arg7, lparg7, 0);
- OS_NATIVE_EXIT(env, that, ATSUGlyphGetQuadraticPaths_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ATSUHighlightText
-JNIEXPORT jint JNICALL OS_NATIVE(ATSUHighlightText)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jint arg4)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ATSUHighlightText_FUNC);
- rc = (jint)ATSUHighlightText((ATSUTextLayout)arg0, (ATSUTextMeasurement)arg1, (ATSUTextMeasurement)arg2, arg3, arg4);
- OS_NATIVE_EXIT(env, that, ATSUHighlightText_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ATSUNextCursorPosition
-JNIEXPORT jint JNICALL OS_NATIVE(ATSUNextCursorPosition)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jintArray arg3)
-{
- jint *lparg3=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ATSUNextCursorPosition_FUNC);
- if (arg3) if ((lparg3 = (*env)->GetIntArrayElements(env, arg3, NULL)) == NULL) goto fail;
- rc = (jint)ATSUNextCursorPosition((ATSUTextLayout)arg0, (UniCharArrayOffset)arg1, (ATSUCursorMovementType)arg2, (UniCharArrayOffset *)lparg3);
-fail:
- if (arg3 && lparg3) (*env)->ReleaseIntArrayElements(env, arg3, lparg3, 0);
- OS_NATIVE_EXIT(env, that, ATSUNextCursorPosition_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ATSUOffsetToPosition
-JNIEXPORT jint JNICALL OS_NATIVE(ATSUOffsetToPosition)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jboolean arg2, jobject arg3, jobject arg4, jbooleanArray arg5)
-{
- ATSUCaret _arg3, *lparg3=NULL;
- ATSUCaret _arg4, *lparg4=NULL;
- jboolean *lparg5=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ATSUOffsetToPosition_FUNC);
- if (arg3) if ((lparg3 = getATSUCaretFields(env, arg3, &_arg3)) == NULL) goto fail;
- if (arg4) if ((lparg4 = getATSUCaretFields(env, arg4, &_arg4)) == NULL) goto fail;
- if (arg5) if ((lparg5 = (*env)->GetBooleanArrayElements(env, arg5, NULL)) == NULL) goto fail;
- rc = (jint)ATSUOffsetToPosition((ATSUTextLayout)arg0, arg1, arg2, lparg3, lparg4, (Boolean *)lparg5);
-fail:
- if (arg5 && lparg5) (*env)->ReleaseBooleanArrayElements(env, arg5, lparg5, 0);
- if (arg4 && lparg4) setATSUCaretFields(env, arg4, lparg4);
- if (arg3 && lparg3) setATSUCaretFields(env, arg3, lparg3);
- OS_NATIVE_EXIT(env, that, ATSUOffsetToPosition_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ATSUPositionToOffset
-JNIEXPORT jint JNICALL OS_NATIVE(ATSUPositionToOffset)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jintArray arg3, jbooleanArray arg4, jintArray arg5)
-{
- jint *lparg3=NULL;
- jboolean *lparg4=NULL;
- jint *lparg5=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ATSUPositionToOffset_FUNC);
- if (arg3) if ((lparg3 = (*env)->GetIntArrayElements(env, arg3, NULL)) == NULL) goto fail;
- if (arg4) if ((lparg4 = (*env)->GetBooleanArrayElements(env, arg4, NULL)) == NULL) goto fail;
- if (arg5) if ((lparg5 = (*env)->GetIntArrayElements(env, arg5, NULL)) == NULL) goto fail;
- rc = (jint)ATSUPositionToOffset((ATSUTextLayout)arg0, arg1, arg2, (UniCharArrayOffset *)lparg3, (Boolean *)lparg4, (UniCharArrayOffset *)lparg5);
-fail:
- if (arg5 && lparg5) (*env)->ReleaseIntArrayElements(env, arg5, lparg5, 0);
- if (arg4 && lparg4) (*env)->ReleaseBooleanArrayElements(env, arg4, lparg4, 0);
- if (arg3 && lparg3) (*env)->ReleaseIntArrayElements(env, arg3, lparg3, 0);
- OS_NATIVE_EXIT(env, that, ATSUPositionToOffset_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ATSUPreviousCursorPosition
-JNIEXPORT jint JNICALL OS_NATIVE(ATSUPreviousCursorPosition)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jintArray arg3)
-{
- jint *lparg3=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ATSUPreviousCursorPosition_FUNC);
- if (arg3) if ((lparg3 = (*env)->GetIntArrayElements(env, arg3, NULL)) == NULL) goto fail;
- rc = (jint)ATSUPreviousCursorPosition((ATSUTextLayout)arg0, (UniCharArrayOffset)arg1, (ATSUCursorMovementType)arg2, (UniCharArrayOffset *)lparg3);
-fail:
- if (arg3 && lparg3) (*env)->ReleaseIntArrayElements(env, arg3, lparg3, 0);
- OS_NATIVE_EXIT(env, that, ATSUPreviousCursorPosition_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ATSUSetAttributes
-JNIEXPORT jint JNICALL OS_NATIVE(ATSUSetAttributes)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jintArray arg2, jintArray arg3, jintArray arg4)
-{
- jint *lparg2=NULL;
- jint *lparg3=NULL;
- jint *lparg4=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ATSUSetAttributes_FUNC);
- if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail;
- if (arg3) if ((lparg3 = (*env)->GetIntArrayElements(env, arg3, NULL)) == NULL) goto fail;
- if (arg4) if ((lparg4 = (*env)->GetIntArrayElements(env, arg4, NULL)) == NULL) goto fail;
- rc = (jint)ATSUSetAttributes((ATSUStyle)arg0, (ItemCount)arg1, (ATSUAttributeTag *)lparg2, (ByteCount *)lparg3, (ATSUAttributeValuePtr *)lparg4);
-fail:
- if (arg4 && lparg4) (*env)->ReleaseIntArrayElements(env, arg4, lparg4, 0);
- if (arg3 && lparg3) (*env)->ReleaseIntArrayElements(env, arg3, lparg3, 0);
- if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- OS_NATIVE_EXIT(env, that, ATSUSetAttributes_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ATSUSetFontFeatures
-JNIEXPORT jint JNICALL OS_NATIVE(ATSUSetFontFeatures)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jshortArray arg2, jshortArray arg3)
-{
- jshort *lparg2=NULL;
- jshort *lparg3=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ATSUSetFontFeatures_FUNC);
- if (arg2) if ((lparg2 = (*env)->GetShortArrayElements(env, arg2, NULL)) == NULL) goto fail;
- if (arg3) if ((lparg3 = (*env)->GetShortArrayElements(env, arg3, NULL)) == NULL) goto fail;
- rc = (jint)ATSUSetFontFeatures((ATSUStyle)arg0, (ItemCount)arg1, (const ATSUFontFeatureType *)lparg2, (const ATSUFontFeatureSelector *)lparg3);
-fail:
- if (arg3 && lparg3) (*env)->ReleaseShortArrayElements(env, arg3, lparg3, 0);
- if (arg2 && lparg2) (*env)->ReleaseShortArrayElements(env, arg2, lparg2, 0);
- OS_NATIVE_EXIT(env, that, ATSUSetFontFeatures_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ATSUSetHighlightingMethod
-JNIEXPORT jint JNICALL OS_NATIVE(ATSUSetHighlightingMethod)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jobject arg2)
-{
- ATSUUnhighlightData _arg2, *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ATSUSetHighlightingMethod_FUNC);
- if (arg2) if ((lparg2 = getATSUUnhighlightDataFields(env, arg2, &_arg2)) == NULL) goto fail;
- rc = (jint)ATSUSetHighlightingMethod((ATSUTextLayout)arg0, arg1, lparg2);
-fail:
- if (arg2 && lparg2) setATSUUnhighlightDataFields(env, arg2, lparg2);
- OS_NATIVE_EXIT(env, that, ATSUSetHighlightingMethod_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ATSUSetLayoutControls
-JNIEXPORT jint JNICALL OS_NATIVE(ATSUSetLayoutControls)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jintArray arg2, jintArray arg3, jintArray arg4)
-{
- jint *lparg2=NULL;
- jint *lparg3=NULL;
- jint *lparg4=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ATSUSetLayoutControls_FUNC);
- if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail;
- if (arg3) if ((lparg3 = (*env)->GetIntArrayElements(env, arg3, NULL)) == NULL) goto fail;
- if (arg4) if ((lparg4 = (*env)->GetIntArrayElements(env, arg4, NULL)) == NULL) goto fail;
- rc = (jint)ATSUSetLayoutControls((ATSUTextLayout)arg0, (ItemCount)arg1, (ATSUAttributeTag *)lparg2, (ByteCount *)lparg3, (ATSUAttributeValuePtr *)lparg4);
-fail:
- if (arg4 && lparg4) (*env)->ReleaseIntArrayElements(env, arg4, lparg4, 0);
- if (arg3 && lparg3) (*env)->ReleaseIntArrayElements(env, arg3, lparg3, 0);
- if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- OS_NATIVE_EXIT(env, that, ATSUSetLayoutControls_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ATSUSetLineControls
-JNIEXPORT jint JNICALL OS_NATIVE(ATSUSetLineControls)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jintArray arg3, jintArray arg4, jintArray arg5)
-{
- jint *lparg3=NULL;
- jint *lparg4=NULL;
- jint *lparg5=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ATSUSetLineControls_FUNC);
- if (arg3) if ((lparg3 = (*env)->GetIntArrayElements(env, arg3, NULL)) == NULL) goto fail;
- if (arg4) if ((lparg4 = (*env)->GetIntArrayElements(env, arg4, NULL)) == NULL) goto fail;
- if (arg5) if ((lparg5 = (*env)->GetIntArrayElements(env, arg5, NULL)) == NULL) goto fail;
- rc = (jint)ATSUSetLineControls((ATSUTextLayout)arg0, (UniCharArrayOffset)arg1, (ItemCount)arg2, (const ATSUAttributeTag *)lparg3, (const ByteCount *)lparg4, (const ATSUAttributeValuePtr *)lparg5);
-fail:
- if (arg5 && lparg5) (*env)->ReleaseIntArrayElements(env, arg5, lparg5, 0);
- if (arg4 && lparg4) (*env)->ReleaseIntArrayElements(env, arg4, lparg4, 0);
- if (arg3 && lparg3) (*env)->ReleaseIntArrayElements(env, arg3, lparg3, 0);
- OS_NATIVE_EXIT(env, that, ATSUSetLineControls_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ATSUSetRunStyle
-JNIEXPORT jint JNICALL OS_NATIVE(ATSUSetRunStyle)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ATSUSetRunStyle_FUNC);
- rc = (jint)ATSUSetRunStyle((ATSUTextLayout)arg0, (ATSUStyle)arg1, (UniCharArrayOffset)arg2, (UniCharCount)arg3);
- OS_NATIVE_EXIT(env, that, ATSUSetRunStyle_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ATSUSetSoftLineBreak
-JNIEXPORT jint JNICALL OS_NATIVE(ATSUSetSoftLineBreak)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ATSUSetSoftLineBreak_FUNC);
- rc = (jint)ATSUSetSoftLineBreak((ATSUTextLayout)arg0, arg1);
- OS_NATIVE_EXIT(env, that, ATSUSetSoftLineBreak_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ATSUSetTabArray
-JNIEXPORT jint JNICALL OS_NATIVE(ATSUSetTabArray)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ATSUSetTabArray_FUNC);
- rc = (jint)ATSUSetTabArray((ATSUTextLayout)arg0, (const ATSUTab *)arg1, arg2);
- OS_NATIVE_EXIT(env, that, ATSUSetTabArray_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ATSUSetTextPointerLocation
-JNIEXPORT jint JNICALL OS_NATIVE(ATSUSetTextPointerLocation)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jint arg4)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ATSUSetTextPointerLocation_FUNC);
- rc = (jint)ATSUSetTextPointerLocation((ATSUTextLayout)arg0, (ConstUniCharArrayPtr)arg1, (UniCharArrayOffset)arg2, (UniCharCount)arg3, (UniCharCount)arg4);
- OS_NATIVE_EXIT(env, that, ATSUSetTextPointerLocation_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ATSUSetTransientFontMatching
-JNIEXPORT jint JNICALL OS_NATIVE(ATSUSetTransientFontMatching)
- (JNIEnv *env, jclass that, jint arg0, jboolean arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ATSUSetTransientFontMatching_FUNC);
- rc = (jint)ATSUSetTransientFontMatching((ATSUTextLayout)arg0, arg1);
- OS_NATIVE_EXIT(env, that, ATSUSetTransientFontMatching_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ATSUTextDeleted
-JNIEXPORT jint JNICALL OS_NATIVE(ATSUTextDeleted)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ATSUTextDeleted_FUNC);
- rc = (jint)ATSUTextDeleted((ATSUTextLayout)arg0, arg1, arg2);
- OS_NATIVE_EXIT(env, that, ATSUTextDeleted_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ATSUTextInserted
-JNIEXPORT jint JNICALL OS_NATIVE(ATSUTextInserted)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ATSUTextInserted_FUNC);
- rc = (jint)ATSUTextInserted((ATSUTextLayout)arg0, arg1, arg2);
- OS_NATIVE_EXIT(env, that, ATSUTextInserted_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_AXNotificationHIObjectNotify
-JNIEXPORT void JNICALL OS_NATIVE(AXNotificationHIObjectNotify)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jlong arg2)
-{
- OS_NATIVE_ENTER(env, that, AXNotificationHIObjectNotify_FUNC);
- AXNotificationHIObjectNotify((CFStringRef)arg0, (HIObjectRef)arg1, (UInt64)arg2);
- OS_NATIVE_EXIT(env, that, AXNotificationHIObjectNotify_FUNC);
-}
-#endif
-
-#ifndef NO_AXUIElementCopyAttributeValue
-JNIEXPORT jint JNICALL OS_NATIVE(AXUIElementCopyAttributeValue)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jintArray arg2)
-{
- jint *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, AXUIElementCopyAttributeValue_FUNC);
- if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail;
- rc = (jint)AXUIElementCopyAttributeValue((AXUIElementRef)arg0, (CFStringRef)arg1, (CFTypeRef *)lparg2);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- OS_NATIVE_EXIT(env, that, AXUIElementCopyAttributeValue_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_AXUIElementCreateWithDataBrowserAndItemInfo
-JNIEXPORT jint JNICALL OS_NATIVE(AXUIElementCreateWithDataBrowserAndItemInfo)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1)
-{
- DataBrowserAccessibilityItemInfo _arg1, *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, AXUIElementCreateWithDataBrowserAndItemInfo_FUNC);
- if (arg1) if ((lparg1 = getDataBrowserAccessibilityItemInfoFields(env, arg1, &_arg1)) == NULL) goto fail;
-/*
- rc = (jint)AXUIElementCreateWithDataBrowserAndItemInfo(arg0, lparg1);
-*/
- {
- LOAD_FUNCTION(fp, AXUIElementCreateWithDataBrowserAndItemInfo)
- if (fp) {
- rc = (jint)((jint (CALLING_CONVENTION*)(jint, DataBrowserAccessibilityItemInfo *))fp)(arg0, lparg1);
- }
- }
-fail:
- if (arg1 && lparg1) setDataBrowserAccessibilityItemInfoFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, AXUIElementCreateWithDataBrowserAndItemInfo_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_AXUIElementCreateWithHIObjectAndIdentifier
-JNIEXPORT jint JNICALL OS_NATIVE(AXUIElementCreateWithHIObjectAndIdentifier)
- (JNIEnv *env, jclass that, jint arg0, jlong arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, AXUIElementCreateWithHIObjectAndIdentifier_FUNC);
- rc = (jint)AXUIElementCreateWithHIObjectAndIdentifier((HIObjectRef)arg0, (UInt64)arg1);
- OS_NATIVE_EXIT(env, that, AXUIElementCreateWithHIObjectAndIdentifier_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_AXUIElementGetDataBrowserItemInfo
-JNIEXPORT jint JNICALL OS_NATIVE(AXUIElementGetDataBrowserItemInfo)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jobject arg3)
-{
- DataBrowserAccessibilityItemInfo _arg3, *lparg3=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, AXUIElementGetDataBrowserItemInfo_FUNC);
- if (arg3) if ((lparg3 = getDataBrowserAccessibilityItemInfoFields(env, arg3, &_arg3)) == NULL) goto fail;
-/*
- rc = (jint)AXUIElementGetDataBrowserItemInfo(arg0, arg1, arg2, lparg3);
-*/
- {
- LOAD_FUNCTION(fp, AXUIElementGetDataBrowserItemInfo)
- if (fp) {
- rc = (jint)((jint (CALLING_CONVENTION*)(jint, jint, jint, DataBrowserAccessibilityItemInfo *))fp)(arg0, arg1, arg2, lparg3);
- }
- }
-fail:
- if (arg3 && lparg3) setDataBrowserAccessibilityItemInfoFields(env, arg3, lparg3);
- OS_NATIVE_EXIT(env, that, AXUIElementGetDataBrowserItemInfo_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_AXUIElementGetHIObject
-JNIEXPORT jint JNICALL OS_NATIVE(AXUIElementGetHIObject)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, AXUIElementGetHIObject_FUNC);
- rc = (jint)AXUIElementGetHIObject((AXUIElementRef)arg0);
- OS_NATIVE_EXIT(env, that, AXUIElementGetHIObject_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_AXUIElementGetIdentifier
-JNIEXPORT void JNICALL OS_NATIVE(AXUIElementGetIdentifier)
- (JNIEnv *env, jclass that, jint arg0, jlongArray arg1)
-{
- jlong *lparg1=NULL;
- OS_NATIVE_ENTER(env, that, AXUIElementGetIdentifier_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetLongArrayElements(env, arg1, NULL)) == NULL) goto fail;
- AXUIElementGetIdentifier((AXUIElementRef)arg0, (UInt64 *)lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseLongArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, AXUIElementGetIdentifier_FUNC);
-}
-#endif
-
-#ifndef NO_AXValueCreate
-JNIEXPORT jint JNICALL OS_NATIVE(AXValueCreate)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1)
-{
- CFRange _arg1, *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, AXValueCreate_FUNC);
- if (arg1) if ((lparg1 = getCFRangeFields(env, arg1, &_arg1)) == NULL) goto fail;
- rc = (jint)AXValueCreate((AXValueType)arg0, (CFRange *)lparg1);
-fail:
- if (arg1 && lparg1) setCFRangeFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, AXValueCreate_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_AXValueGetValue
-JNIEXPORT jboolean JNICALL OS_NATIVE(AXValueGetValue)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jobject arg2)
-{
- CFRange _arg2, *lparg2=NULL;
- jboolean rc = 0;
- OS_NATIVE_ENTER(env, that, AXValueGetValue_FUNC);
- if (arg2) if ((lparg2 = getCFRangeFields(env, arg2, &_arg2)) == NULL) goto fail;
- rc = (jboolean)AXValueGetValue((AXValueRef)arg0, (AXValueType)arg1, (CFRange *)lparg2);
-fail:
- if (arg2 && lparg2) setCFRangeFields(env, arg2, lparg2);
- OS_NATIVE_EXIT(env, that, AXValueGetValue_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_AcquireFirstMatchingEventInQueue
-JNIEXPORT jint JNICALL OS_NATIVE(AcquireFirstMatchingEventInQueue)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jintArray arg2, jint arg3)
-{
- jint *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, AcquireFirstMatchingEventInQueue_FUNC);
- if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail;
- rc = (jint)AcquireFirstMatchingEventInQueue((EventQueueRef)arg0, arg1, (const EventTypeSpec *)lparg2, arg3);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- OS_NATIVE_EXIT(env, that, AcquireFirstMatchingEventInQueue_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ActivateTSMDocument
-JNIEXPORT jint JNICALL OS_NATIVE(ActivateTSMDocument)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ActivateTSMDocument_FUNC);
- rc = (jint)ActivateTSMDocument((TSMDocumentID)arg0);
- OS_NATIVE_EXIT(env, that, ActivateTSMDocument_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ActiveNonFloatingWindow
-JNIEXPORT jint JNICALL OS_NATIVE(ActiveNonFloatingWindow)
- (JNIEnv *env, jclass that)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ActiveNonFloatingWindow_FUNC);
- rc = (jint)ActiveNonFloatingWindow();
- OS_NATIVE_EXIT(env, that, ActiveNonFloatingWindow_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_AddDataBrowserItems
-JNIEXPORT jint JNICALL OS_NATIVE(AddDataBrowserItems)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jintArray arg3, jint arg4)
-{
- jint *lparg3=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, AddDataBrowserItems_FUNC);
- if (arg3) if ((lparg3 = (*env)->GetIntArrayElements(env, arg3, NULL)) == NULL) goto fail;
- rc = (jint)AddDataBrowserItems((ControlRef)arg0, (DataBrowserItemID)arg1, (UInt32)arg2, (const DataBrowserItemID *)lparg3, (DataBrowserPropertyID)arg4);
-fail:
- if (arg3 && lparg3) (*env)->ReleaseIntArrayElements(env, arg3, lparg3, 0);
- OS_NATIVE_EXIT(env, that, AddDataBrowserItems_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_AddDataBrowserListViewColumn
-JNIEXPORT jint JNICALL OS_NATIVE(AddDataBrowserListViewColumn)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1, jint arg2)
-{
- DataBrowserListViewColumnDesc _arg1, *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, AddDataBrowserListViewColumn_FUNC);
- if (arg1) if ((lparg1 = getDataBrowserListViewColumnDescFields(env, arg1, &_arg1)) == NULL) goto fail;
- rc = (jint)AddDataBrowserListViewColumn((ControlRef)arg0, (DataBrowserListViewColumnDesc *)lparg1, (DataBrowserTableViewColumnIndex)arg2);
-fail:
- if (arg1 && lparg1) setDataBrowserListViewColumnDescFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, AddDataBrowserListViewColumn_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_AddDragItemFlavor
-JNIEXPORT jint JNICALL OS_NATIVE(AddDragItemFlavor)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jbyteArray arg3, jint arg4, jint arg5)
-{
- jbyte *lparg3=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, AddDragItemFlavor_FUNC);
- if (arg3) if ((lparg3 = (*env)->GetByteArrayElements(env, arg3, NULL)) == NULL) goto fail;
- rc = (jint)AddDragItemFlavor((DragRef)arg0, (DragItemRef)arg1, (FlavorType)arg2, (const void *)lparg3, (Size)arg4, (FlavorFlags)arg5);
-fail:
- if (arg3 && lparg3) (*env)->ReleaseByteArrayElements(env, arg3, lparg3, 0);
- OS_NATIVE_EXIT(env, that, AddDragItemFlavor_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_AppendMenuItemTextWithCFString
-JNIEXPORT jint JNICALL OS_NATIVE(AppendMenuItemTextWithCFString)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jshortArray arg4)
-{
- jshort *lparg4=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, AppendMenuItemTextWithCFString_FUNC);
- if (arg4) if ((lparg4 = (*env)->GetShortArrayElements(env, arg4, NULL)) == NULL) goto fail;
- rc = (jint)AppendMenuItemTextWithCFString((MenuRef)arg0, (CFStringRef)arg1, (MenuItemAttributes)arg2, (MenuCommand)arg3, (MenuItemIndex *)lparg4);
-fail:
- if (arg4 && lparg4) (*env)->ReleaseShortArrayElements(env, arg4, lparg4, 0);
- OS_NATIVE_EXIT(env, that, AppendMenuItemTextWithCFString_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_AutoSizeDataBrowserListViewColumns
-JNIEXPORT jint JNICALL OS_NATIVE(AutoSizeDataBrowserListViewColumns)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, AutoSizeDataBrowserListViewColumns_FUNC);
- rc = (jint)AutoSizeDataBrowserListViewColumns((ControlRef)arg0);
- OS_NATIVE_EXIT(env, that, AutoSizeDataBrowserListViewColumns_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_BringToFront
-JNIEXPORT void JNICALL OS_NATIVE(BringToFront)
- (JNIEnv *env, jclass that, jint arg0)
-{
- OS_NATIVE_ENTER(env, that, BringToFront_FUNC);
- BringToFront((WindowRef)arg0);
- OS_NATIVE_EXIT(env, that, BringToFront_FUNC);
-}
-#endif
-
-#ifndef NO_CFArrayAppendValue
-JNIEXPORT void JNICALL OS_NATIVE(CFArrayAppendValue)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- OS_NATIVE_ENTER(env, that, CFArrayAppendValue_FUNC);
- CFArrayAppendValue((CFMutableArrayRef)arg0, (const void *)arg1);
- OS_NATIVE_EXIT(env, that, CFArrayAppendValue_FUNC);
-}
-#endif
-
-#ifndef NO_CFArrayCreateMutable
-JNIEXPORT jint JNICALL OS_NATIVE(CFArrayCreateMutable)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CFArrayCreateMutable_FUNC);
- rc = (jint)CFArrayCreateMutable((CFAllocatorRef)arg0, (CFIndex)arg1, (const CFArrayCallBacks *)arg2);
- OS_NATIVE_EXIT(env, that, CFArrayCreateMutable_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CFArrayGetCount
-JNIEXPORT jint JNICALL OS_NATIVE(CFArrayGetCount)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CFArrayGetCount_FUNC);
- rc = (jint)CFArrayGetCount((CFArrayRef)arg0);
- OS_NATIVE_EXIT(env, that, CFArrayGetCount_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CFArrayGetValueAtIndex
-JNIEXPORT jint JNICALL OS_NATIVE(CFArrayGetValueAtIndex)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CFArrayGetValueAtIndex_FUNC);
- rc = (jint)CFArrayGetValueAtIndex((CFArrayRef)arg0, arg1);
- OS_NATIVE_EXIT(env, that, CFArrayGetValueAtIndex_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CFDataGetBytePtr
-JNIEXPORT jint JNICALL OS_NATIVE(CFDataGetBytePtr)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CFDataGetBytePtr_FUNC);
- rc = (jint)CFDataGetBytePtr((CFDataRef)arg0);
- OS_NATIVE_EXIT(env, that, CFDataGetBytePtr_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CFDataGetBytes
-JNIEXPORT void JNICALL OS_NATIVE(CFDataGetBytes)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1, jbyteArray arg2)
-{
- CFRange _arg1, *lparg1=NULL;
- jbyte *lparg2=NULL;
- OS_NATIVE_ENTER(env, that, CFDataGetBytes_FUNC);
- if (arg1) if ((lparg1 = getCFRangeFields(env, arg1, &_arg1)) == NULL) goto fail;
- if (arg2) if ((lparg2 = (*env)->GetByteArrayElements(env, arg2, NULL)) == NULL) goto fail;
- CFDataGetBytes((CFDataRef)arg0, *lparg1, (UInt8 *)lparg2);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseByteArrayElements(env, arg2, lparg2, 0);
- if (arg1 && lparg1) setCFRangeFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, CFDataGetBytes_FUNC);
-}
-#endif
-
-#ifndef NO_CFDataGetLength
-JNIEXPORT jint JNICALL OS_NATIVE(CFDataGetLength)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CFDataGetLength_FUNC);
- rc = (jint)CFDataGetLength((CFDataRef)arg0);
- OS_NATIVE_EXIT(env, that, CFDataGetLength_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CFDictionaryGetValueIfPresent
-JNIEXPORT jboolean JNICALL OS_NATIVE(CFDictionaryGetValueIfPresent)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jintArray arg2)
-{
- jint *lparg2=NULL;
- jboolean rc = 0;
- OS_NATIVE_ENTER(env, that, CFDictionaryGetValueIfPresent_FUNC);
- if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail;
- rc = (jboolean)CFDictionaryGetValueIfPresent((CFDictionaryRef)arg0, (const void *)arg1, (const void **)lparg2);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- OS_NATIVE_EXIT(env, that, CFDictionaryGetValueIfPresent_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CFEqual
-JNIEXPORT jboolean JNICALL OS_NATIVE(CFEqual)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- jboolean rc = 0;
- OS_NATIVE_ENTER(env, that, CFEqual_FUNC);
- rc = (jboolean)CFEqual((CFStringRef)arg0, (CFStringRef)arg1);
- OS_NATIVE_EXIT(env, that, CFEqual_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CFLocaleCopyCurrent
-JNIEXPORT jint JNICALL OS_NATIVE(CFLocaleCopyCurrent)
- (JNIEnv *env, jclass that)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CFLocaleCopyCurrent_FUNC);
- rc = (jint)CFLocaleCopyCurrent();
- OS_NATIVE_EXIT(env, that, CFLocaleCopyCurrent_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CFNumberFormatterCopyProperty
-JNIEXPORT jint JNICALL OS_NATIVE(CFNumberFormatterCopyProperty)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CFNumberFormatterCopyProperty_FUNC);
- rc = (jint)CFNumberFormatterCopyProperty((CFNumberFormatterRef)arg0, (CFStringRef)arg1);
- OS_NATIVE_EXIT(env, that, CFNumberFormatterCopyProperty_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CFNumberFormatterCreate
-JNIEXPORT jint JNICALL OS_NATIVE(CFNumberFormatterCreate)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CFNumberFormatterCreate_FUNC);
- rc = (jint)CFNumberFormatterCreate((CFAllocatorRef)arg0, (CFLocaleRef)arg1, (CFNumberFormatterStyle)arg2);
- OS_NATIVE_EXIT(env, that, CFNumberFormatterCreate_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CFRelease
-JNIEXPORT void JNICALL OS_NATIVE(CFRelease)
- (JNIEnv *env, jclass that, jint arg0)
-{
- OS_NATIVE_ENTER(env, that, CFRelease_FUNC);
- CFRelease((CFTypeRef)arg0);
- OS_NATIVE_EXIT(env, that, CFRelease_FUNC);
-}
-#endif
-
-#ifndef NO_CFRetain
-JNIEXPORT void JNICALL OS_NATIVE(CFRetain)
- (JNIEnv *env, jclass that, jint arg0)
-{
- OS_NATIVE_ENTER(env, that, CFRetain_FUNC);
- CFRetain((CFTypeRef)arg0);
- OS_NATIVE_EXIT(env, that, CFRetain_FUNC);
-}
-#endif
-
-#ifndef NO_CFRunLoopAddObserver
-JNIEXPORT void JNICALL OS_NATIVE(CFRunLoopAddObserver)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- OS_NATIVE_ENTER(env, that, CFRunLoopAddObserver_FUNC);
- CFRunLoopAddObserver((CFRunLoopRef)arg0, (CFRunLoopObserverRef)arg1, (CFStringRef)arg2);
- OS_NATIVE_EXIT(env, that, CFRunLoopAddObserver_FUNC);
-}
-#endif
-
-#ifndef NO_CFRunLoopAddSource
-JNIEXPORT void JNICALL OS_NATIVE(CFRunLoopAddSource)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- OS_NATIVE_ENTER(env, that, CFRunLoopAddSource_FUNC);
- CFRunLoopAddSource((CFRunLoopRef)arg0, (CFRunLoopSourceRef)arg1, (CFStringRef)arg2);
- OS_NATIVE_EXIT(env, that, CFRunLoopAddSource_FUNC);
-}
-#endif
-
-#ifndef NO_CFRunLoopObserverCreate
-JNIEXPORT jint JNICALL OS_NATIVE(CFRunLoopObserverCreate)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jboolean arg2, jint arg3, jint arg4, jint arg5)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CFRunLoopObserverCreate_FUNC);
- rc = (jint)CFRunLoopObserverCreate((CFAllocatorRef)arg0, (CFOptionFlags)arg1, arg2, (CFIndex)arg3, (CFRunLoopObserverCallBack)arg4, (CFRunLoopObserverContext *)arg5);
- OS_NATIVE_EXIT(env, that, CFRunLoopObserverCreate_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CFRunLoopObserverInvalidate
-JNIEXPORT void JNICALL OS_NATIVE(CFRunLoopObserverInvalidate)
- (JNIEnv *env, jclass that, jint arg0)
-{
- OS_NATIVE_ENTER(env, that, CFRunLoopObserverInvalidate_FUNC);
- CFRunLoopObserverInvalidate((CFRunLoopObserverRef)arg0);
- OS_NATIVE_EXIT(env, that, CFRunLoopObserverInvalidate_FUNC);
-}
-#endif
-
-#ifndef NO_CFRunLoopRunInMode
-JNIEXPORT jint JNICALL OS_NATIVE(CFRunLoopRunInMode)
- (JNIEnv *env, jclass that, jint arg0, jdouble arg1, jboolean arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CFRunLoopRunInMode_FUNC);
- rc = (jint)CFRunLoopRunInMode((CFStringRef)arg0, (CFTimeInterval)arg1, arg2);
- OS_NATIVE_EXIT(env, that, CFRunLoopRunInMode_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CFRunLoopSourceCreate
-JNIEXPORT jint JNICALL OS_NATIVE(CFRunLoopSourceCreate)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jobject arg2)
-{
- CFRunLoopSourceContext _arg2, *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CFRunLoopSourceCreate_FUNC);
- if (arg2) if ((lparg2 = getCFRunLoopSourceContextFields(env, arg2, &_arg2)) == NULL) goto fail;
- rc = (jint)CFRunLoopSourceCreate((CFAllocatorRef)arg0, (CFIndex)arg1, lparg2);
-fail:
- if (arg2 && lparg2) setCFRunLoopSourceContextFields(env, arg2, lparg2);
- OS_NATIVE_EXIT(env, that, CFRunLoopSourceCreate_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CFRunLoopSourceInvalidate
-JNIEXPORT void JNICALL OS_NATIVE(CFRunLoopSourceInvalidate)
- (JNIEnv *env, jclass that, jint arg0)
-{
- OS_NATIVE_ENTER(env, that, CFRunLoopSourceInvalidate_FUNC);
- CFRunLoopSourceInvalidate((CFRunLoopSourceRef)arg0);
- OS_NATIVE_EXIT(env, that, CFRunLoopSourceInvalidate_FUNC);
-}
-#endif
-
-#ifndef NO_CFRunLoopSourceSignal
-JNIEXPORT void JNICALL OS_NATIVE(CFRunLoopSourceSignal)
- (JNIEnv *env, jclass that, jint arg0)
-{
- OS_NATIVE_ENTER(env, that, CFRunLoopSourceSignal_FUNC);
- CFRunLoopSourceSignal((CFRunLoopSourceRef)arg0);
- OS_NATIVE_EXIT(env, that, CFRunLoopSourceSignal_FUNC);
-}
-#endif
-
-#ifndef NO_CFRunLoopStop
-JNIEXPORT void JNICALL OS_NATIVE(CFRunLoopStop)
- (JNIEnv *env, jclass that, jint arg0)
-{
- OS_NATIVE_ENTER(env, that, CFRunLoopStop_FUNC);
- CFRunLoopStop((CFRunLoopRef)arg0);
- OS_NATIVE_EXIT(env, that, CFRunLoopStop_FUNC);
-}
-#endif
-
-#ifndef NO_CFRunLoopWakeUp
-JNIEXPORT void JNICALL OS_NATIVE(CFRunLoopWakeUp)
- (JNIEnv *env, jclass that, jint arg0)
-{
- OS_NATIVE_ENTER(env, that, CFRunLoopWakeUp_FUNC);
- CFRunLoopWakeUp((CFRunLoopRef)arg0);
- OS_NATIVE_EXIT(env, that, CFRunLoopWakeUp_FUNC);
-}
-#endif
-
-#ifndef NO_CFStringCreateWithBytes
-JNIEXPORT jint JNICALL OS_NATIVE(CFStringCreateWithBytes)
- (JNIEnv *env, jclass that, jint arg0, jbyteArray arg1, jint arg2, jint arg3, jboolean arg4)
-{
- jbyte *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CFStringCreateWithBytes_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetByteArrayElements(env, arg1, NULL)) == NULL) goto fail;
- rc = (jint)CFStringCreateWithBytes((CFAllocatorRef)arg0, (const UInt8 *)lparg1, (CFIndex)arg2, (CFStringEncoding)arg3, arg4);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseByteArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, CFStringCreateWithBytes_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CFStringCreateWithCharacters__III
-JNIEXPORT jint JNICALL OS_NATIVE(CFStringCreateWithCharacters__III)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CFStringCreateWithCharacters__III_FUNC);
- rc = (jint)CFStringCreateWithCharacters((CFAllocatorRef)arg0, (const UniChar *)arg1, (CFIndex)arg2);
- OS_NATIVE_EXIT(env, that, CFStringCreateWithCharacters__III_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CFStringCreateWithCharacters__I_3CI
-JNIEXPORT jint JNICALL OS_NATIVE(CFStringCreateWithCharacters__I_3CI)
- (JNIEnv *env, jclass that, jint arg0, jcharArray arg1, jint arg2)
-{
- jchar *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CFStringCreateWithCharacters__I_3CI_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetCharArrayElements(env, arg1, NULL)) == NULL) goto fail;
- rc = (jint)CFStringCreateWithCharacters((CFAllocatorRef)arg0, (const UniChar *)lparg1, (CFIndex)arg2);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseCharArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, CFStringCreateWithCharacters__I_3CI_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CFStringGetBytes
-JNIEXPORT jint JNICALL OS_NATIVE(CFStringGetBytes)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1, jint arg2, jbyte arg3, jboolean arg4, jbyteArray arg5, jint arg6, jintArray arg7)
-{
- CFRange _arg1, *lparg1=NULL;
- jbyte *lparg5=NULL;
- jint *lparg7=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CFStringGetBytes_FUNC);
- if (arg1) if ((lparg1 = getCFRangeFields(env, arg1, &_arg1)) == NULL) goto fail;
- if (arg5) if ((lparg5 = (*env)->GetByteArrayElements(env, arg5, NULL)) == NULL) goto fail;
- if (arg7) if ((lparg7 = (*env)->GetIntArrayElements(env, arg7, NULL)) == NULL) goto fail;
- rc = (jint)CFStringGetBytes((CFStringRef)arg0, *(CFRange *)lparg1, (CFStringEncoding)arg2, (UInt8)arg3, (Boolean)arg4, (UInt8 *)lparg5, (CFIndex)arg6, (CFIndex *)lparg7);
-fail:
- if (arg7 && lparg7) (*env)->ReleaseIntArrayElements(env, arg7, lparg7, 0);
- if (arg5 && lparg5) (*env)->ReleaseByteArrayElements(env, arg5, lparg5, 0);
- if (arg1 && lparg1) setCFRangeFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, CFStringGetBytes_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CFStringGetCharacters
-JNIEXPORT void JNICALL OS_NATIVE(CFStringGetCharacters)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1, jcharArray arg2)
-{
- CFRange _arg1, *lparg1=NULL;
- jchar *lparg2=NULL;
- OS_NATIVE_ENTER(env, that, CFStringGetCharacters_FUNC);
- if (arg1) if ((lparg1 = getCFRangeFields(env, arg1, &_arg1)) == NULL) goto fail;
- if (arg2) if ((lparg2 = (*env)->GetCharArrayElements(env, arg2, NULL)) == NULL) goto fail;
- CFStringGetCharacters((CFStringRef)arg0, *(CFRange *)lparg1, (UniChar *)lparg2);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseCharArrayElements(env, arg2, lparg2, 0);
- if (arg1 && lparg1) setCFRangeFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, CFStringGetCharacters_FUNC);
-}
-#endif
-
-#ifndef NO_CFStringGetLength
-JNIEXPORT jint JNICALL OS_NATIVE(CFStringGetLength)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CFStringGetLength_FUNC);
- rc = (jint)CFStringGetLength((CFStringRef)arg0);
- OS_NATIVE_EXIT(env, that, CFStringGetLength_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CFStringGetSystemEncoding
-JNIEXPORT jint JNICALL OS_NATIVE(CFStringGetSystemEncoding)
- (JNIEnv *env, jclass that)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CFStringGetSystemEncoding_FUNC);
- rc = (jint)CFStringGetSystemEncoding();
- OS_NATIVE_EXIT(env, that, CFStringGetSystemEncoding_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CFURLCopyFileSystemPath
-JNIEXPORT jint JNICALL OS_NATIVE(CFURLCopyFileSystemPath)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CFURLCopyFileSystemPath_FUNC);
- rc = (jint)CFURLCopyFileSystemPath((CFURLRef)arg0, (CFURLPathStyle)arg1);
- OS_NATIVE_EXIT(env, that, CFURLCopyFileSystemPath_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CFURLCopyLastPathComponent
-JNIEXPORT jint JNICALL OS_NATIVE(CFURLCopyLastPathComponent)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CFURLCopyLastPathComponent_FUNC);
- rc = (jint)CFURLCopyLastPathComponent((CFURLRef)arg0);
- OS_NATIVE_EXIT(env, that, CFURLCopyLastPathComponent_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CFURLCopyPathExtension
-JNIEXPORT jint JNICALL OS_NATIVE(CFURLCopyPathExtension)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CFURLCopyPathExtension_FUNC);
- rc = (jint)CFURLCopyPathExtension((CFURLRef)arg0);
- OS_NATIVE_EXIT(env, that, CFURLCopyPathExtension_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CFURLCreateCopyAppendingPathComponent
-JNIEXPORT jint JNICALL OS_NATIVE(CFURLCreateCopyAppendingPathComponent)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jboolean arg3)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CFURLCreateCopyAppendingPathComponent_FUNC);
- rc = (jint)CFURLCreateCopyAppendingPathComponent((CFAllocatorRef)arg0, (CFURLRef)arg1, (CFStringRef)arg2, (Boolean)arg3);
- OS_NATIVE_EXIT(env, that, CFURLCreateCopyAppendingPathComponent_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CFURLCreateCopyDeletingLastPathComponent
-JNIEXPORT jint JNICALL OS_NATIVE(CFURLCreateCopyDeletingLastPathComponent)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CFURLCreateCopyDeletingLastPathComponent_FUNC);
- rc = (jint)CFURLCreateCopyDeletingLastPathComponent((CFAllocatorRef)arg0, (CFURLRef)arg1);
- OS_NATIVE_EXIT(env, that, CFURLCreateCopyDeletingLastPathComponent_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CFURLCreateData
-JNIEXPORT jint JNICALL OS_NATIVE(CFURLCreateData)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jboolean arg3)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CFURLCreateData_FUNC);
- rc = (jint)CFURLCreateData((CFAllocatorRef)arg0, (CFURLRef)arg1, (CFStringEncoding)arg2, (Boolean)arg3);
- OS_NATIVE_EXIT(env, that, CFURLCreateData_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CFURLCreateFromFSRef
-JNIEXPORT jint JNICALL OS_NATIVE(CFURLCreateFromFSRef)
- (JNIEnv *env, jclass that, jint arg0, jbyteArray arg1)
-{
- jbyte *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CFURLCreateFromFSRef_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetByteArrayElements(env, arg1, NULL)) == NULL) goto fail;
- rc = (jint)CFURLCreateFromFSRef((CFAllocatorRef)arg0, (const struct FSRef *)lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseByteArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, CFURLCreateFromFSRef_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CFURLCreateFromFileSystemRepresentation
-JNIEXPORT jint JNICALL OS_NATIVE(CFURLCreateFromFileSystemRepresentation)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jboolean arg3)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CFURLCreateFromFileSystemRepresentation_FUNC);
- rc = (jint)CFURLCreateFromFileSystemRepresentation((CFAllocatorRef)arg0, (const UInt8 *)arg1, arg2, arg3);
- OS_NATIVE_EXIT(env, that, CFURLCreateFromFileSystemRepresentation_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CFURLCreateStringByAddingPercentEscapes
-JNIEXPORT jint JNICALL OS_NATIVE(CFURLCreateStringByAddingPercentEscapes)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jint arg4)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CFURLCreateStringByAddingPercentEscapes_FUNC);
- rc = (jint)CFURLCreateStringByAddingPercentEscapes((CFAllocatorRef)arg0, (CFStringRef)arg1, (CFStringRef)arg2, (CFStringRef)arg3, arg4);
- OS_NATIVE_EXIT(env, that, CFURLCreateStringByAddingPercentEscapes_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CFURLCreateStringByReplacingPercentEscapes
-JNIEXPORT jint JNICALL OS_NATIVE(CFURLCreateStringByReplacingPercentEscapes)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CFURLCreateStringByReplacingPercentEscapes_FUNC);
- rc = (jint)CFURLCreateStringByReplacingPercentEscapes((CFAllocatorRef)arg0, (CFStringRef)arg1, (CFStringRef)arg2);
- OS_NATIVE_EXIT(env, that, CFURLCreateStringByReplacingPercentEscapes_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CFURLCreateWithBytes
-JNIEXPORT jint JNICALL OS_NATIVE(CFURLCreateWithBytes)
- (JNIEnv *env, jclass that, jint arg0, jbyteArray arg1, jint arg2, jint arg3, jint arg4)
-{
- jbyte *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CFURLCreateWithBytes_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetByteArrayElements(env, arg1, NULL)) == NULL) goto fail;
- rc = (jint)CFURLCreateWithBytes((CFAllocatorRef)arg0, (const UInt8 *)lparg1, (CFIndex)arg2, (CFStringEncoding)arg3, (CFURLRef)arg4);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseByteArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, CFURLCreateWithBytes_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CFURLCreateWithFileSystemPath
-JNIEXPORT jint JNICALL OS_NATIVE(CFURLCreateWithFileSystemPath)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jboolean arg3)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CFURLCreateWithFileSystemPath_FUNC);
- rc = (jint)CFURLCreateWithFileSystemPath((CFAllocatorRef)arg0, (CFStringRef)arg1, (CFURLPathStyle)arg2, arg3);
- OS_NATIVE_EXIT(env, that, CFURLCreateWithFileSystemPath_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CFURLCreateWithString
-JNIEXPORT jint JNICALL OS_NATIVE(CFURLCreateWithString)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CFURLCreateWithString_FUNC);
- rc = (jint)CFURLCreateWithString((CFAllocatorRef)arg0, (CFStringRef)arg1, (CFURLRef)arg2);
- OS_NATIVE_EXIT(env, that, CFURLCreateWithString_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CFURLGetFSRef
-JNIEXPORT jboolean JNICALL OS_NATIVE(CFURLGetFSRef)
- (JNIEnv *env, jclass that, jint arg0, jbyteArray arg1)
-{
- jbyte *lparg1=NULL;
- jboolean rc = 0;
- OS_NATIVE_ENTER(env, that, CFURLGetFSRef_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetByteArrayElements(env, arg1, NULL)) == NULL) goto fail;
- rc = (jboolean)CFURLGetFSRef((CFURLRef)arg0, (struct FSRef *)lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseByteArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, CFURLGetFSRef_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CGBitmapContextCreate
-JNIEXPORT jint JNICALL OS_NATIVE(CGBitmapContextCreate)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jint arg4, jint arg5, jint arg6)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CGBitmapContextCreate_FUNC);
- rc = (jint)CGBitmapContextCreate((void *)arg0, (size_t)arg1, (size_t)arg2, (size_t)arg3, (size_t)arg4, (CGColorSpaceRef)arg5, (CGImageAlphaInfo)arg6);
- OS_NATIVE_EXIT(env, that, CGBitmapContextCreate_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CGBitmapContextCreateImage
-JNIEXPORT jint JNICALL OS_NATIVE(CGBitmapContextCreateImage)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CGBitmapContextCreateImage_FUNC);
-/*
- rc = (jint)CGBitmapContextCreateImage(arg0);
-*/
- {
- LOAD_FUNCTION(fp, CGBitmapContextCreateImage)
- if (fp) {
- rc = (jint)((jint (CALLING_CONVENTION*)(jint))fp)(arg0);
- }
- }
- OS_NATIVE_EXIT(env, that, CGBitmapContextCreateImage_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CGColorCreate
-JNIEXPORT jint JNICALL OS_NATIVE(CGColorCreate)
- (JNIEnv *env, jclass that, jint arg0, jfloatArray arg1)
-{
- jfloat *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CGColorCreate_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetFloatArrayElements(env, arg1, NULL)) == NULL) goto fail;
- rc = (jint)CGColorCreate((CGColorSpaceRef)arg0, lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseFloatArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, CGColorCreate_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CGColorRelease
-JNIEXPORT void JNICALL OS_NATIVE(CGColorRelease)
- (JNIEnv *env, jclass that, jint arg0)
-{
- OS_NATIVE_ENTER(env, that, CGColorRelease_FUNC);
- CGColorRelease((CGColorRef)arg0);
- OS_NATIVE_EXIT(env, that, CGColorRelease_FUNC);
-}
-#endif
-
-#ifndef NO_CGColorSpaceCreateDeviceRGB
-JNIEXPORT jint JNICALL OS_NATIVE(CGColorSpaceCreateDeviceRGB)
- (JNIEnv *env, jclass that)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CGColorSpaceCreateDeviceRGB_FUNC);
- rc = (jint)CGColorSpaceCreateDeviceRGB();
- OS_NATIVE_EXIT(env, that, CGColorSpaceCreateDeviceRGB_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CGColorSpaceCreatePattern
-JNIEXPORT jint JNICALL OS_NATIVE(CGColorSpaceCreatePattern)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CGColorSpaceCreatePattern_FUNC);
- rc = (jint)CGColorSpaceCreatePattern((CGColorSpaceRef)arg0);
- OS_NATIVE_EXIT(env, that, CGColorSpaceCreatePattern_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CGColorSpaceRelease
-JNIEXPORT void JNICALL OS_NATIVE(CGColorSpaceRelease)
- (JNIEnv *env, jclass that, jint arg0)
-{
- OS_NATIVE_ENTER(env, that, CGColorSpaceRelease_FUNC);
- CGColorSpaceRelease((CGColorSpaceRef)arg0);
- OS_NATIVE_EXIT(env, that, CGColorSpaceRelease_FUNC);
-}
-#endif
-
-#ifndef NO_CGContextAddArc
-JNIEXPORT void JNICALL OS_NATIVE(CGContextAddArc)
- (JNIEnv *env, jclass that, jint arg0, jfloat arg1, jfloat arg2, jfloat arg3, jfloat arg4, jfloat arg5, jboolean arg6)
-{
- OS_NATIVE_ENTER(env, that, CGContextAddArc_FUNC);
- CGContextAddArc((CGContextRef)arg0, (float)arg1, (float)arg2, (float)arg3, (float)arg4, (float)arg5, (Boolean)arg6);
- OS_NATIVE_EXIT(env, that, CGContextAddArc_FUNC);
-}
-#endif
-
-#ifndef NO_CGContextAddArcToPoint
-JNIEXPORT void JNICALL OS_NATIVE(CGContextAddArcToPoint)
- (JNIEnv *env, jclass that, jint arg0, jfloat arg1, jfloat arg2, jfloat arg3, jfloat arg4, jfloat arg5)
-{
- OS_NATIVE_ENTER(env, that, CGContextAddArcToPoint_FUNC);
- CGContextAddArcToPoint((CGContextRef)arg0, arg1, arg2, arg3, arg4, arg5);
- OS_NATIVE_EXIT(env, that, CGContextAddArcToPoint_FUNC);
-}
-#endif
-
-#ifndef NO_CGContextAddLineToPoint
-JNIEXPORT void JNICALL OS_NATIVE(CGContextAddLineToPoint)
- (JNIEnv *env, jclass that, jint arg0, jfloat arg1, jfloat arg2)
-{
- OS_NATIVE_ENTER(env, that, CGContextAddLineToPoint_FUNC);
- CGContextAddLineToPoint((CGContextRef)arg0, arg1, arg2);
- OS_NATIVE_EXIT(env, that, CGContextAddLineToPoint_FUNC);
-}
-#endif
-
-#ifndef NO_CGContextAddLines
-JNIEXPORT void JNICALL OS_NATIVE(CGContextAddLines)
- (JNIEnv *env, jclass that, jint arg0, jfloatArray arg1, jint arg2)
-{
- jfloat *lparg1=NULL;
- OS_NATIVE_ENTER(env, that, CGContextAddLines_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetFloatArrayElements(env, arg1, NULL)) == NULL) goto fail;
- CGContextAddLines((CGContextRef)arg0, (const CGPoint *)lparg1, (size_t)arg2);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseFloatArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, CGContextAddLines_FUNC);
-}
-#endif
-
-#ifndef NO_CGContextAddPath
-JNIEXPORT void JNICALL OS_NATIVE(CGContextAddPath)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- OS_NATIVE_ENTER(env, that, CGContextAddPath_FUNC);
- CGContextAddPath((CGContextRef)arg0, (CGPathRef)arg1);
- OS_NATIVE_EXIT(env, that, CGContextAddPath_FUNC);
-}
-#endif
-
-#ifndef NO_CGContextAddRect
-JNIEXPORT void JNICALL OS_NATIVE(CGContextAddRect)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1)
-{
- CGRect _arg1, *lparg1=NULL;
- OS_NATIVE_ENTER(env, that, CGContextAddRect_FUNC);
- if (arg1) if ((lparg1 = getCGRectFields(env, arg1, &_arg1)) == NULL) goto fail;
- CGContextAddRect((CGContextRef)arg0, *lparg1);
-fail:
- if (arg1 && lparg1) setCGRectFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, CGContextAddRect_FUNC);
-}
-#endif
-
-#ifndef NO_CGContextBeginPath
-JNIEXPORT void JNICALL OS_NATIVE(CGContextBeginPath)
- (JNIEnv *env, jclass that, jint arg0)
-{
- OS_NATIVE_ENTER(env, that, CGContextBeginPath_FUNC);
- CGContextBeginPath((CGContextRef)arg0);
- OS_NATIVE_EXIT(env, that, CGContextBeginPath_FUNC);
-}
-#endif
-
-#ifndef NO_CGContextClearRect
-JNIEXPORT void JNICALL OS_NATIVE(CGContextClearRect)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1)
-{
- CGRect _arg1, *lparg1=NULL;
- OS_NATIVE_ENTER(env, that, CGContextClearRect_FUNC);
- if (arg1) if ((lparg1 = getCGRectFields(env, arg1, &_arg1)) == NULL) goto fail;
- CGContextClearRect((CGContextRef)arg0, *(CGRect *)lparg1);
-fail:
- if (arg1 && lparg1) setCGRectFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, CGContextClearRect_FUNC);
-}
-#endif
-
-#ifndef NO_CGContextClip
-JNIEXPORT void JNICALL OS_NATIVE(CGContextClip)
- (JNIEnv *env, jclass that, jint arg0)
-{
- OS_NATIVE_ENTER(env, that, CGContextClip_FUNC);
- CGContextClip((CGContextRef)arg0);
- OS_NATIVE_EXIT(env, that, CGContextClip_FUNC);
-}
-#endif
-
-#ifndef NO_CGContextClosePath
-JNIEXPORT void JNICALL OS_NATIVE(CGContextClosePath)
- (JNIEnv *env, jclass that, jint arg0)
-{
- OS_NATIVE_ENTER(env, that, CGContextClosePath_FUNC);
- CGContextClosePath((CGContextRef)arg0);
- OS_NATIVE_EXIT(env, that, CGContextClosePath_FUNC);
-}
-#endif
-
-#ifndef NO_CGContextConcatCTM
-JNIEXPORT void JNICALL OS_NATIVE(CGContextConcatCTM)
- (JNIEnv *env, jclass that, jint arg0, jfloatArray arg1)
-{
- jfloat *lparg1=NULL;
- OS_NATIVE_ENTER(env, that, CGContextConcatCTM_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetFloatArrayElements(env, arg1, NULL)) == NULL) goto fail;
- CGContextConcatCTM((CGContextRef)arg0, *(CGAffineTransform *)lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseFloatArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, CGContextConcatCTM_FUNC);
-}
-#endif
-
-#ifndef NO_CGContextDrawImage
-JNIEXPORT void JNICALL OS_NATIVE(CGContextDrawImage)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1, jint arg2)
-{
- CGRect _arg1, *lparg1=NULL;
- OS_NATIVE_ENTER(env, that, CGContextDrawImage_FUNC);
- if (arg1) if ((lparg1 = getCGRectFields(env, arg1, &_arg1)) == NULL) goto fail;
- CGContextDrawImage((CGContextRef)arg0, *(CGRect *)lparg1, (CGImageRef)arg2);
-fail:
- if (arg1 && lparg1) setCGRectFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, CGContextDrawImage_FUNC);
-}
-#endif
-
-#ifndef NO_CGContextDrawShading
-JNIEXPORT void JNICALL OS_NATIVE(CGContextDrawShading)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- OS_NATIVE_ENTER(env, that, CGContextDrawShading_FUNC);
- CGContextDrawShading((CGContextRef)arg0, (CGShadingRef)arg1);
- OS_NATIVE_EXIT(env, that, CGContextDrawShading_FUNC);
-}
-#endif
-
-#ifndef NO_CGContextEOClip
-JNIEXPORT void JNICALL OS_NATIVE(CGContextEOClip)
- (JNIEnv *env, jclass that, jint arg0)
-{
- OS_NATIVE_ENTER(env, that, CGContextEOClip_FUNC);
- CGContextEOClip((CGContextRef)arg0);
- OS_NATIVE_EXIT(env, that, CGContextEOClip_FUNC);
-}
-#endif
-
-#ifndef NO_CGContextEOFillPath
-JNIEXPORT void JNICALL OS_NATIVE(CGContextEOFillPath)
- (JNIEnv *env, jclass that, jint arg0)
-{
- OS_NATIVE_ENTER(env, that, CGContextEOFillPath_FUNC);
- CGContextEOFillPath((CGContextRef)arg0);
- OS_NATIVE_EXIT(env, that, CGContextEOFillPath_FUNC);
-}
-#endif
-
-#ifndef NO_CGContextFillPath
-JNIEXPORT void JNICALL OS_NATIVE(CGContextFillPath)
- (JNIEnv *env, jclass that, jint arg0)
-{
- OS_NATIVE_ENTER(env, that, CGContextFillPath_FUNC);
- CGContextFillPath((CGContextRef)arg0);
- OS_NATIVE_EXIT(env, that, CGContextFillPath_FUNC);
-}
-#endif
-
-#ifndef NO_CGContextFillRect
-JNIEXPORT void JNICALL OS_NATIVE(CGContextFillRect)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1)
-{
- CGRect _arg1, *lparg1=NULL;
- OS_NATIVE_ENTER(env, that, CGContextFillRect_FUNC);
- if (arg1) if ((lparg1 = getCGRectFields(env, arg1, &_arg1)) == NULL) goto fail;
- CGContextFillRect((CGContextRef)arg0, *(CGRect *)lparg1);
-fail:
- if (arg1 && lparg1) setCGRectFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, CGContextFillRect_FUNC);
-}
-#endif
-
-#ifndef NO_CGContextFlush
-JNIEXPORT void JNICALL OS_NATIVE(CGContextFlush)
- (JNIEnv *env, jclass that, jint arg0)
-{
- OS_NATIVE_ENTER(env, that, CGContextFlush_FUNC);
- CGContextFlush((CGContextRef)arg0);
- OS_NATIVE_EXIT(env, that, CGContextFlush_FUNC);
-}
-#endif
-
-#ifndef NO_CGContextGetInterpolationQuality
-JNIEXPORT jint JNICALL OS_NATIVE(CGContextGetInterpolationQuality)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CGContextGetInterpolationQuality_FUNC);
- rc = (jint)CGContextGetInterpolationQuality((CGContextRef)arg0);
- OS_NATIVE_EXIT(env, that, CGContextGetInterpolationQuality_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CGContextMoveToPoint
-JNIEXPORT void JNICALL OS_NATIVE(CGContextMoveToPoint)
- (JNIEnv *env, jclass that, jint arg0, jfloat arg1, jfloat arg2)
-{
- OS_NATIVE_ENTER(env, that, CGContextMoveToPoint_FUNC);
- CGContextMoveToPoint((CGContextRef)arg0, (float)arg1, (float)arg2);
- OS_NATIVE_EXIT(env, that, CGContextMoveToPoint_FUNC);
-}
-#endif
-
-#ifndef NO_CGContextRelease
-JNIEXPORT void JNICALL OS_NATIVE(CGContextRelease)
- (JNIEnv *env, jclass that, jint arg0)
-{
- OS_NATIVE_ENTER(env, that, CGContextRelease_FUNC);
- CGContextRelease((CGContextRef)arg0);
- OS_NATIVE_EXIT(env, that, CGContextRelease_FUNC);
-}
-#endif
-
-#ifndef NO_CGContextRestoreGState
-JNIEXPORT void JNICALL OS_NATIVE(CGContextRestoreGState)
- (JNIEnv *env, jclass that, jint arg0)
-{
- OS_NATIVE_ENTER(env, that, CGContextRestoreGState_FUNC);
- CGContextRestoreGState((CGContextRef)arg0);
- OS_NATIVE_EXIT(env, that, CGContextRestoreGState_FUNC);
-}
-#endif
-
-#ifndef NO_CGContextRotateCTM
-JNIEXPORT void JNICALL OS_NATIVE(CGContextRotateCTM)
- (JNIEnv *env, jclass that, jint arg0, jfloat arg1)
-{
- OS_NATIVE_ENTER(env, that, CGContextRotateCTM_FUNC);
- CGContextRotateCTM((CGContextRef)arg0, arg1);
- OS_NATIVE_EXIT(env, that, CGContextRotateCTM_FUNC);
-}
-#endif
-
-#ifndef NO_CGContextSaveGState
-JNIEXPORT void JNICALL OS_NATIVE(CGContextSaveGState)
- (JNIEnv *env, jclass that, jint arg0)
-{
- OS_NATIVE_ENTER(env, that, CGContextSaveGState_FUNC);
- CGContextSaveGState((CGContextRef)arg0);
- OS_NATIVE_EXIT(env, that, CGContextSaveGState_FUNC);
-}
-#endif
-
-#ifndef NO_CGContextScaleCTM
-JNIEXPORT void JNICALL OS_NATIVE(CGContextScaleCTM)
- (JNIEnv *env, jclass that, jint arg0, jfloat arg1, jfloat arg2)
-{
- OS_NATIVE_ENTER(env, that, CGContextScaleCTM_FUNC);
- CGContextScaleCTM((CGContextRef)arg0, (float)arg1, (float)arg2);
- OS_NATIVE_EXIT(env, that, CGContextScaleCTM_FUNC);
-}
-#endif
-
-#ifndef NO_CGContextSelectFont
-JNIEXPORT void JNICALL OS_NATIVE(CGContextSelectFont)
- (JNIEnv *env, jclass that, jint arg0, jbyteArray arg1, jfloat arg2, jint arg3)
-{
- jbyte *lparg1=NULL;
- OS_NATIVE_ENTER(env, that, CGContextSelectFont_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetByteArrayElements(env, arg1, NULL)) == NULL) goto fail;
- CGContextSelectFont((CGContextRef)arg0, (const char *)lparg1, (float)arg2, (CGTextEncoding)arg3);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseByteArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, CGContextSelectFont_FUNC);
-}
-#endif
-
-#ifndef NO_CGContextSetAlpha
-JNIEXPORT void JNICALL OS_NATIVE(CGContextSetAlpha)
- (JNIEnv *env, jclass that, jint arg0, jfloat arg1)
-{
- OS_NATIVE_ENTER(env, that, CGContextSetAlpha_FUNC);
- CGContextSetAlpha((CGContextRef)arg0, arg1);
- OS_NATIVE_EXIT(env, that, CGContextSetAlpha_FUNC);
-}
-#endif
-
-#ifndef NO_CGContextSetBlendMode
-JNIEXPORT void JNICALL OS_NATIVE(CGContextSetBlendMode)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- OS_NATIVE_ENTER(env, that, CGContextSetBlendMode_FUNC);
-/*
- CGContextSetBlendMode((CGContextRef)arg0, arg1);
-*/
- {
- LOAD_FUNCTION(fp, CGContextSetBlendMode)
- if (fp) {
- ((void (CALLING_CONVENTION*)(CGContextRef, jint))fp)((CGContextRef)arg0, arg1);
- }
- }
- OS_NATIVE_EXIT(env, that, CGContextSetBlendMode_FUNC);
-}
-#endif
-
-#ifndef NO_CGContextSetFillColor
-JNIEXPORT void JNICALL OS_NATIVE(CGContextSetFillColor)
- (JNIEnv *env, jclass that, jint arg0, jfloatArray arg1)
-{
- jfloat *lparg1=NULL;
- OS_NATIVE_ENTER(env, that, CGContextSetFillColor_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetFloatArrayElements(env, arg1, NULL)) == NULL) goto fail;
- CGContextSetFillColor((CGContextRef)arg0, (const float *)lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseFloatArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, CGContextSetFillColor_FUNC);
-}
-#endif
-
-#ifndef NO_CGContextSetFillColorSpace
-JNIEXPORT void JNICALL OS_NATIVE(CGContextSetFillColorSpace)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- OS_NATIVE_ENTER(env, that, CGContextSetFillColorSpace_FUNC);
- CGContextSetFillColorSpace((CGContextRef)arg0, (CGColorSpaceRef)arg1);
- OS_NATIVE_EXIT(env, that, CGContextSetFillColorSpace_FUNC);
-}
-#endif
-
-#ifndef NO_CGContextSetFillPattern
-JNIEXPORT void JNICALL OS_NATIVE(CGContextSetFillPattern)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jfloatArray arg2)
-{
- jfloat *lparg2=NULL;
- OS_NATIVE_ENTER(env, that, CGContextSetFillPattern_FUNC);
- if (arg2) if ((lparg2 = (*env)->GetFloatArrayElements(env, arg2, NULL)) == NULL) goto fail;
- CGContextSetFillPattern((CGContextRef)arg0, (CGPatternRef)arg1, lparg2);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseFloatArrayElements(env, arg2, lparg2, 0);
- OS_NATIVE_EXIT(env, that, CGContextSetFillPattern_FUNC);
-}
-#endif
-
-#ifndef NO_CGContextSetFont
-JNIEXPORT void JNICALL OS_NATIVE(CGContextSetFont)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- OS_NATIVE_ENTER(env, that, CGContextSetFont_FUNC);
- CGContextSetFont((CGContextRef)arg0, (CGFontRef)arg1);
- OS_NATIVE_EXIT(env, that, CGContextSetFont_FUNC);
-}
-#endif
-
-#ifndef NO_CGContextSetFontSize
-JNIEXPORT void JNICALL OS_NATIVE(CGContextSetFontSize)
- (JNIEnv *env, jclass that, jint arg0, jfloat arg1)
-{
- OS_NATIVE_ENTER(env, that, CGContextSetFontSize_FUNC);
- CGContextSetFontSize((CGContextRef)arg0, (float)arg1);
- OS_NATIVE_EXIT(env, that, CGContextSetFontSize_FUNC);
-}
-#endif
-
-#ifndef NO_CGContextSetInterpolationQuality
-JNIEXPORT void JNICALL OS_NATIVE(CGContextSetInterpolationQuality)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- OS_NATIVE_ENTER(env, that, CGContextSetInterpolationQuality_FUNC);
- CGContextSetInterpolationQuality((CGContextRef)arg0, arg1);
- OS_NATIVE_EXIT(env, that, CGContextSetInterpolationQuality_FUNC);
-}
-#endif
-
-#ifndef NO_CGContextSetLineCap
-JNIEXPORT void JNICALL OS_NATIVE(CGContextSetLineCap)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- OS_NATIVE_ENTER(env, that, CGContextSetLineCap_FUNC);
- CGContextSetLineCap((CGContextRef)arg0, arg1);
- OS_NATIVE_EXIT(env, that, CGContextSetLineCap_FUNC);
-}
-#endif
-
-#ifndef NO_CGContextSetLineDash
-JNIEXPORT void JNICALL OS_NATIVE(CGContextSetLineDash)
- (JNIEnv *env, jclass that, jint arg0, jfloat arg1, jfloatArray arg2, jint arg3)
-{
- jfloat *lparg2=NULL;
- OS_NATIVE_ENTER(env, that, CGContextSetLineDash_FUNC);
- if (arg2) if ((lparg2 = (*env)->GetFloatArrayElements(env, arg2, NULL)) == NULL) goto fail;
- CGContextSetLineDash((CGContextRef)arg0, (float)arg1, (const float *)lparg2, (size_t)arg3);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseFloatArrayElements(env, arg2, lparg2, 0);
- OS_NATIVE_EXIT(env, that, CGContextSetLineDash_FUNC);
-}
-#endif
-
-#ifndef NO_CGContextSetLineJoin
-JNIEXPORT void JNICALL OS_NATIVE(CGContextSetLineJoin)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- OS_NATIVE_ENTER(env, that, CGContextSetLineJoin_FUNC);
- CGContextSetLineJoin((CGContextRef)arg0, arg1);
- OS_NATIVE_EXIT(env, that, CGContextSetLineJoin_FUNC);
-}
-#endif
-
-#ifndef NO_CGContextSetLineWidth
-JNIEXPORT void JNICALL OS_NATIVE(CGContextSetLineWidth)
- (JNIEnv *env, jclass that, jint arg0, jfloat arg1)
-{
- OS_NATIVE_ENTER(env, that, CGContextSetLineWidth_FUNC);
- CGContextSetLineWidth((CGContextRef)arg0, (float)arg1);
- OS_NATIVE_EXIT(env, that, CGContextSetLineWidth_FUNC);
-}
-#endif
-
-#ifndef NO_CGContextSetMiterLimit
-JNIEXPORT void JNICALL OS_NATIVE(CGContextSetMiterLimit)
- (JNIEnv *env, jclass that, jint arg0, jfloat arg1)
-{
- OS_NATIVE_ENTER(env, that, CGContextSetMiterLimit_FUNC);
- CGContextSetMiterLimit((CGContextRef)arg0, arg1);
- OS_NATIVE_EXIT(env, that, CGContextSetMiterLimit_FUNC);
-}
-#endif
-
-#ifndef NO_CGContextSetRGBFillColor
-JNIEXPORT void JNICALL OS_NATIVE(CGContextSetRGBFillColor)
- (JNIEnv *env, jclass that, jint arg0, jfloat arg1, jfloat arg2, jfloat arg3, jfloat arg4)
-{
- OS_NATIVE_ENTER(env, that, CGContextSetRGBFillColor_FUNC);
- CGContextSetRGBFillColor((CGContextRef)arg0, (float)arg1, (float)arg2, (float)arg3, (float)arg4);
- OS_NATIVE_EXIT(env, that, CGContextSetRGBFillColor_FUNC);
-}
-#endif
-
-#ifndef NO_CGContextSetRGBStrokeColor
-JNIEXPORT void JNICALL OS_NATIVE(CGContextSetRGBStrokeColor)
- (JNIEnv *env, jclass that, jint arg0, jfloat arg1, jfloat arg2, jfloat arg3, jfloat arg4)
-{
- OS_NATIVE_ENTER(env, that, CGContextSetRGBStrokeColor_FUNC);
- CGContextSetRGBStrokeColor((CGContextRef)arg0, (float)arg1, (float)arg2, (float)arg3, (float)arg4);
- OS_NATIVE_EXIT(env, that, CGContextSetRGBStrokeColor_FUNC);
-}
-#endif
-
-#ifndef NO_CGContextSetRenderingIntent
-JNIEXPORT void JNICALL OS_NATIVE(CGContextSetRenderingIntent)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- OS_NATIVE_ENTER(env, that, CGContextSetRenderingIntent_FUNC);
- CGContextSetRenderingIntent((CGContextRef)arg0, arg1);
- OS_NATIVE_EXIT(env, that, CGContextSetRenderingIntent_FUNC);
-}
-#endif
-
-#ifndef NO_CGContextSetShouldAntialias
-JNIEXPORT void JNICALL OS_NATIVE(CGContextSetShouldAntialias)
- (JNIEnv *env, jclass that, jint arg0, jboolean arg1)
-{
- OS_NATIVE_ENTER(env, that, CGContextSetShouldAntialias_FUNC);
- CGContextSetShouldAntialias((CGContextRef)arg0, arg1);
- OS_NATIVE_EXIT(env, that, CGContextSetShouldAntialias_FUNC);
-}
-#endif
-
-#ifndef NO_CGContextSetShouldSmoothFonts
-JNIEXPORT void JNICALL OS_NATIVE(CGContextSetShouldSmoothFonts)
- (JNIEnv *env, jclass that, jint arg0, jboolean arg1)
-{
- OS_NATIVE_ENTER(env, that, CGContextSetShouldSmoothFonts_FUNC);
- CGContextSetShouldSmoothFonts((CGContextRef)arg0, arg1);
- OS_NATIVE_EXIT(env, that, CGContextSetShouldSmoothFonts_FUNC);
-}
-#endif
-
-#ifndef NO_CGContextSetStrokeColor
-JNIEXPORT void JNICALL OS_NATIVE(CGContextSetStrokeColor)
- (JNIEnv *env, jclass that, jint arg0, jfloatArray arg1)
-{
- jfloat *lparg1=NULL;
- OS_NATIVE_ENTER(env, that, CGContextSetStrokeColor_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetFloatArrayElements(env, arg1, NULL)) == NULL) goto fail;
- CGContextSetStrokeColor((CGContextRef)arg0, (const float *)lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseFloatArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, CGContextSetStrokeColor_FUNC);
-}
-#endif
-
-#ifndef NO_CGContextSetStrokeColorSpace
-JNIEXPORT void JNICALL OS_NATIVE(CGContextSetStrokeColorSpace)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- OS_NATIVE_ENTER(env, that, CGContextSetStrokeColorSpace_FUNC);
- CGContextSetStrokeColorSpace((CGContextRef)arg0, (CGColorSpaceRef)arg1);
- OS_NATIVE_EXIT(env, that, CGContextSetStrokeColorSpace_FUNC);
-}
-#endif
-
-#ifndef NO_CGContextSetStrokePattern
-JNIEXPORT void JNICALL OS_NATIVE(CGContextSetStrokePattern)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jfloatArray arg2)
-{
- jfloat *lparg2=NULL;
- OS_NATIVE_ENTER(env, that, CGContextSetStrokePattern_FUNC);
- if (arg2) if ((lparg2 = (*env)->GetFloatArrayElements(env, arg2, NULL)) == NULL) goto fail;
- CGContextSetStrokePattern((CGContextRef)arg0, (CGPatternRef)arg1, lparg2);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseFloatArrayElements(env, arg2, lparg2, 0);
- OS_NATIVE_EXIT(env, that, CGContextSetStrokePattern_FUNC);
-}
-#endif
-
-#ifndef NO_CGContextSetTextDrawingMode
-JNIEXPORT void JNICALL OS_NATIVE(CGContextSetTextDrawingMode)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- OS_NATIVE_ENTER(env, that, CGContextSetTextDrawingMode_FUNC);
- CGContextSetTextDrawingMode((CGContextRef)arg0, (CGTextDrawingMode)arg1);
- OS_NATIVE_EXIT(env, that, CGContextSetTextDrawingMode_FUNC);
-}
-#endif
-
-#ifndef NO_CGContextSetTextMatrix
-JNIEXPORT void JNICALL OS_NATIVE(CGContextSetTextMatrix)
- (JNIEnv *env, jclass that, jint arg0, jfloatArray arg1)
-{
- jfloat *lparg1=NULL;
- OS_NATIVE_ENTER(env, that, CGContextSetTextMatrix_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetFloatArrayElements(env, arg1, NULL)) == NULL) goto fail;
- CGContextSetTextMatrix((CGContextRef)arg0, *(CGAffineTransform *)lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseFloatArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, CGContextSetTextMatrix_FUNC);
-}
-#endif
-
-#ifndef NO_CGContextSetTextPosition
-JNIEXPORT void JNICALL OS_NATIVE(CGContextSetTextPosition)
- (JNIEnv *env, jclass that, jint arg0, jfloat arg1, jfloat arg2)
-{
- OS_NATIVE_ENTER(env, that, CGContextSetTextPosition_FUNC);
- CGContextSetTextPosition((CGContextRef)arg0, (float)arg1, (float)arg2);
- OS_NATIVE_EXIT(env, that, CGContextSetTextPosition_FUNC);
-}
-#endif
-
-#ifndef NO_CGContextShowText
-JNIEXPORT void JNICALL OS_NATIVE(CGContextShowText)
- (JNIEnv *env, jclass that, jint arg0, jbyteArray arg1, jint arg2)
-{
- jbyte *lparg1=NULL;
- OS_NATIVE_ENTER(env, that, CGContextShowText_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetByteArrayElements(env, arg1, NULL)) == NULL) goto fail;
- CGContextShowText((CGContextRef)arg0, (const char *)lparg1, (size_t)arg2);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseByteArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, CGContextShowText_FUNC);
-}
-#endif
-
-#ifndef NO_CGContextShowTextAtPoint
-JNIEXPORT void JNICALL OS_NATIVE(CGContextShowTextAtPoint)
- (JNIEnv *env, jclass that, jint arg0, jfloat arg1, jfloat arg2, jbyteArray arg3, jint arg4)
-{
- jbyte *lparg3=NULL;
- OS_NATIVE_ENTER(env, that, CGContextShowTextAtPoint_FUNC);
- if (arg3) if ((lparg3 = (*env)->GetByteArrayElements(env, arg3, NULL)) == NULL) goto fail;
- CGContextShowTextAtPoint((CGContextRef)arg0, (float)arg1, (float)arg2, (const char *)lparg3, (size_t)arg4);
-fail:
- if (arg3 && lparg3) (*env)->ReleaseByteArrayElements(env, arg3, lparg3, 0);
- OS_NATIVE_EXIT(env, that, CGContextShowTextAtPoint_FUNC);
-}
-#endif
-
-#ifndef NO_CGContextStrokePath
-JNIEXPORT void JNICALL OS_NATIVE(CGContextStrokePath)
- (JNIEnv *env, jclass that, jint arg0)
-{
- OS_NATIVE_ENTER(env, that, CGContextStrokePath_FUNC);
- CGContextStrokePath((CGContextRef)arg0);
- OS_NATIVE_EXIT(env, that, CGContextStrokePath_FUNC);
-}
-#endif
-
-#ifndef NO_CGContextStrokeRect
-JNIEXPORT void JNICALL OS_NATIVE(CGContextStrokeRect)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1)
-{
- CGRect _arg1, *lparg1=NULL;
- OS_NATIVE_ENTER(env, that, CGContextStrokeRect_FUNC);
- if (arg1) if ((lparg1 = getCGRectFields(env, arg1, &_arg1)) == NULL) goto fail;
- CGContextStrokeRect((CGContextRef)arg0, *(CGRect *)lparg1);
-fail:
- if (arg1 && lparg1) setCGRectFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, CGContextStrokeRect_FUNC);
-}
-#endif
-
-#ifndef NO_CGContextSynchronize
-JNIEXPORT void JNICALL OS_NATIVE(CGContextSynchronize)
- (JNIEnv *env, jclass that, jint arg0)
-{
- OS_NATIVE_ENTER(env, that, CGContextSynchronize_FUNC);
- CGContextSynchronize((CGContextRef)arg0);
- OS_NATIVE_EXIT(env, that, CGContextSynchronize_FUNC);
-}
-#endif
-
-#ifndef NO_CGContextTranslateCTM
-JNIEXPORT void JNICALL OS_NATIVE(CGContextTranslateCTM)
- (JNIEnv *env, jclass that, jint arg0, jfloat arg1, jfloat arg2)
-{
- OS_NATIVE_ENTER(env, that, CGContextTranslateCTM_FUNC);
- CGContextTranslateCTM((CGContextRef)arg0, (float)arg1, (float)arg2);
- OS_NATIVE_EXIT(env, that, CGContextTranslateCTM_FUNC);
-}
-#endif
-
-#ifndef NO_CGCursorIsVisible
-JNIEXPORT jboolean JNICALL OS_NATIVE(CGCursorIsVisible)
- (JNIEnv *env, jclass that)
-{
- jboolean rc = 0;
- OS_NATIVE_ENTER(env, that, CGCursorIsVisible_FUNC);
- rc = (jboolean)CGCursorIsVisible();
- OS_NATIVE_EXIT(env, that, CGCursorIsVisible_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CGDataProviderCreateWithData
-JNIEXPORT jint JNICALL OS_NATIVE(CGDataProviderCreateWithData)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CGDataProviderCreateWithData_FUNC);
- rc = (jint)CGDataProviderCreateWithData((void *)arg0, (const void *)arg1, (size_t)arg2, (void *)arg3);
- OS_NATIVE_EXIT(env, that, CGDataProviderCreateWithData_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CGDataProviderCreateWithURL
-JNIEXPORT jint JNICALL OS_NATIVE(CGDataProviderCreateWithURL)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CGDataProviderCreateWithURL_FUNC);
- rc = (jint)CGDataProviderCreateWithURL((CFURLRef)arg0);
- OS_NATIVE_EXIT(env, that, CGDataProviderCreateWithURL_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CGDataProviderRelease
-JNIEXPORT void JNICALL OS_NATIVE(CGDataProviderRelease)
- (JNIEnv *env, jclass that, jint arg0)
-{
- OS_NATIVE_ENTER(env, that, CGDataProviderRelease_FUNC);
- CGDataProviderRelease((CGDataProviderRef)arg0);
- OS_NATIVE_EXIT(env, that, CGDataProviderRelease_FUNC);
-}
-#endif
-
-#ifndef NO_CGDisplayBaseAddress
-JNIEXPORT jint JNICALL OS_NATIVE(CGDisplayBaseAddress)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CGDisplayBaseAddress_FUNC);
- rc = (jint)CGDisplayBaseAddress((CGDirectDisplayID)arg0);
- OS_NATIVE_EXIT(env, that, CGDisplayBaseAddress_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CGDisplayBitsPerPixel
-JNIEXPORT jint JNICALL OS_NATIVE(CGDisplayBitsPerPixel)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CGDisplayBitsPerPixel_FUNC);
- rc = (jint)CGDisplayBitsPerPixel((CGDirectDisplayID)arg0);
- OS_NATIVE_EXIT(env, that, CGDisplayBitsPerPixel_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CGDisplayBitsPerSample
-JNIEXPORT jint JNICALL OS_NATIVE(CGDisplayBitsPerSample)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CGDisplayBitsPerSample_FUNC);
- rc = (jint)CGDisplayBitsPerSample((CGDirectDisplayID)arg0);
- OS_NATIVE_EXIT(env, that, CGDisplayBitsPerSample_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CGDisplayBytesPerRow
-JNIEXPORT jint JNICALL OS_NATIVE(CGDisplayBytesPerRow)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CGDisplayBytesPerRow_FUNC);
- rc = (jint)CGDisplayBytesPerRow((CGDirectDisplayID)arg0);
- OS_NATIVE_EXIT(env, that, CGDisplayBytesPerRow_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CGDisplayHideCursor
-JNIEXPORT jint JNICALL OS_NATIVE(CGDisplayHideCursor)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CGDisplayHideCursor_FUNC);
- rc = (jint)CGDisplayHideCursor((CGDirectDisplayID)arg0);
- OS_NATIVE_EXIT(env, that, CGDisplayHideCursor_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CGDisplayPixelsHigh
-JNIEXPORT jint JNICALL OS_NATIVE(CGDisplayPixelsHigh)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CGDisplayPixelsHigh_FUNC);
- rc = (jint)CGDisplayPixelsHigh((CGDirectDisplayID)arg0);
- OS_NATIVE_EXIT(env, that, CGDisplayPixelsHigh_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CGDisplayPixelsWide
-JNIEXPORT jint JNICALL OS_NATIVE(CGDisplayPixelsWide)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CGDisplayPixelsWide_FUNC);
- rc = (jint)CGDisplayPixelsWide((CGDirectDisplayID)arg0);
- OS_NATIVE_EXIT(env, that, CGDisplayPixelsWide_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CGDisplayShowCursor
-JNIEXPORT jint JNICALL OS_NATIVE(CGDisplayShowCursor)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CGDisplayShowCursor_FUNC);
- rc = (jint)CGDisplayShowCursor((CGDirectDisplayID)arg0);
- OS_NATIVE_EXIT(env, that, CGDisplayShowCursor_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CGFontCreateWithPlatformFont
-JNIEXPORT jint JNICALL OS_NATIVE(CGFontCreateWithPlatformFont)
- (JNIEnv *env, jclass that, jintArray arg0)
-{
- jint *lparg0=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CGFontCreateWithPlatformFont_FUNC);
- if (arg0) if ((lparg0 = (*env)->GetIntArrayElements(env, arg0, NULL)) == NULL) goto fail;
- rc = (jint)CGFontCreateWithPlatformFont(lparg0);
-fail:
- if (arg0 && lparg0) (*env)->ReleaseIntArrayElements(env, arg0, lparg0, 0);
- OS_NATIVE_EXIT(env, that, CGFontCreateWithPlatformFont_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CGFontRelease
-JNIEXPORT void JNICALL OS_NATIVE(CGFontRelease)
- (JNIEnv *env, jclass that, jint arg0)
-{
- OS_NATIVE_ENTER(env, that, CGFontRelease_FUNC);
- CGFontRelease((CGFontRef)arg0);
- OS_NATIVE_EXIT(env, that, CGFontRelease_FUNC);
-}
-#endif
-
-#ifndef NO_CGFunctionCreate
-JNIEXPORT jint JNICALL OS_NATIVE(CGFunctionCreate)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jfloatArray arg2, jint arg3, jfloatArray arg4, jobject arg5)
-{
- jfloat *lparg2=NULL;
- jfloat *lparg4=NULL;
- CGFunctionCallbacks _arg5, *lparg5=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CGFunctionCreate_FUNC);
- if (arg2) if ((lparg2 = (*env)->GetFloatArrayElements(env, arg2, NULL)) == NULL) goto fail;
- if (arg4) if ((lparg4 = (*env)->GetFloatArrayElements(env, arg4, NULL)) == NULL) goto fail;
- if (arg5) if ((lparg5 = getCGFunctionCallbacksFields(env, arg5, &_arg5)) == NULL) goto fail;
- rc = (jint)CGFunctionCreate((void *)arg0, (size_t)arg1, (const float *)lparg2, (size_t)arg3, (const float *)lparg4, (const CGFunctionCallbacks *)lparg5);
-fail:
- if (arg5 && lparg5) setCGFunctionCallbacksFields(env, arg5, lparg5);
- if (arg4 && lparg4) (*env)->ReleaseFloatArrayElements(env, arg4, lparg4, 0);
- if (arg2 && lparg2) (*env)->ReleaseFloatArrayElements(env, arg2, lparg2, 0);
- OS_NATIVE_EXIT(env, that, CGFunctionCreate_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CGFunctionRelease
-JNIEXPORT void JNICALL OS_NATIVE(CGFunctionRelease)
- (JNIEnv *env, jclass that, jint arg0)
-{
- OS_NATIVE_ENTER(env, that, CGFunctionRelease_FUNC);
- CGFunctionRelease((CGFunctionRef)arg0);
- OS_NATIVE_EXIT(env, that, CGFunctionRelease_FUNC);
-}
-#endif
-
-#ifndef NO_CGGetDisplaysWithRect
-JNIEXPORT jint JNICALL OS_NATIVE(CGGetDisplaysWithRect)
- (JNIEnv *env, jclass that, jobject arg0, jint arg1, jintArray arg2, jintArray arg3)
-{
- CGRect _arg0, *lparg0=NULL;
- jint *lparg2=NULL;
- jint *lparg3=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CGGetDisplaysWithRect_FUNC);
- if (arg0) if ((lparg0 = getCGRectFields(env, arg0, &_arg0)) == NULL) goto fail;
- if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail;
- if (arg3) if ((lparg3 = (*env)->GetIntArrayElements(env, arg3, NULL)) == NULL) goto fail;
- rc = (jint)CGGetDisplaysWithRect(*lparg0, (CGDisplayCount)arg1, (CGDirectDisplayID *)lparg2, (CGDisplayCount *)lparg3);
-fail:
- if (arg3 && lparg3) (*env)->ReleaseIntArrayElements(env, arg3, lparg3, 0);
- if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- if (arg0 && lparg0) setCGRectFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, CGGetDisplaysWithRect_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CGImageCreate
-JNIEXPORT jint JNICALL OS_NATIVE(CGImageCreate)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jint arg4, jint arg5, jint arg6, jint arg7, jfloatArray arg8, jboolean arg9, jint arg10)
-{
- jfloat *lparg8=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CGImageCreate_FUNC);
- if (arg8) if ((lparg8 = (*env)->GetFloatArrayElements(env, arg8, NULL)) == NULL) goto fail;
- rc = (jint)CGImageCreate((size_t)arg0, (size_t)arg1, (size_t)arg2, (size_t)arg3, (size_t)arg4, (CGColorSpaceRef)arg5, (CGImageAlphaInfo)arg6, (CGDataProviderRef)arg7, (const float *)lparg8, (Boolean)arg9, (CGColorRenderingIntent)arg10);
-fail:
- if (arg8 && lparg8) (*env)->ReleaseFloatArrayElements(env, arg8, lparg8, 0);
- OS_NATIVE_EXIT(env, that, CGImageCreate_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CGImageCreateWithImageInRect
-JNIEXPORT jint JNICALL OS_NATIVE(CGImageCreateWithImageInRect)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1)
-{
- CGRect _arg1, *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CGImageCreateWithImageInRect_FUNC);
- if (arg1) if ((lparg1 = getCGRectFields(env, arg1, &_arg1)) == NULL) goto fail;
-/*
- rc = (jint)CGImageCreateWithImageInRect(arg0, *lparg1);
-*/
- {
- LOAD_FUNCTION(fp, CGImageCreateWithImageInRect)
- if (fp) {
- rc = (jint)((jint (CALLING_CONVENTION*)(jint, CGRect))fp)(arg0, *lparg1);
- }
- }
-fail:
- if (arg1 && lparg1) setCGRectFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, CGImageCreateWithImageInRect_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CGImageCreateWithJPEGDataProvider
-JNIEXPORT jint JNICALL OS_NATIVE(CGImageCreateWithJPEGDataProvider)
- (JNIEnv *env, jclass that, jint arg0, jfloatArray arg1, jboolean arg2, jint arg3)
-{
- jfloat *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CGImageCreateWithJPEGDataProvider_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetFloatArrayElements(env, arg1, NULL)) == NULL) goto fail;
- rc = (jint)CGImageCreateWithJPEGDataProvider((CGDataProviderRef)arg0, lparg1, arg2, arg3);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseFloatArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, CGImageCreateWithJPEGDataProvider_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CGImageCreateWithPNGDataProvider
-JNIEXPORT jint JNICALL OS_NATIVE(CGImageCreateWithPNGDataProvider)
- (JNIEnv *env, jclass that, jint arg0, jfloatArray arg1, jboolean arg2, jint arg3)
-{
- jfloat *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CGImageCreateWithPNGDataProvider_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetFloatArrayElements(env, arg1, NULL)) == NULL) goto fail;
- rc = (jint)CGImageCreateWithPNGDataProvider((CGDataProviderRef)arg0, lparg1, arg2, arg3);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseFloatArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, CGImageCreateWithPNGDataProvider_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CGImageGetAlphaInfo
-JNIEXPORT jint JNICALL OS_NATIVE(CGImageGetAlphaInfo)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CGImageGetAlphaInfo_FUNC);
- rc = (jint)CGImageGetAlphaInfo((CGImageRef)arg0);
- OS_NATIVE_EXIT(env, that, CGImageGetAlphaInfo_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CGImageGetBitsPerComponent
-JNIEXPORT jint JNICALL OS_NATIVE(CGImageGetBitsPerComponent)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CGImageGetBitsPerComponent_FUNC);
- rc = (jint)CGImageGetBitsPerComponent((CGImageRef)arg0);
- OS_NATIVE_EXIT(env, that, CGImageGetBitsPerComponent_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CGImageGetBitsPerPixel
-JNIEXPORT jint JNICALL OS_NATIVE(CGImageGetBitsPerPixel)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CGImageGetBitsPerPixel_FUNC);
- rc = (jint)CGImageGetBitsPerPixel((CGImageRef)arg0);
- OS_NATIVE_EXIT(env, that, CGImageGetBitsPerPixel_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CGImageGetBytesPerRow
-JNIEXPORT jint JNICALL OS_NATIVE(CGImageGetBytesPerRow)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CGImageGetBytesPerRow_FUNC);
- rc = (jint)CGImageGetBytesPerRow((CGImageRef)arg0);
- OS_NATIVE_EXIT(env, that, CGImageGetBytesPerRow_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CGImageGetColorSpace
-JNIEXPORT jint JNICALL OS_NATIVE(CGImageGetColorSpace)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CGImageGetColorSpace_FUNC);
- rc = (jint)CGImageGetColorSpace((CGImageRef)arg0);
- OS_NATIVE_EXIT(env, that, CGImageGetColorSpace_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CGImageGetDataProvider
-JNIEXPORT jint JNICALL OS_NATIVE(CGImageGetDataProvider)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CGImageGetDataProvider_FUNC);
- rc = (jint)CGImageGetDataProvider((CGImageRef)arg0);
- OS_NATIVE_EXIT(env, that, CGImageGetDataProvider_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CGImageGetHeight
-JNIEXPORT jint JNICALL OS_NATIVE(CGImageGetHeight)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CGImageGetHeight_FUNC);
- rc = (jint)CGImageGetHeight((CGImageRef)arg0);
- OS_NATIVE_EXIT(env, that, CGImageGetHeight_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CGImageGetWidth
-JNIEXPORT jint JNICALL OS_NATIVE(CGImageGetWidth)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CGImageGetWidth_FUNC);
- rc = (jint)CGImageGetWidth((CGImageRef)arg0);
- OS_NATIVE_EXIT(env, that, CGImageGetWidth_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CGImageRelease
-JNIEXPORT void JNICALL OS_NATIVE(CGImageRelease)
- (JNIEnv *env, jclass that, jint arg0)
-{
- OS_NATIVE_ENTER(env, that, CGImageRelease_FUNC);
- CGImageRelease((CGImageRef)arg0);
- OS_NATIVE_EXIT(env, that, CGImageRelease_FUNC);
-}
-#endif
-
-#ifndef NO_CGMainDisplayID
-JNIEXPORT jint JNICALL OS_NATIVE(CGMainDisplayID)
- (JNIEnv *env, jclass that)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CGMainDisplayID_FUNC);
- rc = (jint)CGMainDisplayID();
- OS_NATIVE_EXIT(env, that, CGMainDisplayID_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CGPathAddArc
-JNIEXPORT void JNICALL OS_NATIVE(CGPathAddArc)
- (JNIEnv *env, jclass that, jint arg0, jfloatArray arg1, jfloat arg2, jfloat arg3, jfloat arg4, jfloat arg5, jfloat arg6, jboolean arg7)
-{
- jfloat *lparg1=NULL;
- OS_NATIVE_ENTER(env, that, CGPathAddArc_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetFloatArrayElements(env, arg1, NULL)) == NULL) goto fail;
- CGPathAddArc((CGMutablePathRef)arg0, (const CGAffineTransform *)lparg1, arg2, arg3, arg4, arg5, arg6, arg7);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseFloatArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, CGPathAddArc_FUNC);
-}
-#endif
-
-#ifndef NO_CGPathAddCurveToPoint
-JNIEXPORT void JNICALL OS_NATIVE(CGPathAddCurveToPoint)
- (JNIEnv *env, jclass that, jint arg0, jfloatArray arg1, jfloat arg2, jfloat arg3, jfloat arg4, jfloat arg5, jfloat arg6, jfloat arg7)
-{
- jfloat *lparg1=NULL;
- OS_NATIVE_ENTER(env, that, CGPathAddCurveToPoint_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetFloatArrayElements(env, arg1, NULL)) == NULL) goto fail;
- CGPathAddCurveToPoint((CGMutablePathRef)arg0, (const CGAffineTransform *)lparg1, arg2, arg3, arg4, arg5, arg6, arg7);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseFloatArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, CGPathAddCurveToPoint_FUNC);
-}
-#endif
-
-#ifndef NO_CGPathAddLineToPoint
-JNIEXPORT void JNICALL OS_NATIVE(CGPathAddLineToPoint)
- (JNIEnv *env, jclass that, jint arg0, jfloatArray arg1, jfloat arg2, jfloat arg3)
-{
- jfloat *lparg1=NULL;
- OS_NATIVE_ENTER(env, that, CGPathAddLineToPoint_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetFloatArrayElements(env, arg1, NULL)) == NULL) goto fail;
- CGPathAddLineToPoint((CGMutablePathRef)arg0, (const CGAffineTransform *)lparg1, arg2, arg3);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseFloatArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, CGPathAddLineToPoint_FUNC);
-}
-#endif
-
-#ifndef NO_CGPathAddPath
-JNIEXPORT void JNICALL OS_NATIVE(CGPathAddPath)
- (JNIEnv *env, jclass that, jint arg0, jfloatArray arg1, jint arg2)
-{
- jfloat *lparg1=NULL;
- OS_NATIVE_ENTER(env, that, CGPathAddPath_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetFloatArrayElements(env, arg1, NULL)) == NULL) goto fail;
- CGPathAddPath((CGMutablePathRef)arg0, (const CGAffineTransform *)lparg1, (CGPathRef)arg2);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseFloatArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, CGPathAddPath_FUNC);
-}
-#endif
-
-#ifndef NO_CGPathAddQuadCurveToPoint
-JNIEXPORT void JNICALL OS_NATIVE(CGPathAddQuadCurveToPoint)
- (JNIEnv *env, jclass that, jint arg0, jfloatArray arg1, jfloat arg2, jfloat arg3, jfloat arg4, jfloat arg5)
-{
- jfloat *lparg1=NULL;
- OS_NATIVE_ENTER(env, that, CGPathAddQuadCurveToPoint_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetFloatArrayElements(env, arg1, NULL)) == NULL) goto fail;
- CGPathAddQuadCurveToPoint((CGMutablePathRef)arg0, (const CGAffineTransform *)lparg1, arg2, arg3, arg4, arg5);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseFloatArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, CGPathAddQuadCurveToPoint_FUNC);
-}
-#endif
-
-#ifndef NO_CGPathAddRect
-JNIEXPORT void JNICALL OS_NATIVE(CGPathAddRect)
- (JNIEnv *env, jclass that, jint arg0, jfloatArray arg1, jobject arg2)
-{
- jfloat *lparg1=NULL;
- CGRect _arg2, *lparg2=NULL;
- OS_NATIVE_ENTER(env, that, CGPathAddRect_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetFloatArrayElements(env, arg1, NULL)) == NULL) goto fail;
- if (arg2) if ((lparg2 = getCGRectFields(env, arg2, &_arg2)) == NULL) goto fail;
- CGPathAddRect((CGMutablePathRef)arg0, (const CGAffineTransform *)lparg1, *lparg2);
-fail:
- if (arg2 && lparg2) setCGRectFields(env, arg2, lparg2);
- if (arg1 && lparg1) (*env)->ReleaseFloatArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, CGPathAddRect_FUNC);
-}
-#endif
-
-#ifndef NO_CGPathApply
-JNIEXPORT void JNICALL OS_NATIVE(CGPathApply)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- OS_NATIVE_ENTER(env, that, CGPathApply_FUNC);
- CGPathApply((CGPathRef)arg0, (void *)arg1, (CGPathApplierFunction)arg2);
- OS_NATIVE_EXIT(env, that, CGPathApply_FUNC);
-}
-#endif
-
-#ifndef NO_CGPathCloseSubpath
-JNIEXPORT void JNICALL OS_NATIVE(CGPathCloseSubpath)
- (JNIEnv *env, jclass that, jint arg0)
-{
- OS_NATIVE_ENTER(env, that, CGPathCloseSubpath_FUNC);
- CGPathCloseSubpath((CGMutablePathRef)arg0);
- OS_NATIVE_EXIT(env, that, CGPathCloseSubpath_FUNC);
-}
-#endif
-
-#ifndef NO_CGPathCreateMutable
-JNIEXPORT jint JNICALL OS_NATIVE(CGPathCreateMutable)
- (JNIEnv *env, jclass that)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CGPathCreateMutable_FUNC);
- rc = (jint)CGPathCreateMutable();
- OS_NATIVE_EXIT(env, that, CGPathCreateMutable_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CGPathCreateMutableCopy
-JNIEXPORT jint JNICALL OS_NATIVE(CGPathCreateMutableCopy)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CGPathCreateMutableCopy_FUNC);
- rc = (jint)CGPathCreateMutableCopy((CGPathRef)arg0);
- OS_NATIVE_EXIT(env, that, CGPathCreateMutableCopy_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CGPathIsEmpty
-JNIEXPORT jboolean JNICALL OS_NATIVE(CGPathIsEmpty)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jboolean rc = 0;
- OS_NATIVE_ENTER(env, that, CGPathIsEmpty_FUNC);
- rc = (jboolean)CGPathIsEmpty((CGPathRef)arg0);
- OS_NATIVE_EXIT(env, that, CGPathIsEmpty_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CGPathMoveToPoint
-JNIEXPORT void JNICALL OS_NATIVE(CGPathMoveToPoint)
- (JNIEnv *env, jclass that, jint arg0, jfloatArray arg1, jfloat arg2, jfloat arg3)
-{
- jfloat *lparg1=NULL;
- OS_NATIVE_ENTER(env, that, CGPathMoveToPoint_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetFloatArrayElements(env, arg1, NULL)) == NULL) goto fail;
- CGPathMoveToPoint((CGMutablePathRef)arg0, (const CGAffineTransform *)lparg1, arg2, arg3);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseFloatArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, CGPathMoveToPoint_FUNC);
-}
-#endif
-
-#ifndef NO_CGPathRelease
-JNIEXPORT void JNICALL OS_NATIVE(CGPathRelease)
- (JNIEnv *env, jclass that, jint arg0)
-{
- OS_NATIVE_ENTER(env, that, CGPathRelease_FUNC);
- CGPathRelease((CGPathRef)arg0);
- OS_NATIVE_EXIT(env, that, CGPathRelease_FUNC);
-}
-#endif
-
-#ifndef NO_CGPatternCreate
-JNIEXPORT jint JNICALL OS_NATIVE(CGPatternCreate)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1, jfloatArray arg2, jfloat arg3, jfloat arg4, jint arg5, jint arg6, jobject arg7)
-{
- CGRect _arg1, *lparg1=NULL;
- jfloat *lparg2=NULL;
- CGPatternCallbacks _arg7, *lparg7=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CGPatternCreate_FUNC);
- if (arg1) if ((lparg1 = getCGRectFields(env, arg1, &_arg1)) == NULL) goto fail;
- if (arg2) if ((lparg2 = (*env)->GetFloatArrayElements(env, arg2, NULL)) == NULL) goto fail;
- if (arg7) if ((lparg7 = getCGPatternCallbacksFields(env, arg7, &_arg7)) == NULL) goto fail;
- rc = (jint)CGPatternCreate((void *)arg0, *lparg1, *(CGAffineTransform *)lparg2, arg3, arg4, (CGPatternTiling)arg5, arg6, (const CGPatternCallbacks *)lparg7);
-fail:
- if (arg7 && lparg7) setCGPatternCallbacksFields(env, arg7, lparg7);
- if (arg2 && lparg2) (*env)->ReleaseFloatArrayElements(env, arg2, lparg2, 0);
- if (arg1 && lparg1) setCGRectFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, CGPatternCreate_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CGPatternRelease
-JNIEXPORT void JNICALL OS_NATIVE(CGPatternRelease)
- (JNIEnv *env, jclass that, jint arg0)
-{
- OS_NATIVE_ENTER(env, that, CGPatternRelease_FUNC);
- CGPatternRelease((CGPatternRef)arg0);
- OS_NATIVE_EXIT(env, that, CGPatternRelease_FUNC);
-}
-#endif
-
-#ifndef NO_CGPostKeyboardEvent
-JNIEXPORT jint JNICALL OS_NATIVE(CGPostKeyboardEvent)
- (JNIEnv *env, jclass that, jint arg0, jint 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_CGPostMouseEvent
-JNIEXPORT jint JNICALL OS_NATIVE(CGPostMouseEvent)
- (JNIEnv *env, jclass that, jobject arg0, jboolean arg1, jint arg2, jboolean arg3, jboolean arg4, jboolean arg5, jboolean arg6, jboolean arg7)
-{
- CGPoint _arg0, *lparg0=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CGPostMouseEvent_FUNC);
- if (arg0) if ((lparg0 = getCGPointFields(env, arg0, &_arg0)) == NULL) goto fail;
- rc = (jint)CGPostMouseEvent(*lparg0, (boolean_t)arg1, arg2, (boolean_t)arg3, (boolean_t)arg4, (boolean_t)arg5, (boolean_t)arg6, (boolean_t)arg7);
-fail:
- if (arg0 && lparg0) setCGPointFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, CGPostMouseEvent_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CGPostScrollWheelEvent
-JNIEXPORT jint JNICALL OS_NATIVE(CGPostScrollWheelEvent)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CGPostScrollWheelEvent_FUNC);
- rc = (jint)CGPostScrollWheelEvent(arg0, arg1);
- OS_NATIVE_EXIT(env, that, CGPostScrollWheelEvent_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CGRectContainsPoint
-JNIEXPORT jint JNICALL OS_NATIVE(CGRectContainsPoint)
- (JNIEnv *env, jclass that, jobject arg0, jobject arg1)
-{
- CGRect _arg0, *lparg0=NULL;
- CGPoint _arg1, *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CGRectContainsPoint_FUNC);
- if (arg0) if ((lparg0 = getCGRectFields(env, arg0, &_arg0)) == NULL) goto fail;
- if (arg1) if ((lparg1 = getCGPointFields(env, arg1, &_arg1)) == NULL) goto fail;
- rc = (jint)CGRectContainsPoint(*lparg0, *lparg1);
-fail:
- if (arg1 && lparg1) setCGPointFields(env, arg1, lparg1);
- if (arg0 && lparg0) setCGRectFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, CGRectContainsPoint_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CGShadingCreateAxial
-JNIEXPORT jint JNICALL OS_NATIVE(CGShadingCreateAxial)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1, jobject arg2, jint arg3, jboolean arg4, jboolean arg5)
-{
- CGPoint _arg1, *lparg1=NULL;
- CGPoint _arg2, *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CGShadingCreateAxial_FUNC);
- if (arg1) if ((lparg1 = getCGPointFields(env, arg1, &_arg1)) == NULL) goto fail;
- if (arg2) if ((lparg2 = getCGPointFields(env, arg2, &_arg2)) == NULL) goto fail;
- rc = (jint)CGShadingCreateAxial((CGColorSpaceRef)arg0, *lparg1, *lparg2, (CGFunctionRef)arg3, arg4, arg5);
-fail:
- if (arg2 && lparg2) setCGPointFields(env, arg2, lparg2);
- if (arg1 && lparg1) setCGPointFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, CGShadingCreateAxial_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CGShadingCreateRadial
-JNIEXPORT jint JNICALL OS_NATIVE(CGShadingCreateRadial)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1, jfloat arg2, jobject arg3, jfloat arg4, jint arg5, jboolean arg6, jboolean arg7)
-{
- CGPoint _arg1, *lparg1=NULL;
- CGPoint _arg3, *lparg3=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CGShadingCreateRadial_FUNC);
- if (arg1) if ((lparg1 = getCGPointFields(env, arg1, &_arg1)) == NULL) goto fail;
- if (arg3) if ((lparg3 = getCGPointFields(env, arg3, &_arg3)) == NULL) goto fail;
- rc = (jint)CGShadingCreateRadial((CGColorSpaceRef)arg0, *lparg1, arg2, *lparg3, arg4, (CGFunctionRef)arg5, arg6, arg7);
-fail:
- if (arg3 && lparg3) setCGPointFields(env, arg3, lparg3);
- if (arg1 && lparg1) setCGPointFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, CGShadingCreateRadial_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CGShadingRelease
-JNIEXPORT void JNICALL OS_NATIVE(CGShadingRelease)
- (JNIEnv *env, jclass that, jint arg0)
-{
- OS_NATIVE_ENTER(env, that, CGShadingRelease_FUNC);
- CGShadingRelease((CGShadingRef)arg0);
- OS_NATIVE_EXIT(env, that, CGShadingRelease_FUNC);
-}
-#endif
-
-#ifndef NO_CGWarpMouseCursorPosition
-JNIEXPORT jint JNICALL OS_NATIVE(CGWarpMouseCursorPosition)
- (JNIEnv *env, jclass that, jobject arg0)
-{
- CGPoint _arg0, *lparg0=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CGWarpMouseCursorPosition_FUNC);
- if (arg0) if ((lparg0 = getCGPointFields(env, arg0, &_arg0)) == NULL) goto fail;
- rc = (jint)CGWarpMouseCursorPosition(*lparg0);
-fail:
- if (arg0 && lparg0) setCGPointFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, CGWarpMouseCursorPosition_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CPSEnableForegroundOperation
-JNIEXPORT jint JNICALL OS_NATIVE(CPSEnableForegroundOperation)
- (JNIEnv *env, jclass that, jintArray arg0, jint arg1, jint arg2, jint arg3, jint arg4)
-{
- jint *lparg0=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CPSEnableForegroundOperation_FUNC);
- if (arg0) if ((lparg0 = (*env)->GetIntArrayElements(env, arg0, NULL)) == NULL) goto fail;
- rc = (jint)CPSEnableForegroundOperation(lparg0, arg1, arg2, arg3, arg4);
-fail:
- if (arg0 && lparg0) (*env)->ReleaseIntArrayElements(env, arg0, lparg0, 0);
- OS_NATIVE_EXIT(env, that, CPSEnableForegroundOperation_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CPSSetProcessName
-JNIEXPORT jint JNICALL OS_NATIVE(CPSSetProcessName)
- (JNIEnv *env, jclass that, jintArray arg0, jbyteArray arg1)
-{
- jint *lparg0=NULL;
- jbyte *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CPSSetProcessName_FUNC);
- if (arg0) if ((lparg0 = (*env)->GetIntArrayElements(env, arg0, NULL)) == NULL) goto fail;
- if (arg1) if ((lparg1 = (*env)->GetByteArrayElements(env, arg1, NULL)) == NULL) goto fail;
- rc = (jint)CPSSetProcessName(lparg0, lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseByteArrayElements(env, arg1, lparg1, 0);
- if (arg0 && lparg0) (*env)->ReleaseIntArrayElements(env, arg0, lparg0, 0);
- OS_NATIVE_EXIT(env, that, CPSSetProcessName_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CalcMenuSize
-JNIEXPORT void JNICALL OS_NATIVE(CalcMenuSize)
- (JNIEnv *env, jclass that, jint arg0)
-{
- OS_NATIVE_ENTER(env, that, CalcMenuSize_FUNC);
- CalcMenuSize((MenuRef)arg0);
- OS_NATIVE_EXIT(env, that, CalcMenuSize_FUNC);
-}
-#endif
-
-#ifndef NO_Call
-JNIEXPORT void JNICALL OS_NATIVE(Call)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- OS_NATIVE_ENTER(env, that, Call_FUNC);
- ((void (*)())arg0)(arg1, arg2);
- OS_NATIVE_EXIT(env, that, Call_FUNC);
-}
-#endif
-
-#ifndef NO_CallNextEventHandler
-JNIEXPORT jint JNICALL OS_NATIVE(CallNextEventHandler)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CallNextEventHandler_FUNC);
- rc = (jint)CallNextEventHandler((EventHandlerCallRef)arg0, (EventRef)arg1);
- OS_NATIVE_EXIT(env, that, CallNextEventHandler_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CancelMenuTracking
-JNIEXPORT jint JNICALL OS_NATIVE(CancelMenuTracking)
- (JNIEnv *env, jclass that, jint arg0, jboolean arg1, jint arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CancelMenuTracking_FUNC);
- rc = (jint)CancelMenuTracking((MenuRef)arg0, arg1, arg2);
- OS_NATIVE_EXIT(env, that, CancelMenuTracking_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ChangeMenuItemAttributes
-JNIEXPORT jint JNICALL OS_NATIVE(ChangeMenuItemAttributes)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ChangeMenuItemAttributes_FUNC);
- rc = (jint)ChangeMenuItemAttributes((MenuRef)arg0, (MenuItemIndex)arg1, (MenuItemAttributes)arg2, (MenuItemAttributes)arg3);
- OS_NATIVE_EXIT(env, that, ChangeMenuItemAttributes_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ChangeWindowAttributes
-JNIEXPORT jint JNICALL OS_NATIVE(ChangeWindowAttributes)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ChangeWindowAttributes_FUNC);
- rc = (jint)ChangeWindowAttributes((WindowRef)arg0, (WindowAttributes)arg1, (WindowAttributes)arg2);
- OS_NATIVE_EXIT(env, that, ChangeWindowAttributes_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ClearCurrentScrap
-JNIEXPORT jint JNICALL OS_NATIVE(ClearCurrentScrap)
- (JNIEnv *env, jclass that)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ClearCurrentScrap_FUNC);
- rc = (jint)ClearCurrentScrap();
- OS_NATIVE_EXIT(env, that, ClearCurrentScrap_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ClearKeyboardFocus
-JNIEXPORT jint JNICALL OS_NATIVE(ClearKeyboardFocus)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ClearKeyboardFocus_FUNC);
- rc = (jint)ClearKeyboardFocus((WindowRef)arg0);
- OS_NATIVE_EXIT(env, that, ClearKeyboardFocus_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ClearMenuBar
-JNIEXPORT void JNICALL OS_NATIVE(ClearMenuBar)
- (JNIEnv *env, jclass that)
-{
- OS_NATIVE_ENTER(env, that, ClearMenuBar_FUNC);
- ClearMenuBar();
- OS_NATIVE_EXIT(env, that, ClearMenuBar_FUNC);
-}
-#endif
-
-#ifndef NO_ClipCGContextToRegion
-JNIEXPORT jint JNICALL OS_NATIVE(ClipCGContextToRegion)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1, jint arg2)
-{
- Rect _arg1, *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ClipCGContextToRegion_FUNC);
- if (arg1) if ((lparg1 = getRectFields(env, arg1, &_arg1)) == NULL) goto fail;
- rc = (jint)ClipCGContextToRegion((CGContextRef)arg0, (const Rect *)lparg1, (RgnHandle)arg2);
-fail:
- if (arg1 && lparg1) setRectFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, ClipCGContextToRegion_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CloseDataBrowserContainer
-JNIEXPORT jint JNICALL OS_NATIVE(CloseDataBrowserContainer)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CloseDataBrowserContainer_FUNC);
- rc = (jint)CloseDataBrowserContainer((ControlRef)arg0, (DataBrowserItemID)arg1);
- OS_NATIVE_EXIT(env, that, CloseDataBrowserContainer_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ClosePicture
-JNIEXPORT void JNICALL OS_NATIVE(ClosePicture)
- (JNIEnv *env, jclass that)
-{
- OS_NATIVE_ENTER(env, that, ClosePicture_FUNC);
- ClosePicture();
- OS_NATIVE_EXIT(env, that, ClosePicture_FUNC);
-}
-#endif
-
-#ifndef NO_CloseRgn
-JNIEXPORT void JNICALL OS_NATIVE(CloseRgn)
- (JNIEnv *env, jclass that, jint arg0)
-{
- OS_NATIVE_ENTER(env, that, CloseRgn_FUNC);
- CloseRgn((RgnHandle)arg0);
- OS_NATIVE_EXIT(env, that, CloseRgn_FUNC);
-}
-#endif
-
-#ifndef NO_CollapseWindow
-JNIEXPORT jint JNICALL OS_NATIVE(CollapseWindow)
- (JNIEnv *env, jclass that, jint arg0, jboolean arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CollapseWindow_FUNC);
- rc = (jint)CollapseWindow((WindowRef)arg0, (Boolean)arg1);
- OS_NATIVE_EXIT(env, that, CollapseWindow_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ContextualMenuSelect
-JNIEXPORT jint JNICALL OS_NATIVE(ContextualMenuSelect)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1, jboolean arg2, jint arg3, jbyteArray arg4, jobject arg5, jintArray arg6, jshortArray arg7, jshortArray arg8)
-{
- Point _arg1, *lparg1=NULL;
- jbyte *lparg4=NULL;
- AEDesc _arg5, *lparg5=NULL;
- jint *lparg6=NULL;
- jshort *lparg7=NULL;
- jshort *lparg8=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ContextualMenuSelect_FUNC);
- if (arg1) if ((lparg1 = getPointFields(env, arg1, &_arg1)) == NULL) goto fail;
- if (arg4) if ((lparg4 = (*env)->GetByteArrayElements(env, arg4, NULL)) == NULL) goto fail;
- if (arg5) if ((lparg5 = getAEDescFields(env, arg5, &_arg5)) == NULL) goto fail;
- if (arg6) if ((lparg6 = (*env)->GetIntArrayElements(env, arg6, NULL)) == NULL) goto fail;
- if (arg7) if ((lparg7 = (*env)->GetShortArrayElements(env, arg7, NULL)) == NULL) goto fail;
- if (arg8) if ((lparg8 = (*env)->GetShortArrayElements(env, arg8, NULL)) == NULL) goto fail;
- rc = (jint)ContextualMenuSelect((MenuRef)arg0, *lparg1, arg2, arg3, (ConstStr255Param)lparg4, lparg5, (UInt32 *)lparg6, (SInt16 *)lparg7, (MenuItemIndex *)lparg8);
-fail:
- if (arg8 && lparg8) (*env)->ReleaseShortArrayElements(env, arg8, lparg8, 0);
- if (arg7 && lparg7) (*env)->ReleaseShortArrayElements(env, arg7, lparg7, 0);
- if (arg6 && lparg6) (*env)->ReleaseIntArrayElements(env, arg6, lparg6, 0);
- if (arg5 && lparg5) setAEDescFields(env, arg5, lparg5);
- if (arg4 && lparg4) (*env)->ReleaseByteArrayElements(env, arg4, lparg4, 0);
- if (arg1 && lparg1) setPointFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, ContextualMenuSelect_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ConvertEventRefToEventRecord
-JNIEXPORT jboolean JNICALL OS_NATIVE(ConvertEventRefToEventRecord)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1)
-{
- EventRecord _arg1, *lparg1=NULL;
- jboolean rc = 0;
- OS_NATIVE_ENTER(env, that, ConvertEventRefToEventRecord_FUNC);
- if (arg1) if ((lparg1 = getEventRecordFields(env, arg1, &_arg1)) == NULL) goto fail;
- rc = (jboolean)ConvertEventRefToEventRecord((EventRef)arg0, (EventRecord *)lparg1);
-fail:
- if (arg1 && lparg1) setEventRecordFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, ConvertEventRefToEventRecord_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ConvertFromPStringToUnicode
-JNIEXPORT jint JNICALL OS_NATIVE(ConvertFromPStringToUnicode)
- (JNIEnv *env, jclass that, jint arg0, jbyteArray arg1, jint arg2, jintArray arg3, jcharArray arg4)
-{
- jbyte *lparg1=NULL;
- jint *lparg3=NULL;
- jchar *lparg4=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ConvertFromPStringToUnicode_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetByteArrayElements(env, arg1, NULL)) == NULL) goto fail;
- if (arg3) if ((lparg3 = (*env)->GetIntArrayElements(env, arg3, NULL)) == NULL) goto fail;
- if (arg4) if ((lparg4 = (*env)->GetCharArrayElements(env, arg4, NULL)) == NULL) goto fail;
- rc = (jint)ConvertFromPStringToUnicode((TextToUnicodeInfo)arg0, (ConstStr255Param)lparg1, arg2, (ByteCount *)lparg3, lparg4);
-fail:
- if (arg4 && lparg4) (*env)->ReleaseCharArrayElements(env, arg4, lparg4, 0);
- if (arg3 && lparg3) (*env)->ReleaseIntArrayElements(env, arg3, lparg3, 0);
- if (arg1 && lparg1) (*env)->ReleaseByteArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, ConvertFromPStringToUnicode_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ConvertFromUnicodeToPString
-JNIEXPORT jint JNICALL OS_NATIVE(ConvertFromUnicodeToPString)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jcharArray arg2, jbyteArray arg3)
-{
- jchar *lparg2=NULL;
- jbyte *lparg3=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ConvertFromUnicodeToPString_FUNC);
- if (arg2) if ((lparg2 = (*env)->GetCharArrayElements(env, arg2, NULL)) == NULL) goto fail;
- if (arg3) if ((lparg3 = (*env)->GetByteArrayElements(env, arg3, NULL)) == NULL) goto fail;
- rc = (jint)ConvertFromUnicodeToPString((UnicodeToTextInfo)arg0, arg1, (ConstUniCharArrayPtr)lparg2, (unsigned char *)lparg3);
-fail:
- if (arg3 && lparg3) (*env)->ReleaseByteArrayElements(env, arg3, lparg3, 0);
- if (arg2 && lparg2) (*env)->ReleaseCharArrayElements(env, arg2, lparg2, 0);
- OS_NATIVE_EXIT(env, that, ConvertFromUnicodeToPString_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CopyBits
-JNIEXPORT void JNICALL OS_NATIVE(CopyBits)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jobject arg2, jobject arg3, jshort arg4, jint arg5)
-{
- Rect _arg2, *lparg2=NULL;
- Rect _arg3, *lparg3=NULL;
- OS_NATIVE_ENTER(env, that, CopyBits_FUNC);
- if (arg2) if ((lparg2 = getRectFields(env, arg2, &_arg2)) == NULL) goto fail;
- if (arg3) if ((lparg3 = getRectFields(env, arg3, &_arg3)) == NULL) goto fail;
- CopyBits((const BitMap *)arg0, (const BitMap *)arg1, (const Rect *)lparg2, (const Rect *)lparg3, (short)arg4, (RgnHandle)arg5);
-fail:
- if (arg3 && lparg3) setRectFields(env, arg3, lparg3);
- if (arg2 && lparg2) setRectFields(env, arg2, lparg2);
- OS_NATIVE_EXIT(env, that, CopyBits_FUNC);
-}
-#endif
-
-#ifndef NO_CopyControlTitleAsCFString
-JNIEXPORT jint JNICALL OS_NATIVE(CopyControlTitleAsCFString)
- (JNIEnv *env, jclass that, jint arg0, jintArray arg1)
-{
- jint *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CopyControlTitleAsCFString_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL)) == NULL) goto fail;
- rc = (jint)CopyControlTitleAsCFString((ControlRef)arg0, (CFStringRef *)lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, CopyControlTitleAsCFString_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CopyMenuItemTextAsCFString
-JNIEXPORT jint JNICALL OS_NATIVE(CopyMenuItemTextAsCFString)
- (JNIEnv *env, jclass that, jint arg0, jshort arg1, jintArray arg2)
-{
- jint *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CopyMenuItemTextAsCFString_FUNC);
- if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail;
- rc = (jint)CopyMenuItemTextAsCFString((MenuRef)arg0, (MenuItemIndex)arg1, (CFStringRef *)lparg2);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- OS_NATIVE_EXIT(env, that, CopyMenuItemTextAsCFString_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CopyRgn
-JNIEXPORT void JNICALL OS_NATIVE(CopyRgn)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- OS_NATIVE_ENTER(env, that, CopyRgn_FUNC);
- CopyRgn((RgnHandle)arg0, (RgnHandle)arg1);
- OS_NATIVE_EXIT(env, that, CopyRgn_FUNC);
-}
-#endif
-
-#ifndef NO_CountDragItemFlavors
-JNIEXPORT jint JNICALL OS_NATIVE(CountDragItemFlavors)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jshortArray arg2)
-{
- jshort *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CountDragItemFlavors_FUNC);
- if (arg2) if ((lparg2 = (*env)->GetShortArrayElements(env, arg2, NULL)) == NULL) goto fail;
- rc = (jint)CountDragItemFlavors((DragRef)arg0, (DragItemRef)arg1, (UInt16 *)lparg2);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseShortArrayElements(env, arg2, lparg2, 0);
- OS_NATIVE_EXIT(env, that, CountDragItemFlavors_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CountDragItems
-JNIEXPORT jint JNICALL OS_NATIVE(CountDragItems)
- (JNIEnv *env, jclass that, jint arg0, jshortArray arg1)
-{
- jshort *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CountDragItems_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetShortArrayElements(env, arg1, NULL)) == NULL) goto fail;
- rc = (jint)CountDragItems((DragRef)arg0, (UInt16 *)lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseShortArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, CountDragItems_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CountMenuItems
-JNIEXPORT jshort JNICALL OS_NATIVE(CountMenuItems)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jshort rc = 0;
- OS_NATIVE_ENTER(env, that, CountMenuItems_FUNC);
- rc = (jshort)CountMenuItems((MenuRef)arg0);
- OS_NATIVE_EXIT(env, that, CountMenuItems_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CountSubControls
-JNIEXPORT jint JNICALL OS_NATIVE(CountSubControls)
- (JNIEnv *env, jclass that, jint arg0, jshortArray arg1)
-{
- jshort *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CountSubControls_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetShortArrayElements(env, arg1, NULL)) == NULL) goto fail;
- rc = (jint)CountSubControls((ControlRef)arg0, (UInt16 *)lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseShortArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, CountSubControls_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CreateBevelButtonControl
-JNIEXPORT jint JNICALL OS_NATIVE(CreateBevelButtonControl)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1, jint arg2, jshort arg3, jshort arg4, jint arg5, jshort arg6, jshort arg7, jshort arg8, jintArray arg9)
-{
- Rect _arg1, *lparg1=NULL;
- jint *lparg9=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CreateBevelButtonControl_FUNC);
- if (arg1) if ((lparg1 = getRectFields(env, arg1, &_arg1)) == NULL) goto fail;
- if (arg9) if ((lparg9 = (*env)->GetIntArrayElements(env, arg9, NULL)) == NULL) goto fail;
- rc = (jint)CreateBevelButtonControl((WindowRef)arg0, (const Rect *)lparg1, (CFStringRef)arg2, (ControlBevelThickness)arg3, (ControlBevelButtonBehavior)arg4, (ControlButtonContentInfoPtr)arg5, (SInt16)arg6, (ControlBevelButtonMenuBehavior)arg7, (ControlBevelButtonMenuPlacement)arg8, (ControlRef *)lparg9);
-fail:
- if (arg9 && lparg9) (*env)->ReleaseIntArrayElements(env, arg9, lparg9, 0);
- if (arg1 && lparg1) setRectFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, CreateBevelButtonControl_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CreateCGContextForPort
-JNIEXPORT jint JNICALL OS_NATIVE(CreateCGContextForPort)
- (JNIEnv *env, jclass that, jint arg0, jintArray arg1)
-{
- jint *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CreateCGContextForPort_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL)) == NULL) goto fail;
- rc = (jint)CreateCGContextForPort((CGrafPtr)arg0, (CGContextRef *)lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, CreateCGContextForPort_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CreateCheckBoxControl
-JNIEXPORT jint JNICALL OS_NATIVE(CreateCheckBoxControl)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1, jint arg2, jint arg3, jboolean arg4, jintArray arg5)
-{
- Rect _arg1, *lparg1=NULL;
- jint *lparg5=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CreateCheckBoxControl_FUNC);
- if (arg1) if ((lparg1 = getRectFields(env, arg1, &_arg1)) == NULL) goto fail;
- if (arg5) if ((lparg5 = (*env)->GetIntArrayElements(env, arg5, NULL)) == NULL) goto fail;
- rc = (jint)CreateCheckBoxControl((WindowRef)arg0, (const Rect *)lparg1, (CFStringRef)arg2, (SInt32)arg3, (Boolean)arg4, (ControlRef *)lparg5);
-fail:
- if (arg5 && lparg5) (*env)->ReleaseIntArrayElements(env, arg5, lparg5, 0);
- if (arg1 && lparg1) setRectFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, CreateCheckBoxControl_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CreateClockControl
-JNIEXPORT jint JNICALL OS_NATIVE(CreateClockControl)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1, jint arg2, jint arg3, jintArray arg4)
-{
- Rect _arg1, *lparg1=NULL;
- jint *lparg4=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CreateClockControl_FUNC);
- if (arg1) if ((lparg1 = getRectFields(env, arg1, &_arg1)) == NULL) goto fail;
- if (arg4) if ((lparg4 = (*env)->GetIntArrayElements(env, arg4, NULL)) == NULL) goto fail;
- rc = (jint)CreateClockControl((WindowRef)arg0, (const Rect *)lparg1, (ControlClockType)arg2, (ControlClockFlags)arg3, (ControlRef *)lparg4);
-fail:
- if (arg4 && lparg4) (*env)->ReleaseIntArrayElements(env, arg4, lparg4, 0);
- if (arg1 && lparg1) setRectFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, CreateClockControl_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CreateDataBrowserControl
-JNIEXPORT jint JNICALL OS_NATIVE(CreateDataBrowserControl)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1, jint arg2, jintArray arg3)
-{
- Rect _arg1, *lparg1=NULL;
- jint *lparg3=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CreateDataBrowserControl_FUNC);
- if (arg1) if ((lparg1 = getRectFields(env, arg1, &_arg1)) == NULL) goto fail;
- if (arg3) if ((lparg3 = (*env)->GetIntArrayElements(env, arg3, NULL)) == NULL) goto fail;
- rc = (jint)CreateDataBrowserControl((WindowRef)arg0, (const Rect *)lparg1, (DataBrowserViewStyle)arg2, (ControlRef *)lparg3);
-fail:
- if (arg3 && lparg3) (*env)->ReleaseIntArrayElements(env, arg3, lparg3, 0);
- if (arg1 && lparg1) setRectFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, CreateDataBrowserControl_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CreateEditUnicodeTextControl
-JNIEXPORT jint JNICALL OS_NATIVE(CreateEditUnicodeTextControl)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1, jint arg2, jboolean arg3, jobject arg4, jintArray arg5)
-{
- Rect _arg1, *lparg1=NULL;
- ControlFontStyleRec _arg4, *lparg4=NULL;
- jint *lparg5=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CreateEditUnicodeTextControl_FUNC);
- if (arg1) if ((lparg1 = getRectFields(env, arg1, &_arg1)) == NULL) goto fail;
- if (arg4) if ((lparg4 = getControlFontStyleRecFields(env, arg4, &_arg4)) == NULL) goto fail;
- if (arg5) if ((lparg5 = (*env)->GetIntArrayElements(env, arg5, NULL)) == NULL) goto fail;
- rc = (jint)CreateEditUnicodeTextControl((WindowRef)arg0, lparg1, (CFStringRef)arg2, arg3, lparg4, (ControlRef *)lparg5);
-fail:
- if (arg5 && lparg5) (*env)->ReleaseIntArrayElements(env, arg5, lparg5, 0);
- if (arg4 && lparg4) setControlFontStyleRecFields(env, arg4, lparg4);
- if (arg1 && lparg1) setRectFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, CreateEditUnicodeTextControl_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CreateEvent
-JNIEXPORT jint JNICALL OS_NATIVE(CreateEvent)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jdouble arg3, jint arg4, jintArray arg5)
-{
- jint *lparg5=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CreateEvent_FUNC);
- if (arg5) if ((lparg5 = (*env)->GetIntArrayElements(env, arg5, NULL)) == NULL) goto fail;
- rc = (jint)CreateEvent((CFAllocatorRef)arg0, (UInt32)arg1, (UInt32)arg2, (EventTime)arg3, (EventAttributes)arg4, (EventRef *)lparg5);
-fail:
- if (arg5 && lparg5) (*env)->ReleaseIntArrayElements(env, arg5, lparg5, 0);
- OS_NATIVE_EXIT(env, that, CreateEvent_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CreateGroupBoxControl
-JNIEXPORT jint JNICALL OS_NATIVE(CreateGroupBoxControl)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1, jint arg2, jboolean arg3, jintArray arg4)
-{
- Rect _arg1, *lparg1=NULL;
- jint *lparg4=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CreateGroupBoxControl_FUNC);
- if (arg1) if ((lparg1 = getRectFields(env, arg1, &_arg1)) == NULL) goto fail;
- if (arg4) if ((lparg4 = (*env)->GetIntArrayElements(env, arg4, NULL)) == NULL) goto fail;
- rc = (jint)CreateGroupBoxControl((WindowRef)arg0, (const Rect *)lparg1, (CFStringRef)arg2, (Boolean)arg3, (ControlRef *)lparg4);
-fail:
- if (arg4 && lparg4) (*env)->ReleaseIntArrayElements(env, arg4, lparg4, 0);
- if (arg1 && lparg1) setRectFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, CreateGroupBoxControl_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CreateIconControl
-JNIEXPORT jint JNICALL OS_NATIVE(CreateIconControl)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1, jobject arg2, jboolean arg3, jintArray arg4)
-{
- Rect _arg1, *lparg1=NULL;
- ControlButtonContentInfo _arg2, *lparg2=NULL;
- jint *lparg4=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CreateIconControl_FUNC);
- if (arg1) if ((lparg1 = getRectFields(env, arg1, &_arg1)) == NULL) goto fail;
- if (arg2) if ((lparg2 = getControlButtonContentInfoFields(env, arg2, &_arg2)) == NULL) goto fail;
- if (arg4) if ((lparg4 = (*env)->GetIntArrayElements(env, arg4, NULL)) == NULL) goto fail;
- rc = (jint)CreateIconControl((WindowRef)arg0, lparg1, lparg2, arg3, (ControlRef *)lparg4);
-fail:
- if (arg4 && lparg4) (*env)->ReleaseIntArrayElements(env, arg4, lparg4, 0);
- if (arg2 && lparg2) setControlButtonContentInfoFields(env, arg2, lparg2);
- if (arg1 && lparg1) setRectFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, CreateIconControl_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CreateLittleArrowsControl
-JNIEXPORT jint JNICALL OS_NATIVE(CreateLittleArrowsControl)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1, jint arg2, jint arg3, jint arg4, jint arg5, jintArray arg6)
-{
- Rect _arg1, *lparg1=NULL;
- jint *lparg6=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CreateLittleArrowsControl_FUNC);
- if (arg1) if ((lparg1 = getRectFields(env, arg1, &_arg1)) == NULL) goto fail;
- if (arg6) if ((lparg6 = (*env)->GetIntArrayElements(env, arg6, NULL)) == NULL) goto fail;
- rc = (jint)CreateLittleArrowsControl((WindowRef)arg0, (const Rect *)lparg1, arg2, arg3, arg4, arg5, (ControlRef *)lparg6);
-fail:
- if (arg6 && lparg6) (*env)->ReleaseIntArrayElements(env, arg6, lparg6, 0);
- if (arg1 && lparg1) setRectFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, CreateLittleArrowsControl_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CreateNewMenu
-JNIEXPORT jint JNICALL OS_NATIVE(CreateNewMenu)
- (JNIEnv *env, jclass that, jshort arg0, jint arg1, jintArray arg2)
-{
- jint *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CreateNewMenu_FUNC);
- if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail;
- rc = (jint)CreateNewMenu((MenuID)arg0, (MenuAttributes)arg1, (MenuRef *)lparg2);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- OS_NATIVE_EXIT(env, that, CreateNewMenu_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CreateNewWindow
-JNIEXPORT jint JNICALL OS_NATIVE(CreateNewWindow)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jobject arg2, jintArray arg3)
-{
- Rect _arg2, *lparg2=NULL;
- jint *lparg3=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CreateNewWindow_FUNC);
- if (arg2) if ((lparg2 = getRectFields(env, arg2, &_arg2)) == NULL) goto fail;
- if (arg3) if ((lparg3 = (*env)->GetIntArrayElements(env, arg3, NULL)) == NULL) goto fail;
- rc = (jint)CreateNewWindow((WindowClass)arg0, (WindowAttributes)arg1, (const Rect *)lparg2, (WindowRef *)lparg3);
-fail:
- if (arg3 && lparg3) (*env)->ReleaseIntArrayElements(env, arg3, lparg3, 0);
- if (arg2 && lparg2) setRectFields(env, arg2, lparg2);
- OS_NATIVE_EXIT(env, that, CreateNewWindow_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CreatePopupArrowControl
-JNIEXPORT jint JNICALL OS_NATIVE(CreatePopupArrowControl)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1, jshort arg2, jshort arg3, jintArray arg4)
-{
- Rect _arg1, *lparg1=NULL;
- jint *lparg4=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CreatePopupArrowControl_FUNC);
- if (arg1) if ((lparg1 = getRectFields(env, arg1, &_arg1)) == NULL) goto fail;
- if (arg4) if ((lparg4 = (*env)->GetIntArrayElements(env, arg4, NULL)) == NULL) goto fail;
- rc = (jint)CreatePopupArrowControl((WindowRef)arg0, (const Rect *)lparg1, (ControlPopupArrowOrientation)arg2, (ControlPopupArrowSize)arg3, (ControlRef *)lparg4);
-fail:
- if (arg4 && lparg4) (*env)->ReleaseIntArrayElements(env, arg4, lparg4, 0);
- if (arg1 && lparg1) setRectFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, CreatePopupArrowControl_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CreatePopupButtonControl
-JNIEXPORT jint JNICALL OS_NATIVE(CreatePopupButtonControl)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1, jint arg2, jshort arg3, jboolean arg4, jshort arg5, jshort arg6, jint arg7, jintArray arg8)
-{
- Rect _arg1, *lparg1=NULL;
- jint *lparg8=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CreatePopupButtonControl_FUNC);
- if (arg1) if ((lparg1 = getRectFields(env, arg1, &_arg1)) == NULL) goto fail;
- if (arg8) if ((lparg8 = (*env)->GetIntArrayElements(env, arg8, NULL)) == NULL) goto fail;
- rc = (jint)CreatePopupButtonControl((WindowRef)arg0, lparg1, (CFStringRef)arg2, arg3, arg4, arg5, arg6, arg7, (ControlRef *)lparg8);
-fail:
- if (arg8 && lparg8) (*env)->ReleaseIntArrayElements(env, arg8, lparg8, 0);
- if (arg1 && lparg1) setRectFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, CreatePopupButtonControl_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CreateProgressBarControl
-JNIEXPORT jint JNICALL OS_NATIVE(CreateProgressBarControl)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1, jint arg2, jint arg3, jint arg4, jboolean arg5, jintArray arg6)
-{
- Rect _arg1, *lparg1=NULL;
- jint *lparg6=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CreateProgressBarControl_FUNC);
- if (arg1) if ((lparg1 = getRectFields(env, arg1, &_arg1)) == NULL) goto fail;
- if (arg6) if ((lparg6 = (*env)->GetIntArrayElements(env, arg6, NULL)) == NULL) goto fail;
- rc = (jint)CreateProgressBarControl((WindowRef)arg0, lparg1, arg2, arg3, arg4, arg5, (ControlRef *)lparg6);
-fail:
- if (arg6 && lparg6) (*env)->ReleaseIntArrayElements(env, arg6, lparg6, 0);
- if (arg1 && lparg1) setRectFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, CreateProgressBarControl_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CreatePushButtonControl
-JNIEXPORT jint JNICALL OS_NATIVE(CreatePushButtonControl)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1, jint arg2, jintArray arg3)
-{
- Rect _arg1, *lparg1=NULL;
- jint *lparg3=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CreatePushButtonControl_FUNC);
- if (arg1) if ((lparg1 = getRectFields(env, arg1, &_arg1)) == NULL) goto fail;
- if (arg3) if ((lparg3 = (*env)->GetIntArrayElements(env, arg3, NULL)) == NULL) goto fail;
- rc = (jint)CreatePushButtonControl((WindowRef)arg0, (const Rect *)lparg1, (CFStringRef)arg2, (ControlRef *)lparg3);
-fail:
- if (arg3 && lparg3) (*env)->ReleaseIntArrayElements(env, arg3, lparg3, 0);
- if (arg1 && lparg1) setRectFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, CreatePushButtonControl_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CreatePushButtonWithIconControl
-JNIEXPORT jint JNICALL OS_NATIVE(CreatePushButtonWithIconControl)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1, jint arg2, jobject arg3, jshort arg4, jintArray arg5)
-{
- Rect _arg1, *lparg1=NULL;
- ControlButtonContentInfo _arg3, *lparg3=NULL;
- jint *lparg5=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CreatePushButtonWithIconControl_FUNC);
- if (arg1) if ((lparg1 = getRectFields(env, arg1, &_arg1)) == NULL) goto fail;
- if (arg3) if ((lparg3 = getControlButtonContentInfoFields(env, arg3, &_arg3)) == NULL) goto fail;
- if (arg5) if ((lparg5 = (*env)->GetIntArrayElements(env, arg5, NULL)) == NULL) goto fail;
- rc = (jint)CreatePushButtonWithIconControl((WindowRef)arg0, lparg1, (CFStringRef)arg2, (ControlButtonContentInfo *)lparg3, (ControlPushButtonIconAlignment)arg4, (ControlRef *)lparg5);
-fail:
- if (arg5 && lparg5) (*env)->ReleaseIntArrayElements(env, arg5, lparg5, 0);
- if (arg3 && lparg3) setControlButtonContentInfoFields(env, arg3, lparg3);
- if (arg1 && lparg1) setRectFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, CreatePushButtonWithIconControl_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CreateRadioButtonControl
-JNIEXPORT jint JNICALL OS_NATIVE(CreateRadioButtonControl)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1, jint arg2, jint arg3, jboolean arg4, jintArray arg5)
-{
- Rect _arg1, *lparg1=NULL;
- jint *lparg5=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CreateRadioButtonControl_FUNC);
- if (arg1) if ((lparg1 = getRectFields(env, arg1, &_arg1)) == NULL) goto fail;
- if (arg5) if ((lparg5 = (*env)->GetIntArrayElements(env, arg5, NULL)) == NULL) goto fail;
- rc = (jint)CreateRadioButtonControl((WindowRef)arg0, (const Rect *)lparg1, (CFStringRef)arg2, (SInt32)arg3, (Boolean)arg4, (ControlRef *)lparg5);
-fail:
- if (arg5 && lparg5) (*env)->ReleaseIntArrayElements(env, arg5, lparg5, 0);
- if (arg1 && lparg1) setRectFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, CreateRadioButtonControl_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CreateRootControl
-JNIEXPORT jint JNICALL OS_NATIVE(CreateRootControl)
- (JNIEnv *env, jclass that, jint arg0, jintArray arg1)
-{
- jint *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CreateRootControl_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL)) == NULL) goto fail;
- rc = (jint)CreateRootControl((WindowRef)arg0, (ControlRef *)lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, CreateRootControl_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CreateScrollBarControl
-JNIEXPORT jint JNICALL OS_NATIVE(CreateScrollBarControl)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1, jint arg2, jint arg3, jint arg4, jint arg5, jboolean arg6, jint arg7, jintArray arg8)
-{
- Rect _arg1, *lparg1=NULL;
- jint *lparg8=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CreateScrollBarControl_FUNC);
- if (arg1) if ((lparg1 = getRectFields(env, arg1, &_arg1)) == NULL) goto fail;
- if (arg8) if ((lparg8 = (*env)->GetIntArrayElements(env, arg8, NULL)) == NULL) goto fail;
- rc = (jint)CreateScrollBarControl((WindowRef)arg0, lparg1, arg2, arg3, arg4, arg5, arg6, (ControlActionUPP)arg7, (ControlRef *)lparg8);
-fail:
- if (arg8 && lparg8) (*env)->ReleaseIntArrayElements(env, arg8, lparg8, 0);
- if (arg1 && lparg1) setRectFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, CreateScrollBarControl_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CreateSeparatorControl
-JNIEXPORT jint JNICALL OS_NATIVE(CreateSeparatorControl)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1, jintArray arg2)
-{
- Rect _arg1, *lparg1=NULL;
- jint *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CreateSeparatorControl_FUNC);
- if (arg1) if ((lparg1 = getRectFields(env, arg1, &_arg1)) == NULL) goto fail;
- if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail;
- rc = (jint)CreateSeparatorControl((WindowRef)arg0, lparg1, (ControlRef *)lparg2);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- if (arg1 && lparg1) setRectFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, CreateSeparatorControl_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CreateSliderControl
-JNIEXPORT jint JNICALL OS_NATIVE(CreateSliderControl)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1, jint arg2, jint arg3, jint arg4, jint arg5, jshort arg6, jboolean arg7, jint arg8, jintArray arg9)
-{
- Rect _arg1, *lparg1=NULL;
- jint *lparg9=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CreateSliderControl_FUNC);
- if (arg1) if ((lparg1 = getRectFields(env, arg1, &_arg1)) == NULL) goto fail;
- if (arg9) if ((lparg9 = (*env)->GetIntArrayElements(env, arg9, NULL)) == NULL) goto fail;
- rc = (jint)CreateSliderControl((WindowRef)arg0, (const Rect *)lparg1, (SInt32)arg2, (SInt32)arg3, (SInt32)arg4, (ControlSliderOrientation)arg5, (UInt16)arg6, (Boolean)arg7, (ControlActionUPP)arg8, (ControlRef *)lparg9);
-fail:
- if (arg9 && lparg9) (*env)->ReleaseIntArrayElements(env, arg9, lparg9, 0);
- if (arg1 && lparg1) setRectFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, CreateSliderControl_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CreateStandardAlert
-JNIEXPORT jint JNICALL OS_NATIVE(CreateStandardAlert)
- (JNIEnv *env, jclass that, jshort arg0, jint arg1, jint arg2, jobject arg3, jintArray arg4)
-{
- AlertStdCFStringAlertParamRec _arg3, *lparg3=NULL;
- jint *lparg4=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CreateStandardAlert_FUNC);
- if (arg3) if ((lparg3 = getAlertStdCFStringAlertParamRecFields(env, arg3, &_arg3)) == NULL) goto fail;
- if (arg4) if ((lparg4 = (*env)->GetIntArrayElements(env, arg4, NULL)) == NULL) goto fail;
- rc = (jint)CreateStandardAlert((AlertType)arg0, (CFStringRef)arg1, (CFStringRef)arg2, (const AlertStdCFStringAlertParamRec *)lparg3, (DialogRef *)lparg4);
-fail:
- if (arg4 && lparg4) (*env)->ReleaseIntArrayElements(env, arg4, lparg4, 0);
- if (arg3 && lparg3) setAlertStdCFStringAlertParamRecFields(env, arg3, lparg3);
- OS_NATIVE_EXIT(env, that, CreateStandardAlert_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CreateStaticTextControl
-JNIEXPORT jint JNICALL OS_NATIVE(CreateStaticTextControl)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1, jint arg2, jobject arg3, jintArray arg4)
-{
- Rect _arg1, *lparg1=NULL;
- ControlFontStyleRec _arg3, *lparg3=NULL;
- jint *lparg4=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CreateStaticTextControl_FUNC);
- if (arg1) if ((lparg1 = getRectFields(env, arg1, &_arg1)) == NULL) goto fail;
- if (arg3) if ((lparg3 = getControlFontStyleRecFields(env, arg3, &_arg3)) == NULL) goto fail;
- if (arg4) if ((lparg4 = (*env)->GetIntArrayElements(env, arg4, NULL)) == NULL) goto fail;
- rc = (jint)CreateStaticTextControl((WindowRef)arg0, lparg1, (CFStringRef)arg2, (const ControlFontStyleRec *)lparg3, (ControlRef *)lparg4);
-fail:
- if (arg4 && lparg4) (*env)->ReleaseIntArrayElements(env, arg4, lparg4, 0);
- if (arg3 && lparg3) setControlFontStyleRecFields(env, arg3, lparg3);
- if (arg1 && lparg1) setRectFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, CreateStaticTextControl_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CreateTabsControl
-JNIEXPORT jint JNICALL OS_NATIVE(CreateTabsControl)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1, jshort arg2, jshort arg3, jshort arg4, jint arg5, jintArray arg6)
-{
- Rect _arg1, *lparg1=NULL;
- jint *lparg6=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CreateTabsControl_FUNC);
- if (arg1) if ((lparg1 = getRectFields(env, arg1, &_arg1)) == NULL) goto fail;
- if (arg6) if ((lparg6 = (*env)->GetIntArrayElements(env, arg6, NULL)) == NULL) goto fail;
- rc = (jint)CreateTabsControl((WindowRef)arg0, (const Rect *)lparg1, (ControlTabSize)arg2, (ControlTabDirection)arg3, (UInt16)arg4, (const ControlTabEntry *)arg5, (ControlRef *)lparg6);
-fail:
- if (arg6 && lparg6) (*env)->ReleaseIntArrayElements(env, arg6, lparg6, 0);
- if (arg1 && lparg1) setRectFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, CreateTabsControl_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CreateTextToUnicodeInfoByEncoding
-JNIEXPORT jint JNICALL OS_NATIVE(CreateTextToUnicodeInfoByEncoding)
- (JNIEnv *env, jclass that, jint arg0, jintArray arg1)
-{
- jint *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CreateTextToUnicodeInfoByEncoding_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL)) == NULL) goto fail;
- rc = (jint)CreateTextToUnicodeInfoByEncoding((TextEncoding)arg0, (TextToUnicodeInfo *)lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, CreateTextToUnicodeInfoByEncoding_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CreateUnicodeToTextInfoByEncoding
-JNIEXPORT jint JNICALL OS_NATIVE(CreateUnicodeToTextInfoByEncoding)
- (JNIEnv *env, jclass that, jint arg0, jintArray arg1)
-{
- jint *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CreateUnicodeToTextInfoByEncoding_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL)) == NULL) goto fail;
- rc = (jint)CreateUnicodeToTextInfoByEncoding((TextEncoding)arg0, (UnicodeToTextInfo *)lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, CreateUnicodeToTextInfoByEncoding_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CreateUserPaneControl
-JNIEXPORT jint JNICALL OS_NATIVE(CreateUserPaneControl)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1, jint arg2, jintArray arg3)
-{
- Rect _arg1, *lparg1=NULL;
- jint *lparg3=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CreateUserPaneControl_FUNC);
- if (arg1) if ((lparg1 = getRectFields(env, arg1, &_arg1)) == NULL) goto fail;
- if (arg3) if ((lparg3 = (*env)->GetIntArrayElements(env, arg3, NULL)) == NULL) goto fail;
- rc = (jint)CreateUserPaneControl((WindowRef)arg0, lparg1, arg2, (ControlRef *)lparg3);
-fail:
- if (arg3 && lparg3) (*env)->ReleaseIntArrayElements(env, arg3, lparg3, 0);
- if (arg1 && lparg1) setRectFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, CreateUserPaneControl_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CreateWindowGroup
-JNIEXPORT jint JNICALL OS_NATIVE(CreateWindowGroup)
- (JNIEnv *env, jclass that, jint arg0, jintArray arg1)
-{
- jint *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, CreateWindowGroup_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL)) == NULL) goto fail;
- rc = (jint)CreateWindowGroup((WindowGroupAttributes)arg0, (WindowGroupRef *)lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, CreateWindowGroup_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_DataBrowserChangeAttributes
-JNIEXPORT jint JNICALL OS_NATIVE(DataBrowserChangeAttributes)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, DataBrowserChangeAttributes_FUNC);
-/*
- rc = (jint)DataBrowserChangeAttributes(arg0, arg1, arg2);
-*/
- {
- LOAD_FUNCTION(fp, DataBrowserChangeAttributes)
- if (fp) {
- rc = (jint)((jint (CALLING_CONVENTION*)(jint, jint, jint))fp)(arg0, arg1, arg2);
- }
- }
- OS_NATIVE_EXIT(env, that, DataBrowserChangeAttributes_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_DataBrowserGetAttributes
-JNIEXPORT jint JNICALL OS_NATIVE(DataBrowserGetAttributes)
- (JNIEnv *env, jclass that, jint arg0, jintArray arg1)
-{
- jint *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, DataBrowserGetAttributes_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL)) == NULL) goto fail;
-/*
- rc = (jint)DataBrowserGetAttributes(arg0, lparg1);
-*/
- {
- LOAD_FUNCTION(fp, DataBrowserGetAttributes)
- if (fp) {
- rc = (jint)((jint (CALLING_CONVENTION*)(jint, jint *))fp)(arg0, lparg1);
- }
- }
-fail:
- if (arg1 && lparg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, DataBrowserGetAttributes_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_DataBrowserGetMetric
-JNIEXPORT jint JNICALL OS_NATIVE(DataBrowserGetMetric)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jbooleanArray arg2, jfloatArray arg3)
-{
- jboolean *lparg2=NULL;
- jfloat *lparg3=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, DataBrowserGetMetric_FUNC);
- if (arg2) if ((lparg2 = (*env)->GetBooleanArrayElements(env, arg2, NULL)) == NULL) goto fail;
- if (arg3) if ((lparg3 = (*env)->GetFloatArrayElements(env, arg3, NULL)) == NULL) goto fail;
-/*
- rc = (jint)DataBrowserGetMetric(arg0, arg1, lparg2, lparg3);
-*/
- {
- LOAD_FUNCTION(fp, DataBrowserGetMetric)
- if (fp) {
- rc = (jint)((jint (CALLING_CONVENTION*)(jint, jint, jboolean *, jfloat *))fp)(arg0, arg1, lparg2, lparg3);
- }
- }
-fail:
- if (arg3 && lparg3) (*env)->ReleaseFloatArrayElements(env, arg3, lparg3, 0);
- if (arg2 && lparg2) (*env)->ReleaseBooleanArrayElements(env, arg2, lparg2, 0);
- OS_NATIVE_EXIT(env, that, DataBrowserGetMetric_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_DataBrowserSetMetric
-JNIEXPORT jint JNICALL OS_NATIVE(DataBrowserSetMetric)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jboolean arg2, jfloat arg3)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, DataBrowserSetMetric_FUNC);
-/*
- rc = (jint)DataBrowserSetMetric(arg0, arg1, arg2, arg3);
-*/
- {
- LOAD_FUNCTION(fp, DataBrowserSetMetric)
- if (fp) {
- rc = (jint)((jint (CALLING_CONVENTION*)(jint, jint, jboolean, jfloat))fp)(arg0, arg1, arg2, arg3);
- }
- }
- OS_NATIVE_EXIT(env, that, DataBrowserSetMetric_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_DeactivateTSMDocument
-JNIEXPORT jint JNICALL OS_NATIVE(DeactivateTSMDocument)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, DeactivateTSMDocument_FUNC);
- rc = (jint)DeactivateTSMDocument((TSMDocumentID)arg0);
- OS_NATIVE_EXIT(env, that, DeactivateTSMDocument_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_DeleteMenu
-JNIEXPORT void JNICALL OS_NATIVE(DeleteMenu)
- (JNIEnv *env, jclass that, jshort arg0)
-{
- OS_NATIVE_ENTER(env, that, DeleteMenu_FUNC);
- DeleteMenu((MenuID)arg0);
- OS_NATIVE_EXIT(env, that, DeleteMenu_FUNC);
-}
-#endif
-
-#ifndef NO_DeleteMenuItem
-JNIEXPORT void JNICALL OS_NATIVE(DeleteMenuItem)
- (JNIEnv *env, jclass that, jint arg0, jshort arg1)
-{
- OS_NATIVE_ENTER(env, that, DeleteMenuItem_FUNC);
- DeleteMenuItem((MenuRef)arg0, (short)arg1);
- OS_NATIVE_EXIT(env, that, DeleteMenuItem_FUNC);
-}
-#endif
-
-#ifndef NO_DeleteMenuItems
-JNIEXPORT jint JNICALL OS_NATIVE(DeleteMenuItems)
- (JNIEnv *env, jclass that, jint arg0, jshort arg1, jint arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, DeleteMenuItems_FUNC);
- rc = (jint)DeleteMenuItems((MenuRef)arg0, (MenuItemIndex)arg1, (ItemCount)arg2);
- OS_NATIVE_EXIT(env, that, DeleteMenuItems_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_DeleteTSMDocument
-JNIEXPORT jint JNICALL OS_NATIVE(DeleteTSMDocument)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, DeleteTSMDocument_FUNC);
- rc = (jint)DeleteTSMDocument((TSMDocumentID)arg0);
- OS_NATIVE_EXIT(env, that, DeleteTSMDocument_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_DiffRgn
-JNIEXPORT void JNICALL OS_NATIVE(DiffRgn)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- OS_NATIVE_ENTER(env, that, DiffRgn_FUNC);
- DiffRgn((RgnHandle)arg0, (RgnHandle)arg1, (RgnHandle)arg2);
- OS_NATIVE_EXIT(env, that, DiffRgn_FUNC);
-}
-#endif
-
-#ifndef NO_DisableControl
-JNIEXPORT jint JNICALL OS_NATIVE(DisableControl)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, DisableControl_FUNC);
- rc = (jint)DisableControl((ControlRef)arg0);
- OS_NATIVE_EXIT(env, that, DisableControl_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_DisableMenuCommand
-JNIEXPORT void JNICALL OS_NATIVE(DisableMenuCommand)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- OS_NATIVE_ENTER(env, that, DisableMenuCommand_FUNC);
- DisableMenuCommand((MenuRef)arg0, (MenuCommand)arg1);
- OS_NATIVE_EXIT(env, that, DisableMenuCommand_FUNC);
-}
-#endif
-
-#ifndef NO_DisableMenuItem
-JNIEXPORT void JNICALL OS_NATIVE(DisableMenuItem)
- (JNIEnv *env, jclass that, jint arg0, jshort arg1)
-{
- OS_NATIVE_ENTER(env, that, DisableMenuItem_FUNC);
- DisableMenuItem((MenuRef)arg0, (MenuItemIndex)arg1);
- OS_NATIVE_EXIT(env, that, DisableMenuItem_FUNC);
-}
-#endif
-
-#ifndef NO_DisposeControl
-JNIEXPORT void JNICALL OS_NATIVE(DisposeControl)
- (JNIEnv *env, jclass that, jint arg0)
-{
- OS_NATIVE_ENTER(env, that, DisposeControl_FUNC);
- DisposeControl((ControlRef)arg0);
- OS_NATIVE_EXIT(env, that, DisposeControl_FUNC);
-}
-#endif
-
-#ifndef NO_DisposeDrag
-JNIEXPORT jint JNICALL OS_NATIVE(DisposeDrag)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, DisposeDrag_FUNC);
- rc = (jint)DisposeDrag((DragRef)arg0);
- OS_NATIVE_EXIT(env, that, DisposeDrag_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_DisposeGWorld
-JNIEXPORT void JNICALL OS_NATIVE(DisposeGWorld)
- (JNIEnv *env, jclass that, jint arg0)
-{
- OS_NATIVE_ENTER(env, that, DisposeGWorld_FUNC);
- DisposeGWorld((GWorldPtr)arg0);
- OS_NATIVE_EXIT(env, that, DisposeGWorld_FUNC);
-}
-#endif
-
-#ifndef NO_DisposeHandle
-JNIEXPORT void JNICALL OS_NATIVE(DisposeHandle)
- (JNIEnv *env, jclass that, jint arg0)
-{
- OS_NATIVE_ENTER(env, that, DisposeHandle_FUNC);
- DisposeHandle((Handle)arg0);
- OS_NATIVE_EXIT(env, that, DisposeHandle_FUNC);
-}
-#endif
-
-#ifndef NO_DisposeMenu
-JNIEXPORT void JNICALL OS_NATIVE(DisposeMenu)
- (JNIEnv *env, jclass that, jint arg0)
-{
- OS_NATIVE_ENTER(env, that, DisposeMenu_FUNC);
- DisposeMenu((MenuRef)arg0);
- OS_NATIVE_EXIT(env, that, DisposeMenu_FUNC);
-}
-#endif
-
-#ifndef NO_DisposePtr
-JNIEXPORT void JNICALL OS_NATIVE(DisposePtr)
- (JNIEnv *env, jclass that, jint arg0)
-{
- OS_NATIVE_ENTER(env, that, DisposePtr_FUNC);
- DisposePtr((Ptr)arg0);
- OS_NATIVE_EXIT(env, that, DisposePtr_FUNC);
-}
-#endif
-
-#ifndef NO_DisposeRgn
-JNIEXPORT void JNICALL OS_NATIVE(DisposeRgn)
- (JNIEnv *env, jclass that, jint arg0)
-{
- OS_NATIVE_ENTER(env, that, DisposeRgn_FUNC);
- DisposeRgn((RgnHandle)arg0);
- OS_NATIVE_EXIT(env, that, DisposeRgn_FUNC);
-}
-#endif
-
-#ifndef NO_DisposeTextToUnicodeInfo
-JNIEXPORT jint JNICALL OS_NATIVE(DisposeTextToUnicodeInfo)
- (JNIEnv *env, jclass that, jintArray arg0)
-{
- jint *lparg0=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, DisposeTextToUnicodeInfo_FUNC);
- if (arg0) if ((lparg0 = (*env)->GetIntArrayElements(env, arg0, NULL)) == NULL) goto fail;
- rc = (jint)DisposeTextToUnicodeInfo((TextToUnicodeInfo *)lparg0);
-fail:
- if (arg0 && lparg0) (*env)->ReleaseIntArrayElements(env, arg0, lparg0, 0);
- OS_NATIVE_EXIT(env, that, DisposeTextToUnicodeInfo_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_DisposeUnicodeToTextInfo
-JNIEXPORT jint JNICALL OS_NATIVE(DisposeUnicodeToTextInfo)
- (JNIEnv *env, jclass that, jintArray arg0)
-{
- jint *lparg0=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, DisposeUnicodeToTextInfo_FUNC);
- if (arg0) if ((lparg0 = (*env)->GetIntArrayElements(env, arg0, NULL)) == NULL) goto fail;
- rc = (jint)DisposeUnicodeToTextInfo((UnicodeToTextInfo *)lparg0);
-fail:
- if (arg0 && lparg0) (*env)->ReleaseIntArrayElements(env, arg0, lparg0, 0);
- OS_NATIVE_EXIT(env, that, DisposeUnicodeToTextInfo_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_DisposeWindow
-JNIEXPORT void JNICALL OS_NATIVE(DisposeWindow)
- (JNIEnv *env, jclass that, jint arg0)
-{
- OS_NATIVE_ENTER(env, that, DisposeWindow_FUNC);
- DisposeWindow((WindowRef)arg0);
- OS_NATIVE_EXIT(env, that, DisposeWindow_FUNC);
-}
-#endif
-
-#ifndef NO_DrawControlInCurrentPort
-JNIEXPORT void JNICALL OS_NATIVE(DrawControlInCurrentPort)
- (JNIEnv *env, jclass that, jint arg0)
-{
- OS_NATIVE_ENTER(env, that, DrawControlInCurrentPort_FUNC);
- DrawControlInCurrentPort((ControlRef)arg0);
- OS_NATIVE_EXIT(env, that, DrawControlInCurrentPort_FUNC);
-}
-#endif
-
-#ifndef NO_DrawMenuBar
-JNIEXPORT void JNICALL OS_NATIVE(DrawMenuBar)
- (JNIEnv *env, jclass that)
-{
- OS_NATIVE_ENTER(env, that, DrawMenuBar_FUNC);
- DrawMenuBar();
- OS_NATIVE_EXIT(env, that, DrawMenuBar_FUNC);
-}
-#endif
-
-#ifndef NO_DrawPicture
-JNIEXPORT void JNICALL OS_NATIVE(DrawPicture)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1)
-{
- Rect _arg1, *lparg1=NULL;
- OS_NATIVE_ENTER(env, that, DrawPicture_FUNC);
- if (arg1) if ((lparg1 = getRectFields(env, arg1, &_arg1)) == NULL) goto fail;
- DrawPicture((PicHandle)arg0, (const Rect *)lparg1);
-fail:
- if (arg1 && lparg1) setRectFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, DrawPicture_FUNC);
-}
-#endif
-
-#ifndef NO_DrawThemeButton
-JNIEXPORT jint JNICALL OS_NATIVE(DrawThemeButton)
- (JNIEnv *env, jclass that, jobject arg0, jshort arg1, jobject arg2, jobject arg3, jint arg4, jint arg5, jint arg6)
-{
- Rect _arg0, *lparg0=NULL;
- ThemeButtonDrawInfo _arg2, *lparg2=NULL;
- ThemeButtonDrawInfo _arg3, *lparg3=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, DrawThemeButton_FUNC);
- if (arg0) if ((lparg0 = getRectFields(env, arg0, &_arg0)) == NULL) goto fail;
- if (arg2) if ((lparg2 = getThemeButtonDrawInfoFields(env, arg2, &_arg2)) == NULL) goto fail;
- if (arg3) if ((lparg3 = getThemeButtonDrawInfoFields(env, arg3, &_arg3)) == NULL) goto fail;
- rc = (jint)DrawThemeButton((Rect *)lparg0, (ThemeButtonKind)arg1, (const ThemeButtonDrawInfo *)lparg2, (const ThemeButtonDrawInfo *)lparg3, (ThemeEraseUPP)arg4, (ThemeButtonDrawUPP)arg5, (UInt32)arg6);
-fail:
- if (arg3 && lparg3) setThemeButtonDrawInfoFields(env, arg3, lparg3);
- if (arg2 && lparg2) setThemeButtonDrawInfoFields(env, arg2, lparg2);
- if (arg0 && lparg0) setRectFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, DrawThemeButton_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_DrawThemeEditTextFrame
-JNIEXPORT jint JNICALL OS_NATIVE(DrawThemeEditTextFrame)
- (JNIEnv *env, jclass that, jobject arg0, jint arg1)
-{
- Rect _arg0, *lparg0=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, DrawThemeEditTextFrame_FUNC);
- if (arg0) if ((lparg0 = getRectFields(env, arg0, &_arg0)) == NULL) goto fail;
- rc = (jint)DrawThemeEditTextFrame((const Rect *)lparg0, (ThemeDrawState)arg1);
-fail:
- if (arg0 && lparg0) setRectFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, DrawThemeEditTextFrame_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_DrawThemeFocusRect
-JNIEXPORT jint JNICALL OS_NATIVE(DrawThemeFocusRect)
- (JNIEnv *env, jclass that, jobject arg0, jboolean arg1)
-{
- Rect _arg0, *lparg0=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, DrawThemeFocusRect_FUNC);
- if (arg0) if ((lparg0 = getRectFields(env, arg0, &_arg0)) == NULL) goto fail;
- rc = (jint)DrawThemeFocusRect((const Rect *)lparg0, (Boolean)arg1);
-fail:
- if (arg0 && lparg0) setRectFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, DrawThemeFocusRect_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_DrawThemePopupArrow
-JNIEXPORT jint JNICALL OS_NATIVE(DrawThemePopupArrow)
- (JNIEnv *env, jclass that, jobject arg0, jshort arg1, jshort arg2, jint arg3, jint arg4, jint arg5)
-{
- Rect _arg0, *lparg0=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, DrawThemePopupArrow_FUNC);
- if (arg0) if ((lparg0 = getRectFields(env, arg0, &_arg0)) == NULL) goto fail;
- rc = (jint)DrawThemePopupArrow(lparg0, (ThemeArrowOrientation)arg1, (ThemePopupArrowSize)arg2, (ThemeDrawState)arg3, (ThemeEraseUPP)arg4, (UInt32)arg5);
-fail:
- if (arg0 && lparg0) setRectFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, DrawThemePopupArrow_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_DrawThemeSeparator
-JNIEXPORT jint JNICALL OS_NATIVE(DrawThemeSeparator)
- (JNIEnv *env, jclass that, jobject arg0, jint arg1)
-{
- Rect _arg0, *lparg0=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, DrawThemeSeparator_FUNC);
- if (arg0) if ((lparg0 = getRectFields(env, arg0, &_arg0)) == NULL) goto fail;
- rc = (jint)DrawThemeSeparator((const Rect *)lparg0, (ThemeDrawState)arg1);
-fail:
- if (arg0 && lparg0) setRectFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, DrawThemeSeparator_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_DrawThemeTextBox
-JNIEXPORT jint JNICALL OS_NATIVE(DrawThemeTextBox)
- (JNIEnv *env, jclass that, jint arg0, jshort arg1, jint arg2, jboolean arg3, jobject arg4, jshort arg5, jint arg6)
-{
- Rect _arg4, *lparg4=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, DrawThemeTextBox_FUNC);
- if (arg4) if ((lparg4 = getRectFields(env, arg4, &_arg4)) == NULL) goto fail;
- rc = (jint)DrawThemeTextBox((CFStringRef)arg0, (ThemeFontID)arg1, (ThemeDrawState)arg2, (Boolean)arg3, (const Rect *)lparg4, (SInt16)arg5, (void *)arg6);
-fail:
- if (arg4 && lparg4) setRectFields(env, arg4, lparg4);
- OS_NATIVE_EXIT(env, that, DrawThemeTextBox_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_EmbedControl
-JNIEXPORT jint JNICALL OS_NATIVE(EmbedControl)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, EmbedControl_FUNC);
- rc = (jint)EmbedControl((ControlRef)arg0, (ControlRef)arg1);
- OS_NATIVE_EXIT(env, that, EmbedControl_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_EmptyRect
-JNIEXPORT jboolean JNICALL OS_NATIVE(EmptyRect)
- (JNIEnv *env, jclass that, jobject arg0)
-{
- Rect _arg0, *lparg0=NULL;
- jboolean rc = 0;
- OS_NATIVE_ENTER(env, that, EmptyRect_FUNC);
- if (arg0) if ((lparg0 = getRectFields(env, arg0, &_arg0)) == NULL) goto fail;
- rc = (jboolean)EmptyRect((const Rect *)lparg0);
-fail:
- if (arg0 && lparg0) setRectFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, EmptyRect_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_EmptyRgn
-JNIEXPORT jboolean JNICALL OS_NATIVE(EmptyRgn)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jboolean rc = 0;
- OS_NATIVE_ENTER(env, that, EmptyRgn_FUNC);
- rc = (jboolean)EmptyRgn((RgnHandle)arg0);
- OS_NATIVE_EXIT(env, that, EmptyRgn_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_EnableControl
-JNIEXPORT jint JNICALL OS_NATIVE(EnableControl)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, EnableControl_FUNC);
- rc = (jint)EnableControl((ControlRef)arg0);
- OS_NATIVE_EXIT(env, that, EnableControl_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_EnableMenuCommand
-JNIEXPORT void JNICALL OS_NATIVE(EnableMenuCommand)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- OS_NATIVE_ENTER(env, that, EnableMenuCommand_FUNC);
- EnableMenuCommand((MenuRef)arg0, (MenuCommand)arg1);
- OS_NATIVE_EXIT(env, that, EnableMenuCommand_FUNC);
-}
-#endif
-
-#ifndef NO_EnableMenuItem
-JNIEXPORT void JNICALL OS_NATIVE(EnableMenuItem)
- (JNIEnv *env, jclass that, jint arg0, jshort arg1)
-{
- OS_NATIVE_ENTER(env, that, EnableMenuItem_FUNC);
- EnableMenuItem((MenuRef)arg0, (MenuItemIndex)arg1);
- OS_NATIVE_EXIT(env, that, EnableMenuItem_FUNC);
-}
-#endif
-
-#ifndef NO_EraseRect
-JNIEXPORT void JNICALL OS_NATIVE(EraseRect)
- (JNIEnv *env, jclass that, jobject arg0)
-{
- Rect _arg0, *lparg0=NULL;
- OS_NATIVE_ENTER(env, that, EraseRect_FUNC);
- if (arg0) if ((lparg0 = getRectFields(env, arg0, &_arg0)) == NULL) goto fail;
- EraseRect((const Rect *)lparg0);
-fail:
- if (arg0 && lparg0) setRectFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, EraseRect_FUNC);
-}
-#endif
-
-#ifndef NO_FMGetATSFontRefFromFont
-JNIEXPORT jint JNICALL OS_NATIVE(FMGetATSFontRefFromFont)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, FMGetATSFontRefFromFont_FUNC);
- rc = (jint)FMGetATSFontRefFromFont(arg0);
- OS_NATIVE_EXIT(env, that, FMGetATSFontRefFromFont_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_FMGetFontFamilyFromName
-JNIEXPORT jshort JNICALL OS_NATIVE(FMGetFontFamilyFromName)
- (JNIEnv *env, jclass that, jbyteArray arg0)
-{
- jbyte *lparg0=NULL;
- jshort rc = 0;
- OS_NATIVE_ENTER(env, that, FMGetFontFamilyFromName_FUNC);
- if (arg0) if ((lparg0 = (*env)->GetByteArrayElements(env, arg0, NULL)) == NULL) goto fail;
- rc = (jshort)FMGetFontFamilyFromName((ConstStr255Param)lparg0);
-fail:
- if (arg0 && lparg0) (*env)->ReleaseByteArrayElements(env, arg0, lparg0, 0);
- OS_NATIVE_EXIT(env, that, FMGetFontFamilyFromName_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_FMGetFontFamilyInstanceFromFont
-JNIEXPORT jint JNICALL OS_NATIVE(FMGetFontFamilyInstanceFromFont)
- (JNIEnv *env, jclass that, jint arg0, jshortArray arg1, jshortArray arg2)
-{
- jshort *lparg1=NULL;
- jshort *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, FMGetFontFamilyInstanceFromFont_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetShortArrayElements(env, arg1, NULL)) == NULL) goto fail;
- if (arg2) if ((lparg2 = (*env)->GetShortArrayElements(env, arg2, NULL)) == NULL) goto fail;
- rc = (jint)FMGetFontFamilyInstanceFromFont((FMFont)arg0, (FMFontFamily *)lparg1, (FMFontStyle *)lparg2);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseShortArrayElements(env, arg2, lparg2, 0);
- if (arg1 && lparg1) (*env)->ReleaseShortArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, FMGetFontFamilyInstanceFromFont_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_FMGetFontFromATSFontRef
-JNIEXPORT jint JNICALL OS_NATIVE(FMGetFontFromATSFontRef)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, FMGetFontFromATSFontRef_FUNC);
- rc = (jint)FMGetFontFromATSFontRef(arg0);
- OS_NATIVE_EXIT(env, that, FMGetFontFromATSFontRef_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_FMGetFontFromFontFamilyInstance
-JNIEXPORT jint JNICALL OS_NATIVE(FMGetFontFromFontFamilyInstance)
- (JNIEnv *env, jclass that, jshort arg0, jshort arg1, jintArray arg2, jshortArray arg3)
-{
- jint *lparg2=NULL;
- jshort *lparg3=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, FMGetFontFromFontFamilyInstance_FUNC);
- if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail;
- if (arg3) if ((lparg3 = (*env)->GetShortArrayElements(env, arg3, NULL)) == NULL) goto fail;
- rc = (jint)FMGetFontFromFontFamilyInstance((FMFontFamily)arg0, (FMFontStyle)arg1, (FMFont *)lparg2, (FMFontStyle *)lparg3);
-fail:
- if (arg3 && lparg3) (*env)->ReleaseShortArrayElements(env, arg3, lparg3, 0);
- if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- OS_NATIVE_EXIT(env, that, FMGetFontFromFontFamilyInstance_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_FPIsFontPanelVisible
-JNIEXPORT jboolean JNICALL OS_NATIVE(FPIsFontPanelVisible)
- (JNIEnv *env, jclass that)
-{
- jboolean rc = 0;
- OS_NATIVE_ENTER(env, that, FPIsFontPanelVisible_FUNC);
- rc = (jboolean)FPIsFontPanelVisible();
- OS_NATIVE_EXIT(env, that, FPIsFontPanelVisible_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_FPShowHideFontPanel
-JNIEXPORT jint JNICALL OS_NATIVE(FPShowHideFontPanel)
- (JNIEnv *env, jclass that)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, FPShowHideFontPanel_FUNC);
- rc = (jint)FPShowHideFontPanel();
- OS_NATIVE_EXIT(env, that, FPShowHideFontPanel_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_FSGetCatalogInfo
-JNIEXPORT jint JNICALL OS_NATIVE(FSGetCatalogInfo)
- (JNIEnv *env, jclass that, jbyteArray arg0, jint arg1, jbyteArray arg2, jbyteArray arg3, jbyteArray arg4, jbyteArray arg5)
-{
- jbyte *lparg0=NULL;
- jbyte *lparg2=NULL;
- jbyte *lparg3=NULL;
- jbyte *lparg4=NULL;
- jbyte *lparg5=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, FSGetCatalogInfo_FUNC);
- if (arg0) if ((lparg0 = (*env)->GetByteArrayElements(env, arg0, NULL)) == NULL) goto fail;
- if (arg2) if ((lparg2 = (*env)->GetByteArrayElements(env, arg2, NULL)) == NULL) goto fail;
- if (arg3) if ((lparg3 = (*env)->GetByteArrayElements(env, arg3, NULL)) == NULL) goto fail;
- if (arg4) if ((lparg4 = (*env)->GetByteArrayElements(env, arg4, NULL)) == NULL) goto fail;
- if (arg5) if ((lparg5 = (*env)->GetByteArrayElements(env, arg5, NULL)) == NULL) goto fail;
- rc = (jint)FSGetCatalogInfo((FSRef *)lparg0, (FSCatalogInfoBitmap)arg1, (FSCatalogInfo *)lparg2, (HFSUniStr255 *)lparg3, (FSSpec *)lparg4, (FSRef *)lparg5);
-fail:
- if (arg5 && lparg5) (*env)->ReleaseByteArrayElements(env, arg5, lparg5, 0);
- if (arg4 && lparg4) (*env)->ReleaseByteArrayElements(env, arg4, lparg4, 0);
- if (arg3 && lparg3) (*env)->ReleaseByteArrayElements(env, arg3, lparg3, 0);
- if (arg2 && lparg2) (*env)->ReleaseByteArrayElements(env, arg2, lparg2, 0);
- if (arg0 && lparg0) (*env)->ReleaseByteArrayElements(env, arg0, lparg0, 0);
- OS_NATIVE_EXIT(env, that, FSGetCatalogInfo_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_FSpGetFInfo
-JNIEXPORT jint JNICALL OS_NATIVE(FSpGetFInfo)
- (JNIEnv *env, jclass that, jbyteArray arg0, jbyteArray arg1)
-{
- jbyte *lparg0=NULL;
- jbyte *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, FSpGetFInfo_FUNC);
- if (arg0) if ((lparg0 = (*env)->GetByteArrayElements(env, arg0, NULL)) == NULL) goto fail;
- if (arg1) if ((lparg1 = (*env)->GetByteArrayElements(env, arg1, NULL)) == NULL) goto fail;
- rc = (jint)FSpGetFInfo((FSSpec *)lparg0, (FInfo *)lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseByteArrayElements(env, arg1, lparg1, 0);
- if (arg0 && lparg0) (*env)->ReleaseByteArrayElements(env, arg0, lparg0, 0);
- OS_NATIVE_EXIT(env, that, FSpGetFInfo_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_FSpMakeFSRef
-JNIEXPORT jint JNICALL OS_NATIVE(FSpMakeFSRef)
- (JNIEnv *env, jclass that, jbyteArray arg0, jbyteArray arg1)
-{
- jbyte *lparg0=NULL;
- jbyte *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, FSpMakeFSRef_FUNC);
- if (arg0) if ((lparg0 = (*env)->GetByteArrayElements(env, arg0, NULL)) == NULL) goto fail;
- if (arg1) if ((lparg1 = (*env)->GetByteArrayElements(env, arg1, NULL)) == NULL) goto fail;
- rc = (jint)FSpMakeFSRef((const FSSpec *)lparg0, (FSRef *)lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseByteArrayElements(env, arg1, lparg1, 0);
- if (arg0 && lparg0) (*env)->ReleaseByteArrayElements(env, arg0, lparg0, 0);
- OS_NATIVE_EXIT(env, that, FSpMakeFSRef_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_FindSpecificEventInQueue
-JNIEXPORT jint JNICALL OS_NATIVE(FindSpecificEventInQueue)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, FindSpecificEventInQueue_FUNC);
- rc = (jint)FindSpecificEventInQueue((EventQueueRef)arg0, (EventComparatorUPP)arg1, (void *)arg2);
- OS_NATIVE_EXIT(env, that, FindSpecificEventInQueue_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_FindWindow
-JNIEXPORT jshort JNICALL OS_NATIVE(FindWindow)
- (JNIEnv *env, jclass that, jobject arg0, jintArray arg1)
-{
- Point _arg0, *lparg0=NULL;
- jint *lparg1=NULL;
- jshort rc = 0;
- OS_NATIVE_ENTER(env, that, FindWindow_FUNC);
- if (arg0) if ((lparg0 = getPointFields(env, arg0, &_arg0)) == NULL) goto fail;
- if (arg1) if ((lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL)) == NULL) goto fail;
- rc = (jshort)FindWindow(*(Point *)lparg0, (WindowRef *)lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- if (arg0 && lparg0) setPointFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, FindWindow_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_Fix2Long
-JNIEXPORT jint JNICALL OS_NATIVE(Fix2Long)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, Fix2Long_FUNC);
- rc = (jint)Fix2Long(arg0);
- OS_NATIVE_EXIT(env, that, Fix2Long_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_Fix2X
-JNIEXPORT jdouble JNICALL OS_NATIVE(Fix2X)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jdouble rc = 0;
- OS_NATIVE_ENTER(env, that, Fix2X_FUNC);
- rc = (jdouble)Fix2X((Fixed)arg0);
- OS_NATIVE_EXIT(env, that, Fix2X_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_FixTSMDocument
-JNIEXPORT jint JNICALL OS_NATIVE(FixTSMDocument)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, FixTSMDocument_FUNC);
- rc = (jint)FixTSMDocument((TSMDocumentID)arg0);
- OS_NATIVE_EXIT(env, that, FixTSMDocument_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_FrontWindow
-JNIEXPORT jint JNICALL OS_NATIVE(FrontWindow)
- (JNIEnv *env, jclass that)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, FrontWindow_FUNC);
- rc = (jint)FrontWindow();
- OS_NATIVE_EXIT(env, that, FrontWindow_FUNC);
- return rc;
-}
-#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((OSType)arg0, (long *)lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, Gestalt_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetApplicationEventTarget
-JNIEXPORT jint JNICALL OS_NATIVE(GetApplicationEventTarget)
- (JNIEnv *env, jclass that)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetApplicationEventTarget_FUNC);
- rc = (jint)GetApplicationEventTarget();
- OS_NATIVE_EXIT(env, that, GetApplicationEventTarget_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetAvailableWindowAttributes
-JNIEXPORT jint JNICALL OS_NATIVE(GetAvailableWindowAttributes)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetAvailableWindowAttributes_FUNC);
- rc = (jint)GetAvailableWindowAttributes((WindowClass)arg0);
- OS_NATIVE_EXIT(env, that, GetAvailableWindowAttributes_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetAvailableWindowPositioningBounds
-JNIEXPORT jint JNICALL OS_NATIVE(GetAvailableWindowPositioningBounds)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1)
-{
- Rect _arg1, *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetAvailableWindowPositioningBounds_FUNC);
- if (arg1) if ((lparg1 = getRectFields(env, arg1, &_arg1)) == NULL) goto fail;
- rc = (jint)GetAvailableWindowPositioningBounds((GDHandle)arg0, (Rect *)lparg1);
-fail:
- if (arg1 && lparg1) setRectFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, GetAvailableWindowPositioningBounds_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetBestControlRect
-JNIEXPORT jint JNICALL OS_NATIVE(GetBestControlRect)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1, jshortArray arg2)
-{
- Rect _arg1, *lparg1=NULL;
- jshort *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetBestControlRect_FUNC);
- if (arg1) if ((lparg1 = getRectFields(env, arg1, &_arg1)) == NULL) goto fail;
- if (arg2) if ((lparg2 = (*env)->GetShortArrayElements(env, arg2, NULL)) == NULL) goto fail;
- rc = (jint)GetBestControlRect((ControlRef)arg0, (Rect *)lparg1, (SInt16 *)lparg2);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseShortArrayElements(env, arg2, lparg2, 0);
- if (arg1 && lparg1) setRectFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, GetBestControlRect_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetCFRunLoopFromEventLoop
-JNIEXPORT jint JNICALL OS_NATIVE(GetCFRunLoopFromEventLoop)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetCFRunLoopFromEventLoop_FUNC);
- rc = (jint)GetCFRunLoopFromEventLoop((EventLoopRef)arg0);
- OS_NATIVE_EXIT(env, that, GetCFRunLoopFromEventLoop_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetCaretTime
-JNIEXPORT jint JNICALL OS_NATIVE(GetCaretTime)
- (JNIEnv *env, jclass that)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetCaretTime_FUNC);
- rc = (jint)GetCaretTime();
- OS_NATIVE_EXIT(env, that, GetCaretTime_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetClip
-JNIEXPORT void JNICALL OS_NATIVE(GetClip)
- (JNIEnv *env, jclass that, jint arg0)
-{
- OS_NATIVE_ENTER(env, that, GetClip_FUNC);
- GetClip((RgnHandle)arg0);
- OS_NATIVE_EXIT(env, that, GetClip_FUNC);
-}
-#endif
-
-#ifndef NO_GetControl32BitMaximum
-JNIEXPORT jint JNICALL OS_NATIVE(GetControl32BitMaximum)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetControl32BitMaximum_FUNC);
- rc = (jint)GetControl32BitMaximum((ControlRef)arg0);
- OS_NATIVE_EXIT(env, that, GetControl32BitMaximum_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetControl32BitMinimum
-JNIEXPORT jint JNICALL OS_NATIVE(GetControl32BitMinimum)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetControl32BitMinimum_FUNC);
- rc = (jint)GetControl32BitMinimum((ControlRef)arg0);
- OS_NATIVE_EXIT(env, that, GetControl32BitMinimum_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetControl32BitValue
-JNIEXPORT jint JNICALL OS_NATIVE(GetControl32BitValue)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetControl32BitValue_FUNC);
- rc = (jint)GetControl32BitValue((ControlRef)arg0);
- OS_NATIVE_EXIT(env, that, GetControl32BitValue_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetControlAction
-JNIEXPORT jint JNICALL OS_NATIVE(GetControlAction)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetControlAction_FUNC);
- rc = (jint)GetControlAction((ControlRef)arg0);
- OS_NATIVE_EXIT(env, that, GetControlAction_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetControlBounds
-JNIEXPORT void JNICALL OS_NATIVE(GetControlBounds)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1)
-{
- Rect _arg1, *lparg1=NULL;
- OS_NATIVE_ENTER(env, that, GetControlBounds_FUNC);
- if (arg1) if ((lparg1 = getRectFields(env, arg1, &_arg1)) == NULL) goto fail;
- GetControlBounds((ControlRef)arg0, (Rect *)lparg1);
-fail:
- if (arg1 && lparg1) setRectFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, GetControlBounds_FUNC);
-}
-#endif
-
-#ifndef NO_GetControlData__ISIILorg_eclipse_swt_internal_carbon_ControlEditTextSelectionRec_2_3I
-JNIEXPORT jint JNICALL OS_NATIVE(GetControlData__ISIILorg_eclipse_swt_internal_carbon_ControlEditTextSelectionRec_2_3I)
- (JNIEnv *env, jclass that, jint arg0, jshort arg1, jint arg2, jint arg3, jobject arg4, jintArray arg5)
-{
- ControlEditTextSelectionRec _arg4, *lparg4=NULL;
- jint *lparg5=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetControlData__ISIILorg_eclipse_swt_internal_carbon_ControlEditTextSelectionRec_2_3I_FUNC);
- if (arg4) if ((lparg4 = getControlEditTextSelectionRecFields(env, arg4, &_arg4)) == NULL) goto fail;
- if (arg5) if ((lparg5 = (*env)->GetIntArrayElements(env, arg5, NULL)) == NULL) goto fail;
- rc = (jint)GetControlData((ControlRef)arg0, (ControlPartCode)arg1, (ResType)arg2, (Size)arg3, (void *)lparg4, lparg5);
-fail:
- if (arg5 && lparg5) (*env)->ReleaseIntArrayElements(env, arg5, lparg5, 0);
- if (arg4 && lparg4) setControlEditTextSelectionRecFields(env, arg4, lparg4);
- OS_NATIVE_EXIT(env, that, GetControlData__ISIILorg_eclipse_swt_internal_carbon_ControlEditTextSelectionRec_2_3I_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetControlData__ISIILorg_eclipse_swt_internal_carbon_ControlFontStyleRec_2_3I
-JNIEXPORT jint JNICALL OS_NATIVE(GetControlData__ISIILorg_eclipse_swt_internal_carbon_ControlFontStyleRec_2_3I)
- (JNIEnv *env, jclass that, jint arg0, jshort arg1, jint arg2, jint arg3, jobject arg4, jintArray arg5)
-{
- ControlFontStyleRec _arg4, *lparg4=NULL;
- jint *lparg5=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetControlData__ISIILorg_eclipse_swt_internal_carbon_ControlFontStyleRec_2_3I_FUNC);
- if (arg4) if ((lparg4 = getControlFontStyleRecFields(env, arg4, &_arg4)) == NULL) goto fail;
- if (arg5) if ((lparg5 = (*env)->GetIntArrayElements(env, arg5, NULL)) == NULL) goto fail;
- rc = (jint)GetControlData((ControlRef)arg0, (ControlPartCode)arg1, (ResType)arg2, (Size)arg3, (void *)lparg4, (Size *)lparg5);
-fail:
- if (arg5 && lparg5) (*env)->ReleaseIntArrayElements(env, arg5, lparg5, 0);
- if (arg4 && lparg4) setControlFontStyleRecFields(env, arg4, lparg4);
- OS_NATIVE_EXIT(env, that, GetControlData__ISIILorg_eclipse_swt_internal_carbon_ControlFontStyleRec_2_3I_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetControlData__ISIILorg_eclipse_swt_internal_carbon_LongDateRec_2_3I
-JNIEXPORT jint JNICALL OS_NATIVE(GetControlData__ISIILorg_eclipse_swt_internal_carbon_LongDateRec_2_3I)
- (JNIEnv *env, jclass that, jint arg0, jshort arg1, jint arg2, jint arg3, jobject arg4, jintArray arg5)
-{
- LongDateRec _arg4, *lparg4=NULL;
- jint *lparg5=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetControlData__ISIILorg_eclipse_swt_internal_carbon_LongDateRec_2_3I_FUNC);
- if (arg4) if ((lparg4 = getLongDateRecFields(env, arg4, &_arg4)) == NULL) goto fail;
- if (arg5) if ((lparg5 = (*env)->GetIntArrayElements(env, arg5, NULL)) == NULL) goto fail;
- rc = (jint)GetControlData((ControlRef)arg0, (ControlPartCode)arg1, (ResType)arg2, (Size)arg3, (void *)lparg4, (Size *)lparg5);
-fail:
- if (arg5 && lparg5) (*env)->ReleaseIntArrayElements(env, arg5, lparg5, 0);
- if (arg4 && lparg4) setLongDateRecFields(env, arg4, lparg4);
- OS_NATIVE_EXIT(env, that, GetControlData__ISIILorg_eclipse_swt_internal_carbon_LongDateRec_2_3I_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetControlData__ISIILorg_eclipse_swt_internal_carbon_Rect_2_3I
-JNIEXPORT jint JNICALL OS_NATIVE(GetControlData__ISIILorg_eclipse_swt_internal_carbon_Rect_2_3I)
- (JNIEnv *env, jclass that, jint arg0, jshort arg1, jint arg2, jint arg3, jobject arg4, jintArray arg5)
-{
- Rect _arg4, *lparg4=NULL;
- jint *lparg5=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetControlData__ISIILorg_eclipse_swt_internal_carbon_Rect_2_3I_FUNC);
- if (arg4) if ((lparg4 = getRectFields(env, arg4, &_arg4)) == NULL) goto fail;
- if (arg5) if ((lparg5 = (*env)->GetIntArrayElements(env, arg5, NULL)) == NULL) goto fail;
- rc = (jint)GetControlData((ControlRef)arg0, (ControlPartCode)arg1, (ResType)arg2, (Size)arg3, (void *)lparg4, (Size *)lparg5);
-fail:
- if (arg5 && lparg5) (*env)->ReleaseIntArrayElements(env, arg5, lparg5, 0);
- if (arg4 && lparg4) setRectFields(env, arg4, lparg4);
- OS_NATIVE_EXIT(env, that, GetControlData__ISIILorg_eclipse_swt_internal_carbon_Rect_2_3I_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetControlData__ISII_3B_3I
-JNIEXPORT jint JNICALL OS_NATIVE(GetControlData__ISII_3B_3I)
- (JNIEnv *env, jclass that, jint arg0, jshort arg1, jint arg2, jint arg3, jbyteArray arg4, jintArray arg5)
-{
- jbyte *lparg4=NULL;
- jint *lparg5=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetControlData__ISII_3B_3I_FUNC);
- if (arg4) if ((lparg4 = (*env)->GetByteArrayElements(env, arg4, NULL)) == NULL) goto fail;
- if (arg5) if ((lparg5 = (*env)->GetIntArrayElements(env, arg5, NULL)) == NULL) goto fail;
- rc = (jint)GetControlData((ControlRef)arg0, (ControlPartCode)arg1, (ResType)arg2, (Size)arg3, (void *)lparg4, (Size *)lparg5);
-fail:
- if (arg5 && lparg5) (*env)->ReleaseIntArrayElements(env, arg5, lparg5, 0);
- if (arg4 && lparg4) (*env)->ReleaseByteArrayElements(env, arg4, lparg4, 0);
- OS_NATIVE_EXIT(env, that, GetControlData__ISII_3B_3I_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetControlData__ISII_3I_3I
-JNIEXPORT jint JNICALL OS_NATIVE(GetControlData__ISII_3I_3I)
- (JNIEnv *env, jclass that, jint arg0, jshort arg1, jint arg2, jint arg3, jintArray arg4, jintArray arg5)
-{
- jint *lparg4=NULL;
- jint *lparg5=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetControlData__ISII_3I_3I_FUNC);
- if (arg4) if ((lparg4 = (*env)->GetIntArrayElements(env, arg4, NULL)) == NULL) goto fail;
- if (arg5) if ((lparg5 = (*env)->GetIntArrayElements(env, arg5, NULL)) == NULL) goto fail;
- rc = (jint)GetControlData((ControlRef)arg0, (ControlPartCode)arg1, (ResType)arg2, (Size)arg3, (void *)lparg4, (Size *)lparg5);
-fail:
- if (arg5 && lparg5) (*env)->ReleaseIntArrayElements(env, arg5, lparg5, 0);
- if (arg4 && lparg4) (*env)->ReleaseIntArrayElements(env, arg4, lparg4, 0);
- OS_NATIVE_EXIT(env, that, GetControlData__ISII_3I_3I_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetControlData__ISII_3S_3I
-JNIEXPORT jint JNICALL OS_NATIVE(GetControlData__ISII_3S_3I)
- (JNIEnv *env, jclass that, jint arg0, jshort arg1, jint arg2, jint arg3, jshortArray arg4, jintArray arg5)
-{
- jshort *lparg4=NULL;
- jint *lparg5=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetControlData__ISII_3S_3I_FUNC);
- if (arg4) if ((lparg4 = (*env)->GetShortArrayElements(env, arg4, NULL)) == NULL) goto fail;
- if (arg5) if ((lparg5 = (*env)->GetIntArrayElements(env, arg5, NULL)) == NULL) goto fail;
- rc = (jint)GetControlData((ControlRef)arg0, (ControlPartCode)arg1, (ResType)arg2, (Size)arg3, (void *)lparg4, (Size *)lparg5);
-fail:
- if (arg5 && lparg5) (*env)->ReleaseIntArrayElements(env, arg5, lparg5, 0);
- if (arg4 && lparg4) (*env)->ReleaseShortArrayElements(env, arg4, lparg4, 0);
- OS_NATIVE_EXIT(env, that, GetControlData__ISII_3S_3I_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetControlEventTarget
-JNIEXPORT jint JNICALL OS_NATIVE(GetControlEventTarget)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetControlEventTarget_FUNC);
- rc = (jint)GetControlEventTarget((ControlRef)arg0);
- OS_NATIVE_EXIT(env, that, GetControlEventTarget_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetControlFeatures
-JNIEXPORT jint JNICALL OS_NATIVE(GetControlFeatures)
- (JNIEnv *env, jclass that, jint arg0, jintArray arg1)
-{
- jint *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetControlFeatures_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL)) == NULL) goto fail;
- rc = (jint)GetControlFeatures((ControlRef)arg0, (UInt32 *)lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, GetControlFeatures_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetControlKind
-JNIEXPORT jint JNICALL OS_NATIVE(GetControlKind)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1)
-{
- ControlKind _arg1, *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetControlKind_FUNC);
- if (arg1) if ((lparg1 = getControlKindFields(env, arg1, &_arg1)) == NULL) goto fail;
- rc = (jint)GetControlKind((ControlRef)arg0, lparg1);
-fail:
- if (arg1 && lparg1) setControlKindFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, GetControlKind_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetControlOwner
-JNIEXPORT jint JNICALL OS_NATIVE(GetControlOwner)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetControlOwner_FUNC);
- rc = (jint)GetControlOwner((ControlRef)arg0);
- OS_NATIVE_EXIT(env, that, GetControlOwner_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetControlProperty
-JNIEXPORT jint JNICALL OS_NATIVE(GetControlProperty)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jintArray arg4, jintArray arg5)
-{
- jint *lparg4=NULL;
- jint *lparg5=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetControlProperty_FUNC);
- if (arg4) if ((lparg4 = (*env)->GetIntArrayElements(env, arg4, NULL)) == NULL) goto fail;
- if (arg5) if ((lparg5 = (*env)->GetIntArrayElements(env, arg5, NULL)) == NULL) goto fail;
- rc = (jint)GetControlProperty((ControlRef)arg0, arg1, arg2, arg3, (UInt32 *)lparg4, (void *)lparg5);
-fail:
- if (arg5 && lparg5) (*env)->ReleaseIntArrayElements(env, arg5, lparg5, 0);
- if (arg4 && lparg4) (*env)->ReleaseIntArrayElements(env, arg4, lparg4, 0);
- OS_NATIVE_EXIT(env, that, GetControlProperty_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetControlReference
-JNIEXPORT jint JNICALL OS_NATIVE(GetControlReference)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetControlReference_FUNC);
- rc = (jint)GetControlReference((ControlRef)arg0);
- OS_NATIVE_EXIT(env, that, GetControlReference_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetControlRegion
-JNIEXPORT jint JNICALL OS_NATIVE(GetControlRegion)
- (JNIEnv *env, jclass that, jint arg0, jshort arg1, jint arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetControlRegion_FUNC);
- rc = (jint)GetControlRegion((ControlRef)arg0, (ControlPartCode)arg1, (RgnHandle)arg2);
- OS_NATIVE_EXIT(env, that, GetControlRegion_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetControlValue
-JNIEXPORT jshort JNICALL OS_NATIVE(GetControlValue)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jshort rc = 0;
- OS_NATIVE_ENTER(env, that, GetControlValue_FUNC);
- rc = (jshort)GetControlValue((ControlRef)arg0);
- OS_NATIVE_EXIT(env, that, GetControlValue_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetControlViewSize
-JNIEXPORT jint JNICALL OS_NATIVE(GetControlViewSize)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetControlViewSize_FUNC);
- rc = (jint)GetControlViewSize((ControlRef)arg0);
- OS_NATIVE_EXIT(env, that, GetControlViewSize_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetCurrentEventButtonState
-JNIEXPORT jint JNICALL OS_NATIVE(GetCurrentEventButtonState)
- (JNIEnv *env, jclass that)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetCurrentEventButtonState_FUNC);
- rc = (jint)GetCurrentEventButtonState();
- OS_NATIVE_EXIT(env, that, GetCurrentEventButtonState_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetCurrentEventKeyModifiers
-JNIEXPORT jint JNICALL OS_NATIVE(GetCurrentEventKeyModifiers)
- (JNIEnv *env, jclass that)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetCurrentEventKeyModifiers_FUNC);
- rc = (jint)GetCurrentEventKeyModifiers();
- OS_NATIVE_EXIT(env, that, GetCurrentEventKeyModifiers_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetCurrentEventLoop
-JNIEXPORT jint JNICALL OS_NATIVE(GetCurrentEventLoop)
- (JNIEnv *env, jclass that)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetCurrentEventLoop_FUNC);
- rc = (jint)GetCurrentEventLoop();
- OS_NATIVE_EXIT(env, that, GetCurrentEventLoop_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetCurrentEventQueue
-JNIEXPORT jint JNICALL OS_NATIVE(GetCurrentEventQueue)
- (JNIEnv *env, jclass that)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetCurrentEventQueue_FUNC);
- rc = (jint)GetCurrentEventQueue();
- OS_NATIVE_EXIT(env, that, GetCurrentEventQueue_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetCurrentProcess
-JNIEXPORT jint JNICALL OS_NATIVE(GetCurrentProcess)
- (JNIEnv *env, jclass that, jintArray arg0)
-{
- jint *lparg0=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetCurrentProcess_FUNC);
- if (arg0) if ((lparg0 = (*env)->GetIntArrayElements(env, arg0, NULL)) == NULL) goto fail;
- rc = (jint)GetCurrentProcess((ProcessSerialNumber *)lparg0);
-fail:
- if (arg0 && lparg0) (*env)->ReleaseIntArrayElements(env, arg0, lparg0, 0);
- OS_NATIVE_EXIT(env, that, GetCurrentProcess_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetCurrentScrap
-JNIEXPORT jint JNICALL OS_NATIVE(GetCurrentScrap)
- (JNIEnv *env, jclass that, jintArray arg0)
-{
- jint *lparg0=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetCurrentScrap_FUNC);
- if (arg0) if ((lparg0 = (*env)->GetIntArrayElements(env, arg0, NULL)) == NULL) goto fail;
- rc = (jint)GetCurrentScrap((ScrapRef *)lparg0);
-fail:
- if (arg0 && lparg0) (*env)->ReleaseIntArrayElements(env, arg0, lparg0, 0);
- OS_NATIVE_EXIT(env, that, GetCurrentScrap_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetDataBrowserCallbacks
-JNIEXPORT jint JNICALL OS_NATIVE(GetDataBrowserCallbacks)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1)
-{
- DataBrowserCallbacks _arg1, *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetDataBrowserCallbacks_FUNC);
- if (arg1) if ((lparg1 = getDataBrowserCallbacksFields(env, arg1, &_arg1)) == NULL) goto fail;
- rc = (jint)GetDataBrowserCallbacks((ControlRef)arg0, (DataBrowserCallbacks *)lparg1);
-fail:
- if (arg1 && lparg1) setDataBrowserCallbacksFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, GetDataBrowserCallbacks_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetDataBrowserHasScrollBars
-JNIEXPORT jint JNICALL OS_NATIVE(GetDataBrowserHasScrollBars)
- (JNIEnv *env, jclass that, jint arg0, jbooleanArray arg1, jbooleanArray arg2)
-{
- jboolean *lparg1=NULL;
- jboolean *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetDataBrowserHasScrollBars_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetBooleanArrayElements(env, arg1, NULL)) == NULL) goto fail;
- if (arg2) if ((lparg2 = (*env)->GetBooleanArrayElements(env, arg2, NULL)) == NULL) goto fail;
- rc = (jint)GetDataBrowserHasScrollBars((ControlRef)arg0, lparg1, lparg2);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseBooleanArrayElements(env, arg2, lparg2, 0);
- if (arg1 && lparg1) (*env)->ReleaseBooleanArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, GetDataBrowserHasScrollBars_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetDataBrowserItemCount
-JNIEXPORT jint JNICALL OS_NATIVE(GetDataBrowserItemCount)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jboolean arg2, jint arg3, jintArray arg4)
-{
- jint *lparg4=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetDataBrowserItemCount_FUNC);
- if (arg4) if ((lparg4 = (*env)->GetIntArrayElements(env, arg4, NULL)) == NULL) goto fail;
- rc = (jint)GetDataBrowserItemCount((ControlRef)arg0, (DataBrowserItemID)arg1, (Boolean)arg2, (DataBrowserItemState)arg3, (UInt32 *)lparg4);
-fail:
- if (arg4 && lparg4) (*env)->ReleaseIntArrayElements(env, arg4, lparg4, 0);
- OS_NATIVE_EXIT(env, that, GetDataBrowserItemCount_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetDataBrowserItemDataButtonValue
-JNIEXPORT jint JNICALL OS_NATIVE(GetDataBrowserItemDataButtonValue)
- (JNIEnv *env, jclass that, jint arg0, jshortArray arg1)
-{
- jshort *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetDataBrowserItemDataButtonValue_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetShortArrayElements(env, arg1, NULL)) == NULL) goto fail;
- rc = (jint)GetDataBrowserItemDataButtonValue((ControlRef)arg0, (ThemeButtonValue *)lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseShortArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, GetDataBrowserItemDataButtonValue_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetDataBrowserItemPartBounds
-JNIEXPORT jint JNICALL OS_NATIVE(GetDataBrowserItemPartBounds)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jobject arg4)
-{
- Rect _arg4, *lparg4=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetDataBrowserItemPartBounds_FUNC);
- if (arg4) if ((lparg4 = getRectFields(env, arg4, &_arg4)) == NULL) goto fail;
- rc = (jint)GetDataBrowserItemPartBounds((ControlRef)arg0, (DataBrowserItemID)arg1, (DataBrowserPropertyID)arg2, (DataBrowserPropertyPart)arg3, (Rect *)lparg4);
-fail:
- if (arg4 && lparg4) setRectFields(env, arg4, lparg4);
- OS_NATIVE_EXIT(env, that, GetDataBrowserItemPartBounds_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetDataBrowserItemState
-JNIEXPORT jint JNICALL OS_NATIVE(GetDataBrowserItemState)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jintArray arg2)
-{
- jint *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetDataBrowserItemState_FUNC);
- if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail;
- rc = (jint)GetDataBrowserItemState((ControlRef)arg0, arg1, (DataBrowserItemState *)lparg2);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- OS_NATIVE_EXIT(env, that, GetDataBrowserItemState_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetDataBrowserItems
-JNIEXPORT jint JNICALL OS_NATIVE(GetDataBrowserItems)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jboolean arg2, jint arg3, jint arg4)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetDataBrowserItems_FUNC);
- rc = (jint)GetDataBrowserItems((ControlRef)arg0, (DataBrowserItemID)arg1, (Boolean)arg2, (DataBrowserItemState)arg3, (Handle)arg4);
- OS_NATIVE_EXIT(env, that, GetDataBrowserItems_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetDataBrowserListViewDisclosureColumn
-JNIEXPORT jint JNICALL OS_NATIVE(GetDataBrowserListViewDisclosureColumn)
- (JNIEnv *env, jclass that, jint arg0, jintArray arg1, jbooleanArray arg2)
-{
- jint *lparg1=NULL;
- jboolean *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetDataBrowserListViewDisclosureColumn_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL)) == NULL) goto fail;
- if (arg2) if ((lparg2 = (*env)->GetBooleanArrayElements(env, arg2, NULL)) == NULL) goto fail;
- rc = (jint)GetDataBrowserListViewDisclosureColumn((ControlRef)arg0, (DataBrowserTableViewColumnID *)lparg1, (Boolean *)lparg2);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseBooleanArrayElements(env, arg2, lparg2, 0);
- if (arg1 && lparg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, GetDataBrowserListViewDisclosureColumn_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetDataBrowserListViewHeaderBtnHeight
-JNIEXPORT jint JNICALL OS_NATIVE(GetDataBrowserListViewHeaderBtnHeight)
- (JNIEnv *env, jclass that, jint arg0, jshortArray arg1)
-{
- jshort *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetDataBrowserListViewHeaderBtnHeight_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetShortArrayElements(env, arg1, NULL)) == NULL) goto fail;
- rc = (jint)GetDataBrowserListViewHeaderBtnHeight((ControlRef)arg0, (UInt16 *)lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseShortArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, GetDataBrowserListViewHeaderBtnHeight_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetDataBrowserListViewHeaderDesc
-JNIEXPORT jint JNICALL OS_NATIVE(GetDataBrowserListViewHeaderDesc)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jobject arg2)
-{
- DataBrowserListViewHeaderDesc _arg2, *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetDataBrowserListViewHeaderDesc_FUNC);
- if (arg2) if ((lparg2 = getDataBrowserListViewHeaderDescFields(env, arg2, &_arg2)) == NULL) goto fail;
- rc = (jint)GetDataBrowserListViewHeaderDesc((ControlRef)arg0, (DataBrowserTableViewColumnID)arg1, (DataBrowserListViewHeaderDesc *)lparg2);
-fail:
- if (arg2 && lparg2) setDataBrowserListViewHeaderDescFields(env, arg2, lparg2);
- OS_NATIVE_EXIT(env, that, GetDataBrowserListViewHeaderDesc_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetDataBrowserPropertyFlags
-JNIEXPORT jint JNICALL OS_NATIVE(GetDataBrowserPropertyFlags)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jintArray arg2)
-{
- jint *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetDataBrowserPropertyFlags_FUNC);
- if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail;
- rc = (jint)GetDataBrowserPropertyFlags((ControlRef)arg0, (DataBrowserPropertyID)arg1, (DataBrowserPropertyFlags *)lparg2);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- OS_NATIVE_EXIT(env, that, GetDataBrowserPropertyFlags_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetDataBrowserScrollBarInset
-JNIEXPORT jint JNICALL OS_NATIVE(GetDataBrowserScrollBarInset)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1)
-{
- Rect _arg1, *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetDataBrowserScrollBarInset_FUNC);
- if (arg1) if ((lparg1 = getRectFields(env, arg1, &_arg1)) == NULL) goto fail;
- rc = (jint)GetDataBrowserScrollBarInset((ControlRef)arg0, lparg1);
-fail:
- if (arg1 && lparg1) setRectFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, GetDataBrowserScrollBarInset_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetDataBrowserScrollPosition
-JNIEXPORT jint JNICALL OS_NATIVE(GetDataBrowserScrollPosition)
- (JNIEnv *env, jclass that, jint arg0, jintArray arg1, jintArray arg2)
-{
- jint *lparg1=NULL;
- jint *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetDataBrowserScrollPosition_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL)) == NULL) goto fail;
- if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail;
- rc = (jint)GetDataBrowserScrollPosition((ControlRef)arg0, (UInt32 *)lparg1, (UInt32 *)lparg2);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- if (arg1 && lparg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, GetDataBrowserScrollPosition_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetDataBrowserSelectionAnchor
-JNIEXPORT jint JNICALL OS_NATIVE(GetDataBrowserSelectionAnchor)
- (JNIEnv *env, jclass that, jint arg0, jintArray arg1, jintArray arg2)
-{
- jint *lparg1=NULL;
- jint *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetDataBrowserSelectionAnchor_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL)) == NULL) goto fail;
- if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail;
- rc = (jint)GetDataBrowserSelectionAnchor((ControlRef)arg0, (UInt32 *)lparg1, (UInt32 *)lparg2);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- if (arg1 && lparg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, GetDataBrowserSelectionAnchor_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetDataBrowserSelectionFlags
-JNIEXPORT jint JNICALL OS_NATIVE(GetDataBrowserSelectionFlags)
- (JNIEnv *env, jclass that, jint arg0, jintArray arg1)
-{
- jint *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetDataBrowserSelectionFlags_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL)) == NULL) goto fail;
- rc = (jint)GetDataBrowserSelectionFlags((ControlRef)arg0, (DataBrowserSelectionFlags *)lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, GetDataBrowserSelectionFlags_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetDataBrowserSortProperty
-JNIEXPORT jint JNICALL OS_NATIVE(GetDataBrowserSortProperty)
- (JNIEnv *env, jclass that, jint arg0, jintArray arg1)
-{
- jint *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetDataBrowserSortProperty_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL)) == NULL) goto fail;
- rc = (jint)GetDataBrowserSortProperty((ControlRef)arg0, (DataBrowserPropertyID *)lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, GetDataBrowserSortProperty_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetDataBrowserTableViewColumnPosition
-JNIEXPORT jint JNICALL OS_NATIVE(GetDataBrowserTableViewColumnPosition)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jintArray arg2)
-{
- jint *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetDataBrowserTableViewColumnPosition_FUNC);
- if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail;
- rc = (jint)GetDataBrowserTableViewColumnPosition((ControlRef)arg0, (DataBrowserTableViewColumnID)arg1, (DataBrowserTableViewColumnIndex *)lparg2);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- OS_NATIVE_EXIT(env, that, GetDataBrowserTableViewColumnPosition_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetDataBrowserTableViewItemID
-JNIEXPORT jint JNICALL OS_NATIVE(GetDataBrowserTableViewItemID)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jintArray arg2)
-{
- jint *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetDataBrowserTableViewItemID_FUNC);
- if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail;
- rc = (jint)GetDataBrowserTableViewItemID((ControlRef)arg0, (DataBrowserTableViewRowIndex)arg1, (DataBrowserItemID *)lparg2);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- OS_NATIVE_EXIT(env, that, GetDataBrowserTableViewItemID_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetDataBrowserTableViewItemRow
-JNIEXPORT jint JNICALL OS_NATIVE(GetDataBrowserTableViewItemRow)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jintArray arg2)
-{
- jint *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetDataBrowserTableViewItemRow_FUNC);
- if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail;
- rc = (jint)GetDataBrowserTableViewItemRow((ControlRef)arg0, (DataBrowserTableViewRowIndex)arg1, (DataBrowserItemID *)lparg2);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- OS_NATIVE_EXIT(env, that, GetDataBrowserTableViewItemRow_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetDataBrowserTableViewNamedColumnWidth
-JNIEXPORT jint JNICALL OS_NATIVE(GetDataBrowserTableViewNamedColumnWidth)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jshortArray arg2)
-{
- jshort *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetDataBrowserTableViewNamedColumnWidth_FUNC);
- if (arg2) if ((lparg2 = (*env)->GetShortArrayElements(env, arg2, NULL)) == NULL) goto fail;
- rc = (jint)GetDataBrowserTableViewNamedColumnWidth((ControlRef)arg0, (DataBrowserTableViewColumnID)arg1, (UInt16 *)lparg2);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseShortArrayElements(env, arg2, lparg2, 0);
- OS_NATIVE_EXIT(env, that, GetDataBrowserTableViewNamedColumnWidth_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetDataBrowserTableViewRowHeight
-JNIEXPORT jint JNICALL OS_NATIVE(GetDataBrowserTableViewRowHeight)
- (JNIEnv *env, jclass that, jint arg0, jshortArray arg1)
-{
- jshort *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetDataBrowserTableViewRowHeight_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetShortArrayElements(env, arg1, NULL)) == NULL) goto fail;
- rc = (jint)GetDataBrowserTableViewRowHeight((ControlRef)arg0, (UInt16 *)lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseShortArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, GetDataBrowserTableViewRowHeight_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetDblTime
-JNIEXPORT jint JNICALL OS_NATIVE(GetDblTime)
- (JNIEnv *env, jclass that)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetDblTime_FUNC);
- rc = (jint)GetDblTime();
- OS_NATIVE_EXIT(env, that, GetDblTime_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetDeviceList
-JNIEXPORT jint JNICALL OS_NATIVE(GetDeviceList)
- (JNIEnv *env, jclass that)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetDeviceList_FUNC);
- rc = (jint)GetDeviceList();
- OS_NATIVE_EXIT(env, that, GetDeviceList_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetDragAllowableActions
-JNIEXPORT jint JNICALL OS_NATIVE(GetDragAllowableActions)
- (JNIEnv *env, jclass that, jint arg0, jintArray arg1)
-{
- jint *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetDragAllowableActions_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL)) == NULL) goto fail;
- rc = (jint)GetDragAllowableActions((DragRef)arg0, (DragActions *)lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, GetDragAllowableActions_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetDragDropAction
-JNIEXPORT jint JNICALL OS_NATIVE(GetDragDropAction)
- (JNIEnv *env, jclass that, jint arg0, jintArray arg1)
-{
- jint *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetDragDropAction_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL)) == NULL) goto fail;
- rc = (jint)GetDragDropAction((DragRef)arg0, (DragActions *)lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, GetDragDropAction_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetDragItemReferenceNumber
-JNIEXPORT jint JNICALL OS_NATIVE(GetDragItemReferenceNumber)
- (JNIEnv *env, jclass that, jint arg0, jshort arg1, jintArray arg2)
-{
- jint *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetDragItemReferenceNumber_FUNC);
- if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail;
- rc = (jint)GetDragItemReferenceNumber((DragRef)arg0, arg1, (DragItemRef *)lparg2);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- OS_NATIVE_EXIT(env, that, GetDragItemReferenceNumber_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetDragModifiers
-JNIEXPORT jint JNICALL OS_NATIVE(GetDragModifiers)
- (JNIEnv *env, jclass that, jint arg0, jshortArray arg1, jshortArray arg2, jshortArray arg3)
-{
- jshort *lparg1=NULL;
- jshort *lparg2=NULL;
- jshort *lparg3=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetDragModifiers_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetShortArrayElements(env, arg1, NULL)) == NULL) goto fail;
- if (arg2) if ((lparg2 = (*env)->GetShortArrayElements(env, arg2, NULL)) == NULL) goto fail;
- if (arg3) if ((lparg3 = (*env)->GetShortArrayElements(env, arg3, NULL)) == NULL) goto fail;
- rc = (jint)GetDragModifiers((DragRef)arg0, (SInt16 *)lparg1, (SInt16 *)lparg2, (SInt16 *)lparg3);
-fail:
- if (arg3 && lparg3) (*env)->ReleaseShortArrayElements(env, arg3, lparg3, 0);
- if (arg2 && lparg2) (*env)->ReleaseShortArrayElements(env, arg2, lparg2, 0);
- if (arg1 && lparg1) (*env)->ReleaseShortArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, GetDragModifiers_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetDragMouse
-JNIEXPORT jint JNICALL OS_NATIVE(GetDragMouse)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1, jobject arg2)
-{
- Point _arg1, *lparg1=NULL;
- Point _arg2, *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetDragMouse_FUNC);
- if (arg1) if ((lparg1 = getPointFields(env, arg1, &_arg1)) == NULL) goto fail;
- if (arg2) if ((lparg2 = getPointFields(env, arg2, &_arg2)) == NULL) goto fail;
- rc = (jint)GetDragMouse((DragRef)arg0, (Point *)lparg1, (Point *)lparg2);
-fail:
- if (arg2 && lparg2) setPointFields(env, arg2, lparg2);
- if (arg1 && lparg1) setPointFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, GetDragMouse_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetEventClass
-JNIEXPORT jint JNICALL OS_NATIVE(GetEventClass)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetEventClass_FUNC);
- rc = (jint)GetEventClass((EventRef)arg0);
- OS_NATIVE_EXIT(env, that, GetEventClass_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetEventDispatcherTarget
-JNIEXPORT jint JNICALL OS_NATIVE(GetEventDispatcherTarget)
- (JNIEnv *env, jclass that)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetEventDispatcherTarget_FUNC);
- rc = (jint)GetEventDispatcherTarget();
- OS_NATIVE_EXIT(env, that, GetEventDispatcherTarget_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetEventKind
-JNIEXPORT jint JNICALL OS_NATIVE(GetEventKind)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetEventKind_FUNC);
- rc = (jint)GetEventKind((EventRef)arg0);
- OS_NATIVE_EXIT(env, that, GetEventKind_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetEventParameter__III_3II_3II
-JNIEXPORT jint JNICALL OS_NATIVE(GetEventParameter__III_3II_3II)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jintArray arg3, jint arg4, jintArray arg5, jint arg6)
-{
- jint *lparg3=NULL;
- jint *lparg5=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetEventParameter__III_3II_3II_FUNC);
- if (arg3) if ((lparg3 = (*env)->GetIntArrayElements(env, arg3, NULL)) == NULL) goto fail;
- if (arg5) if ((lparg5 = (*env)->GetIntArrayElements(env, arg5, NULL)) == NULL) goto fail;
- rc = (jint)GetEventParameter((EventRef)arg0, (EventParamName)arg1, (EventParamType)arg2, (EventParamType *)lparg3, (UInt32)arg4, (UInt32 *)lparg5, (void *)arg6);
-fail:
- if (arg5 && lparg5) (*env)->ReleaseIntArrayElements(env, arg5, lparg5, 0);
- if (arg3 && lparg3) (*env)->ReleaseIntArrayElements(env, arg3, lparg3, 0);
- OS_NATIVE_EXIT(env, that, GetEventParameter__III_3II_3II_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_CGPoint_2
-JNIEXPORT jint JNICALL OS_NATIVE(GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_CGPoint_2)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jintArray arg3, jint arg4, jintArray arg5, jobject arg6)
-{
- jint *lparg3=NULL;
- jint *lparg5=NULL;
- CGPoint _arg6, *lparg6=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_CGPoint_2_FUNC);
- if (arg3) if ((lparg3 = (*env)->GetIntArrayElements(env, arg3, NULL)) == NULL) goto fail;
- if (arg5) if ((lparg5 = (*env)->GetIntArrayElements(env, arg5, NULL)) == NULL) goto fail;
- if (arg6) if ((lparg6 = getCGPointFields(env, arg6, &_arg6)) == NULL) goto fail;
- rc = (jint)GetEventParameter((EventRef)arg0, (EventParamName)arg1, (EventParamType)arg2, (EventParamType *)lparg3, (UInt32)arg4, (UInt32 *)lparg5, (void *)lparg6);
-fail:
- if (arg6 && lparg6) setCGPointFields(env, arg6, lparg6);
- if (arg5 && lparg5) (*env)->ReleaseIntArrayElements(env, arg5, lparg5, 0);
- if (arg3 && lparg3) (*env)->ReleaseIntArrayElements(env, arg3, lparg3, 0);
- OS_NATIVE_EXIT(env, that, GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_CGPoint_2_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_CGRect_2
-JNIEXPORT jint JNICALL OS_NATIVE(GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_CGRect_2)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jintArray arg3, jint arg4, jintArray arg5, jobject arg6)
-{
- jint *lparg3=NULL;
- jint *lparg5=NULL;
- CGRect _arg6, *lparg6=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_CGRect_2_FUNC);
- if (arg3) if ((lparg3 = (*env)->GetIntArrayElements(env, arg3, NULL)) == NULL) goto fail;
- if (arg5) if ((lparg5 = (*env)->GetIntArrayElements(env, arg5, NULL)) == NULL) goto fail;
- if (arg6) if ((lparg6 = getCGRectFields(env, arg6, &_arg6)) == NULL) goto fail;
- rc = (jint)GetEventParameter((EventRef)arg0, (EventParamName)arg1, (EventParamType)arg2, (EventParamType *)lparg3, (UInt32)arg4, (UInt32 *)lparg5, (void *)lparg6);
-fail:
- if (arg6 && lparg6) setCGRectFields(env, arg6, lparg6);
- if (arg5 && lparg5) (*env)->ReleaseIntArrayElements(env, arg5, lparg5, 0);
- if (arg3 && lparg3) (*env)->ReleaseIntArrayElements(env, arg3, lparg3, 0);
- OS_NATIVE_EXIT(env, that, GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_CGRect_2_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_HICommand_2
-JNIEXPORT jint JNICALL OS_NATIVE(GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_HICommand_2)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jintArray arg3, jint arg4, jintArray arg5, jobject arg6)
-{
- jint *lparg3=NULL;
- jint *lparg5=NULL;
- HICommand _arg6, *lparg6=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_HICommand_2_FUNC);
- if (arg3) if ((lparg3 = (*env)->GetIntArrayElements(env, arg3, NULL)) == NULL) goto fail;
- if (arg5) if ((lparg5 = (*env)->GetIntArrayElements(env, arg5, NULL)) == NULL) goto fail;
- if (arg6) if ((lparg6 = getHICommandFields(env, arg6, &_arg6)) == NULL) goto fail;
- rc = (jint)GetEventParameter((EventRef)arg0, (EventParamName)arg1, (EventParamType)arg2, (EventParamType *)lparg3, (UInt32)arg4, (UInt32 *)lparg5, (void *)lparg6);
-fail:
- if (arg6 && lparg6) setHICommandFields(env, arg6, lparg6);
- if (arg5 && lparg5) (*env)->ReleaseIntArrayElements(env, arg5, lparg5, 0);
- if (arg3 && lparg3) (*env)->ReleaseIntArrayElements(env, arg3, lparg3, 0);
- OS_NATIVE_EXIT(env, that, GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_HICommand_2_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_Point_2
-JNIEXPORT jint JNICALL OS_NATIVE(GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_Point_2)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jintArray arg3, jint arg4, jintArray arg5, jobject arg6)
-{
- jint *lparg3=NULL;
- jint *lparg5=NULL;
- Point _arg6, *lparg6=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_Point_2_FUNC);
- if (arg3) if ((lparg3 = (*env)->GetIntArrayElements(env, arg3, NULL)) == NULL) goto fail;
- if (arg5) if ((lparg5 = (*env)->GetIntArrayElements(env, arg5, NULL)) == NULL) goto fail;
- if (arg6) if ((lparg6 = getPointFields(env, arg6, &_arg6)) == NULL) goto fail;
- rc = (jint)GetEventParameter((EventRef)arg0, (EventParamName)arg1, (EventParamType)arg2, (EventParamType *)lparg3, (UInt32)arg4, (UInt32 *)lparg5, (void *)lparg6);
-fail:
- if (arg6 && lparg6) setPointFields(env, arg6, lparg6);
- if (arg5 && lparg5) (*env)->ReleaseIntArrayElements(env, arg5, lparg5, 0);
- if (arg3 && lparg3) (*env)->ReleaseIntArrayElements(env, arg3, lparg3, 0);
- OS_NATIVE_EXIT(env, that, GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_Point_2_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_RGBColor_2
-JNIEXPORT jint JNICALL OS_NATIVE(GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_RGBColor_2)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jintArray arg3, jint arg4, jintArray arg5, jobject arg6)
-{
- jint *lparg3=NULL;
- jint *lparg5=NULL;
- RGBColor _arg6, *lparg6=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_RGBColor_2_FUNC);
- if (arg3) if ((lparg3 = (*env)->GetIntArrayElements(env, arg3, NULL)) == NULL) goto fail;
- if (arg5) if ((lparg5 = (*env)->GetIntArrayElements(env, arg5, NULL)) == NULL) goto fail;
- if (arg6) if ((lparg6 = getRGBColorFields(env, arg6, &_arg6)) == NULL) goto fail;
- rc = (jint)GetEventParameter((EventRef)arg0, (EventParamName)arg1, (EventParamType)arg2, (EventParamType *)lparg3, (UInt32)arg4, (UInt32 *)lparg5, (void *)lparg6);
-fail:
- if (arg6 && lparg6) setRGBColorFields(env, arg6, lparg6);
- if (arg5 && lparg5) (*env)->ReleaseIntArrayElements(env, arg5, lparg5, 0);
- if (arg3 && lparg3) (*env)->ReleaseIntArrayElements(env, arg3, lparg3, 0);
- OS_NATIVE_EXIT(env, that, GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_RGBColor_2_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_Rect_2
-JNIEXPORT jint JNICALL OS_NATIVE(GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_Rect_2)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jintArray arg3, jint arg4, jintArray arg5, jobject arg6)
-{
- jint *lparg3=NULL;
- jint *lparg5=NULL;
- Rect _arg6, *lparg6=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_Rect_2_FUNC);
- if (arg3) if ((lparg3 = (*env)->GetIntArrayElements(env, arg3, NULL)) == NULL) goto fail;
- if (arg5) if ((lparg5 = (*env)->GetIntArrayElements(env, arg5, NULL)) == NULL) goto fail;
- if (arg6) if ((lparg6 = getRectFields(env, arg6, &_arg6)) == NULL) goto fail;
- rc = (jint)GetEventParameter((EventRef)arg0, (EventParamName)arg1, (EventParamType)arg2, (EventParamType *)lparg3, (UInt32)arg4, (UInt32 *)lparg5, (void *)lparg6);
-fail:
- if (arg6 && lparg6) setRectFields(env, arg6, lparg6);
- if (arg5 && lparg5) (*env)->ReleaseIntArrayElements(env, arg5, lparg5, 0);
- if (arg3 && lparg3) (*env)->ReleaseIntArrayElements(env, arg3, lparg3, 0);
- OS_NATIVE_EXIT(env, that, GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_Rect_2_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetEventParameter__III_3II_3I_3B
-JNIEXPORT jint JNICALL OS_NATIVE(GetEventParameter__III_3II_3I_3B)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jintArray arg3, jint arg4, jintArray arg5, jbyteArray arg6)
-{
- jint *lparg3=NULL;
- jint *lparg5=NULL;
- jbyte *lparg6=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetEventParameter__III_3II_3I_3B_FUNC);
- if (arg3) if ((lparg3 = (*env)->GetIntArrayElements(env, arg3, NULL)) == NULL) goto fail;
- if (arg5) if ((lparg5 = (*env)->GetIntArrayElements(env, arg5, NULL)) == NULL) goto fail;
- if (arg6) if ((lparg6 = (*env)->GetByteArrayElements(env, arg6, NULL)) == NULL) goto fail;
- rc = (jint)GetEventParameter((EventRef)arg0, (EventParamName)arg1, (EventParamType)arg2, (EventParamType *)lparg3, (UInt32)arg4, (UInt32 *)lparg5, (void *)lparg6);
-fail:
- if (arg6 && lparg6) (*env)->ReleaseByteArrayElements(env, arg6, lparg6, 0);
- if (arg5 && lparg5) (*env)->ReleaseIntArrayElements(env, arg5, lparg5, 0);
- if (arg3 && lparg3) (*env)->ReleaseIntArrayElements(env, arg3, lparg3, 0);
- OS_NATIVE_EXIT(env, that, GetEventParameter__III_3II_3I_3B_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetEventParameter__III_3II_3I_3C
-JNIEXPORT jint JNICALL OS_NATIVE(GetEventParameter__III_3II_3I_3C)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jintArray arg3, jint arg4, jintArray arg5, jcharArray arg6)
-{
- jint *lparg3=NULL;
- jint *lparg5=NULL;
- jchar *lparg6=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetEventParameter__III_3II_3I_3C_FUNC);
- if (arg3) if ((lparg3 = (*env)->GetIntArrayElements(env, arg3, NULL)) == NULL) goto fail;
- if (arg5) if ((lparg5 = (*env)->GetIntArrayElements(env, arg5, NULL)) == NULL) goto fail;
- if (arg6) if ((lparg6 = (*env)->GetCharArrayElements(env, arg6, NULL)) == NULL) goto fail;
- rc = (jint)GetEventParameter((EventRef)arg0, (EventParamName)arg1, (EventParamType)arg2, (EventParamType *)lparg3, (UInt32)arg4, (UInt32 *)lparg5, (void *)lparg6);
-fail:
- if (arg6 && lparg6) (*env)->ReleaseCharArrayElements(env, arg6, lparg6, 0);
- if (arg5 && lparg5) (*env)->ReleaseIntArrayElements(env, arg5, lparg5, 0);
- if (arg3 && lparg3) (*env)->ReleaseIntArrayElements(env, arg3, lparg3, 0);
- OS_NATIVE_EXIT(env, that, GetEventParameter__III_3II_3I_3C_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetEventParameter__III_3II_3I_3I
-JNIEXPORT jint JNICALL OS_NATIVE(GetEventParameter__III_3II_3I_3I)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jintArray arg3, jint arg4, jintArray arg5, jintArray arg6)
-{
- jint *lparg3=NULL;
- jint *lparg5=NULL;
- jint *lparg6=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetEventParameter__III_3II_3I_3I_FUNC);
- if (arg3) if ((lparg3 = (*env)->GetIntArrayElements(env, arg3, NULL)) == NULL) goto fail;
- if (arg5) if ((lparg5 = (*env)->GetIntArrayElements(env, arg5, NULL)) == NULL) goto fail;
- if (arg6) if ((lparg6 = (*env)->GetIntArrayElements(env, arg6, NULL)) == NULL) goto fail;
- rc = (jint)GetEventParameter((EventRef)arg0, (EventParamName)arg1, (EventParamType)arg2, (EventParamType *)lparg3, (UInt32)arg4, (UInt32 *)lparg5, (void *)lparg6);
-fail:
- if (arg6 && lparg6) (*env)->ReleaseIntArrayElements(env, arg6, lparg6, 0);
- if (arg5 && lparg5) (*env)->ReleaseIntArrayElements(env, arg5, lparg5, 0);
- if (arg3 && lparg3) (*env)->ReleaseIntArrayElements(env, arg3, lparg3, 0);
- OS_NATIVE_EXIT(env, that, GetEventParameter__III_3II_3I_3I_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetEventParameter__III_3II_3I_3S
-JNIEXPORT jint JNICALL OS_NATIVE(GetEventParameter__III_3II_3I_3S)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jintArray arg3, jint arg4, jintArray arg5, jshortArray arg6)
-{
- jint *lparg3=NULL;
- jint *lparg5=NULL;
- jshort *lparg6=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetEventParameter__III_3II_3I_3S_FUNC);
- if (arg3) if ((lparg3 = (*env)->GetIntArrayElements(env, arg3, NULL)) == NULL) goto fail;
- if (arg5) if ((lparg5 = (*env)->GetIntArrayElements(env, arg5, NULL)) == NULL) goto fail;
- if (arg6) if ((lparg6 = (*env)->GetShortArrayElements(env, arg6, NULL)) == NULL) goto fail;
- rc = (jint)GetEventParameter((EventRef)arg0, (EventParamName)arg1, (EventParamType)arg2, (EventParamType *)lparg3, (UInt32)arg4, (UInt32 *)lparg5, (void *)lparg6);
-fail:
- if (arg6 && lparg6) (*env)->ReleaseShortArrayElements(env, arg6, lparg6, 0);
- if (arg5 && lparg5) (*env)->ReleaseIntArrayElements(env, arg5, lparg5, 0);
- if (arg3 && lparg3) (*env)->ReleaseIntArrayElements(env, arg3, lparg3, 0);
- OS_NATIVE_EXIT(env, that, GetEventParameter__III_3II_3I_3S_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetEventParameter__III_3II_3I_3Z
-JNIEXPORT jint JNICALL OS_NATIVE(GetEventParameter__III_3II_3I_3Z)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jintArray arg3, jint arg4, jintArray arg5, jbooleanArray arg6)
-{
- jint *lparg3=NULL;
- jint *lparg5=NULL;
- jboolean *lparg6=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetEventParameter__III_3II_3I_3Z_FUNC);
- if (arg3) if ((lparg3 = (*env)->GetIntArrayElements(env, arg3, NULL)) == NULL) goto fail;
- if (arg5) if ((lparg5 = (*env)->GetIntArrayElements(env, arg5, NULL)) == NULL) goto fail;
- if (arg6) if ((lparg6 = (*env)->GetBooleanArrayElements(env, arg6, NULL)) == NULL) goto fail;
- rc = (jint)GetEventParameter((EventRef)arg0, (EventParamName)arg1, (EventParamType)arg2, (EventParamType *)lparg3, (UInt32)arg4, (UInt32 *)lparg5, (void *)lparg6);
-fail:
- if (arg6 && lparg6) (*env)->ReleaseBooleanArrayElements(env, arg6, lparg6, 0);
- if (arg5 && lparg5) (*env)->ReleaseIntArrayElements(env, arg5, lparg5, 0);
- if (arg3 && lparg3) (*env)->ReleaseIntArrayElements(env, arg3, lparg3, 0);
- OS_NATIVE_EXIT(env, that, GetEventParameter__III_3II_3I_3Z_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetEventTime
-JNIEXPORT jdouble JNICALL OS_NATIVE(GetEventTime)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jdouble rc = 0;
- OS_NATIVE_ENTER(env, that, GetEventTime_FUNC);
- rc = (jdouble)GetEventTime((EventRef)arg0);
- OS_NATIVE_EXIT(env, that, GetEventTime_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetFlavorData
-JNIEXPORT jint JNICALL OS_NATIVE(GetFlavorData)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jbyteArray arg3, jintArray arg4, jint arg5)
-{
- jbyte *lparg3=NULL;
- jint *lparg4=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetFlavorData_FUNC);
- if (arg3) if ((lparg3 = (*env)->GetByteArrayElements(env, arg3, NULL)) == NULL) goto fail;
- if (arg4) if ((lparg4 = (*env)->GetIntArrayElements(env, arg4, NULL)) == NULL) goto fail;
- rc = (jint)GetFlavorData((DragRef)arg0, (DragItemRef)arg1, (FlavorType)arg2, (void *)lparg3, (Size *)lparg4, arg5);
-fail:
- if (arg4 && lparg4) (*env)->ReleaseIntArrayElements(env, arg4, lparg4, 0);
- if (arg3 && lparg3) (*env)->ReleaseByteArrayElements(env, arg3, lparg3, 0);
- OS_NATIVE_EXIT(env, that, GetFlavorData_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetFlavorDataSize
-JNIEXPORT jint JNICALL OS_NATIVE(GetFlavorDataSize)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jintArray arg3)
-{
- jint *lparg3=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetFlavorDataSize_FUNC);
- if (arg3) if ((lparg3 = (*env)->GetIntArrayElements(env, arg3, NULL)) == NULL) goto fail;
- rc = (jint)GetFlavorDataSize((DragRef)arg0, (DragItemRef)arg1, (FlavorType)arg2, (Size *)lparg3);
-fail:
- if (arg3 && lparg3) (*env)->ReleaseIntArrayElements(env, arg3, lparg3, 0);
- OS_NATIVE_EXIT(env, that, GetFlavorDataSize_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetFlavorType
-JNIEXPORT jint JNICALL OS_NATIVE(GetFlavorType)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jshort arg2, jintArray arg3)
-{
- jint *lparg3=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetFlavorType_FUNC);
- if (arg3) if ((lparg3 = (*env)->GetIntArrayElements(env, arg3, NULL)) == NULL) goto fail;
- rc = (jint)GetFlavorType((DragRef)arg0, (DragItemRef)arg1, arg2, (FlavorType *)lparg3);
-fail:
- if (arg3 && lparg3) (*env)->ReleaseIntArrayElements(env, arg3, lparg3, 0);
- OS_NATIVE_EXIT(env, that, GetFlavorType_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetFrontProcess
-JNIEXPORT jint JNICALL OS_NATIVE(GetFrontProcess)
- (JNIEnv *env, jclass that, jintArray arg0)
-{
- jint *lparg0=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetFrontProcess_FUNC);
- if (arg0) if ((lparg0 = (*env)->GetIntArrayElements(env, arg0, NULL)) == NULL) goto fail;
- rc = (jint)GetFrontProcess((ProcessSerialNumber *)lparg0);
-fail:
- if (arg0 && lparg0) (*env)->ReleaseIntArrayElements(env, arg0, lparg0, 0);
- OS_NATIVE_EXIT(env, that, GetFrontProcess_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetGWorld
-JNIEXPORT void JNICALL OS_NATIVE(GetGWorld)
- (JNIEnv *env, jclass that, jintArray arg0, jintArray arg1)
-{
- jint *lparg0=NULL;
- jint *lparg1=NULL;
- OS_NATIVE_ENTER(env, that, GetGWorld_FUNC);
- if (arg0) if ((lparg0 = (*env)->GetIntArrayElements(env, arg0, NULL)) == NULL) goto fail;
- if (arg1) if ((lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL)) == NULL) goto fail;
- GetGWorld((CGrafPtr *)lparg0, (GDHandle *)lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- if (arg0 && lparg0) (*env)->ReleaseIntArrayElements(env, arg0, lparg0, 0);
- OS_NATIVE_EXIT(env, that, GetGWorld_FUNC);
-}
-#endif
-
-#ifndef NO_GetGlobalMouse
-JNIEXPORT void JNICALL OS_NATIVE(GetGlobalMouse)
- (JNIEnv *env, jclass that, jobject arg0)
-{
- Point _arg0, *lparg0=NULL;
- OS_NATIVE_ENTER(env, that, GetGlobalMouse_FUNC);
- if (arg0) if ((lparg0 = getPointFields(env, arg0, &_arg0)) == NULL) goto fail;
- GetGlobalMouse((Point *)lparg0);
-fail:
- if (arg0 && lparg0) setPointFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, GetGlobalMouse_FUNC);
-}
-#endif
-
-#ifndef NO_GetHandleSize
-JNIEXPORT jint JNICALL OS_NATIVE(GetHandleSize)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetHandleSize_FUNC);
- rc = (jint)GetHandleSize((Handle)arg0);
- OS_NATIVE_EXIT(env, that, GetHandleSize_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetIconFamilyData
-JNIEXPORT jint JNICALL OS_NATIVE(GetIconFamilyData)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetIconFamilyData_FUNC);
- rc = (jint)GetIconFamilyData((IconFamilyHandle)arg0, (OSType)arg1, (Handle)arg2);
- OS_NATIVE_EXIT(env, that, GetIconFamilyData_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetIconRef
-JNIEXPORT jint JNICALL OS_NATIVE(GetIconRef)
- (JNIEnv *env, jclass that, jshort arg0, jint arg1, jint arg2, jintArray arg3)
-{
- jint *lparg3=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetIconRef_FUNC);
- if (arg3) if ((lparg3 = (*env)->GetIntArrayElements(env, arg3, NULL)) == NULL) goto fail;
- rc = (jint)GetIconRef((SInt16)arg0, (OSType)arg1, (OSType)arg2, (IconRef *)lparg3);
-fail:
- if (arg3 && lparg3) (*env)->ReleaseIntArrayElements(env, arg3, lparg3, 0);
- OS_NATIVE_EXIT(env, that, GetIconRef_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetIconRefFromFileInfo
-JNIEXPORT jint JNICALL OS_NATIVE(GetIconRefFromFileInfo)
- (JNIEnv *env, jclass that, jbyteArray arg0, jint arg1, jcharArray arg2, jint arg3, jint arg4, jint arg5, jintArray arg6, jintArray arg7)
-{
- jbyte *lparg0=NULL;
- jchar *lparg2=NULL;
- jint *lparg6=NULL;
- jint *lparg7=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetIconRefFromFileInfo_FUNC);
- if (arg0) if ((lparg0 = (*env)->GetByteArrayElements(env, arg0, NULL)) == NULL) goto fail;
- if (arg2) if ((lparg2 = (*env)->GetCharArrayElements(env, arg2, NULL)) == NULL) goto fail;
- if (arg6) if ((lparg6 = (*env)->GetIntArrayElements(env, arg6, NULL)) == NULL) goto fail;
- if (arg7) if ((lparg7 = (*env)->GetIntArrayElements(env, arg7, NULL)) == NULL) goto fail;
- rc = (jint)GetIconRefFromFileInfo((const FSRef *)lparg0, arg1, (const UniChar *)lparg2, (FSCatalogInfoBitmap)arg3, (const FSCatalogInfo *)arg4, arg5, (IconRef *)lparg6, (SInt16 *)lparg7);
-fail:
- if (arg7 && lparg7) (*env)->ReleaseIntArrayElements(env, arg7, lparg7, 0);
- if (arg6 && lparg6) (*env)->ReleaseIntArrayElements(env, arg6, lparg6, 0);
- if (arg2 && lparg2) (*env)->ReleaseCharArrayElements(env, arg2, lparg2, 0);
- if (arg0 && lparg0) (*env)->ReleaseByteArrayElements(env, arg0, lparg0, 0);
- OS_NATIVE_EXIT(env, that, GetIconRefFromFileInfo_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetIconRefFromIconFamilyPtr
-JNIEXPORT jint JNICALL OS_NATIVE(GetIconRefFromIconFamilyPtr)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jintArray arg2)
-{
- jint *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetIconRefFromIconFamilyPtr_FUNC);
- if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail;
-/*
- rc = (jint)GetIconRefFromIconFamilyPtr(arg0, arg1, lparg2);
-*/
- {
- LOAD_FUNCTION(fp, GetIconRefFromIconFamilyPtr)
- if (fp) {
- rc = (jint)((jint (CALLING_CONVENTION*)(jint, jint, jint *))fp)(arg0, arg1, lparg2);
- }
- }
-fail:
- if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- OS_NATIVE_EXIT(env, that, GetIconRefFromIconFamilyPtr_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetIndMenuItemWithCommandID
-JNIEXPORT jint JNICALL OS_NATIVE(GetIndMenuItemWithCommandID)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jintArray arg3, jshortArray arg4)
-{
- jint *lparg3=NULL;
- jshort *lparg4=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetIndMenuItemWithCommandID_FUNC);
- if (arg3) if ((lparg3 = (*env)->GetIntArrayElements(env, arg3, NULL)) == NULL) goto fail;
- if (arg4) if ((lparg4 = (*env)->GetShortArrayElements(env, arg4, NULL)) == NULL) goto fail;
- rc = (jint)GetIndMenuItemWithCommandID((MenuRef)arg0, (MenuCommand)arg1, (UInt32)arg2, (MenuRef *)lparg3, (MenuItemIndex *)lparg4);
-fail:
- if (arg4 && lparg4) (*env)->ReleaseShortArrayElements(env, arg4, lparg4, 0);
- if (arg3 && lparg3) (*env)->ReleaseIntArrayElements(env, arg3, lparg3, 0);
- OS_NATIVE_EXIT(env, that, GetIndMenuItemWithCommandID_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetIndexedSubControl
-JNIEXPORT jint JNICALL OS_NATIVE(GetIndexedSubControl)
- (JNIEnv *env, jclass that, jint arg0, jshort arg1, jintArray arg2)
-{
- jint *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetIndexedSubControl_FUNC);
- if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail;
- rc = (jint)GetIndexedSubControl((ControlRef)arg0, (UInt16)arg1, (ControlRef *)lparg2);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- OS_NATIVE_EXIT(env, that, GetIndexedSubControl_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetItemMark
-JNIEXPORT void JNICALL OS_NATIVE(GetItemMark)
- (JNIEnv *env, jclass that, jint arg0, jshort arg1, jshortArray arg2)
-{
- jshort *lparg2=NULL;
- OS_NATIVE_ENTER(env, that, GetItemMark_FUNC);
- if (arg2) if ((lparg2 = (*env)->GetShortArrayElements(env, arg2, NULL)) == NULL) goto fail;
- GetItemMark((MenuRef)arg0, arg1, lparg2);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseShortArrayElements(env, arg2, lparg2, 0);
- OS_NATIVE_EXIT(env, that, GetItemMark_FUNC);
-}
-#endif
-
-#ifndef NO_GetKeyboardFocus
-JNIEXPORT jint JNICALL OS_NATIVE(GetKeyboardFocus)
- (JNIEnv *env, jclass that, jint arg0, jintArray arg1)
-{
- jint *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetKeyboardFocus_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL)) == NULL) goto fail;
- rc = (jint)GetKeyboardFocus((WindowRef)arg0, (ControlRef *)lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, GetKeyboardFocus_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetLastUserEventTime
-JNIEXPORT jdouble JNICALL OS_NATIVE(GetLastUserEventTime)
- (JNIEnv *env, jclass that)
-{
- jdouble rc = 0;
- OS_NATIVE_ENTER(env, that, GetLastUserEventTime_FUNC);
- rc = (jdouble)GetLastUserEventTime();
- OS_NATIVE_EXIT(env, that, GetLastUserEventTime_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetMBarHeight
-JNIEXPORT jint JNICALL OS_NATIVE(GetMBarHeight)
- (JNIEnv *env, jclass that)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetMBarHeight_FUNC);
- rc = (jint)GetMBarHeight();
- OS_NATIVE_EXIT(env, that, GetMBarHeight_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetMainDevice
-JNIEXPORT jint JNICALL OS_NATIVE(GetMainDevice)
- (JNIEnv *env, jclass that)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetMainDevice_FUNC);
- rc = (jint)GetMainDevice();
- OS_NATIVE_EXIT(env, that, GetMainDevice_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetMainEventQueue
-JNIEXPORT jint JNICALL OS_NATIVE(GetMainEventQueue)
- (JNIEnv *env, jclass that)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetMainEventQueue_FUNC);
- rc = (jint)GetMainEventQueue();
- OS_NATIVE_EXIT(env, that, GetMainEventQueue_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetMenuCommandMark
-JNIEXPORT jint JNICALL OS_NATIVE(GetMenuCommandMark)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jcharArray arg2)
-{
- jchar *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetMenuCommandMark_FUNC);
- if (arg2) if ((lparg2 = (*env)->GetCharArrayElements(env, arg2, NULL)) == NULL) goto fail;
- rc = (jint)GetMenuCommandMark((MenuRef)arg0, (MenuCommand)arg1, (UniChar *)lparg2);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseCharArrayElements(env, arg2, lparg2, 0);
- OS_NATIVE_EXIT(env, that, GetMenuCommandMark_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetMenuEventTarget
-JNIEXPORT jint JNICALL OS_NATIVE(GetMenuEventTarget)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetMenuEventTarget_FUNC);
- rc = (jint)GetMenuEventTarget((MenuRef)arg0);
- OS_NATIVE_EXIT(env, that, GetMenuEventTarget_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetMenuFont
-JNIEXPORT jint JNICALL OS_NATIVE(GetMenuFont)
- (JNIEnv *env, jclass that, jint arg0, jshortArray arg1, jshortArray arg2)
-{
- jshort *lparg1=NULL;
- jshort *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetMenuFont_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetShortArrayElements(env, arg1, NULL)) == NULL) goto fail;
- if (arg2) if ((lparg2 = (*env)->GetShortArrayElements(env, arg2, NULL)) == NULL) goto fail;
- rc = (jint)GetMenuFont((MenuRef)arg0, (SInt16 *)lparg1, (UInt16 *)lparg2);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseShortArrayElements(env, arg2, lparg2, 0);
- if (arg1 && lparg1) (*env)->ReleaseShortArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, GetMenuFont_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetMenuHeight
-JNIEXPORT jshort JNICALL OS_NATIVE(GetMenuHeight)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jshort rc = 0;
- OS_NATIVE_ENTER(env, that, GetMenuHeight_FUNC);
- rc = (jshort)GetMenuHeight((MenuRef)arg0);
- OS_NATIVE_EXIT(env, that, GetMenuHeight_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetMenuID
-JNIEXPORT jshort JNICALL OS_NATIVE(GetMenuID)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jshort rc = 0;
- OS_NATIVE_ENTER(env, that, GetMenuID_FUNC);
- rc = (jshort)GetMenuID((MenuRef)arg0);
- OS_NATIVE_EXIT(env, that, GetMenuID_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetMenuItemCommandID
-JNIEXPORT jint JNICALL OS_NATIVE(GetMenuItemCommandID)
- (JNIEnv *env, jclass that, jint arg0, jshort arg1, jintArray arg2)
-{
- jint *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetMenuItemCommandID_FUNC);
- if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail;
- rc = (jint)GetMenuItemCommandID((MenuRef)arg0, (SInt16)arg1, (MenuCommand *)lparg2);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- OS_NATIVE_EXIT(env, that, GetMenuItemCommandID_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetMenuItemHierarchicalMenu
-JNIEXPORT jint JNICALL OS_NATIVE(GetMenuItemHierarchicalMenu)
- (JNIEnv *env, jclass that, jint arg0, jshort arg1, jintArray arg2)
-{
- jint *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetMenuItemHierarchicalMenu_FUNC);
- if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail;
- rc = (jint)GetMenuItemHierarchicalMenu((MenuRef)arg0, (SInt16)arg1, (MenuRef *)lparg2);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- OS_NATIVE_EXIT(env, that, GetMenuItemHierarchicalMenu_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetMenuItemRefCon
-JNIEXPORT jint JNICALL OS_NATIVE(GetMenuItemRefCon)
- (JNIEnv *env, jclass that, jint arg0, jshort arg1, jintArray arg2)
-{
- jint *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetMenuItemRefCon_FUNC);
- if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail;
- rc = (jint)GetMenuItemRefCon((MenuRef)arg0, (SInt16)arg1, (UInt32 *)lparg2);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- OS_NATIVE_EXIT(env, that, GetMenuItemRefCon_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetMenuTrackingData
-JNIEXPORT jint JNICALL OS_NATIVE(GetMenuTrackingData)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1)
-{
- MenuTrackingData _arg1, *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetMenuTrackingData_FUNC);
- if (arg1) if ((lparg1 = getMenuTrackingDataFields(env, arg1, &_arg1)) == NULL) goto fail;
- rc = (jint)GetMenuTrackingData((MenuRef)arg0, lparg1);
-fail:
- if (arg1 && lparg1) setMenuTrackingDataFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, GetMenuTrackingData_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetMenuWidth
-JNIEXPORT jshort JNICALL OS_NATIVE(GetMenuWidth)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jshort rc = 0;
- OS_NATIVE_ENTER(env, that, GetMenuWidth_FUNC);
- rc = (jshort)GetMenuWidth((MenuRef)arg0);
- OS_NATIVE_EXIT(env, that, GetMenuWidth_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetMouse
-JNIEXPORT void JNICALL OS_NATIVE(GetMouse)
- (JNIEnv *env, jclass that, jobject arg0)
-{
- Point _arg0, *lparg0=NULL;
- OS_NATIVE_ENTER(env, that, GetMouse_FUNC);
- if (arg0) if ((lparg0 = getPointFields(env, arg0, &_arg0)) == NULL) goto fail;
- GetMouse((Point *)lparg0);
-fail:
- if (arg0 && lparg0) setPointFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, GetMouse_FUNC);
-}
-#endif
-
-#ifndef NO_GetNextDevice
-JNIEXPORT jint JNICALL OS_NATIVE(GetNextDevice)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetNextDevice_FUNC);
- rc = (jint)GetNextDevice((GDHandle)arg0);
- OS_NATIVE_EXIT(env, that, GetNextDevice_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetNextWindow
-JNIEXPORT jint JNICALL OS_NATIVE(GetNextWindow)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetNextWindow_FUNC);
- rc = (jint)GetNextWindow((WindowRef)arg0);
- OS_NATIVE_EXIT(env, that, GetNextWindow_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetPixDepth
-JNIEXPORT jshort JNICALL OS_NATIVE(GetPixDepth)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jshort rc = 0;
- OS_NATIVE_ENTER(env, that, GetPixDepth_FUNC);
- rc = (jshort)GetPixDepth((PixMapHandle)arg0);
- OS_NATIVE_EXIT(env, that, GetPixDepth_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetPort
-JNIEXPORT void JNICALL OS_NATIVE(GetPort)
- (JNIEnv *env, jclass that, jintArray arg0)
-{
- jint *lparg0=NULL;
- OS_NATIVE_ENTER(env, that, GetPort_FUNC);
- if (arg0) if ((lparg0 = (*env)->GetIntArrayElements(env, arg0, NULL)) == NULL) goto fail;
- GetPort((GrafPtr *)lparg0);
-fail:
- if (arg0 && lparg0) (*env)->ReleaseIntArrayElements(env, arg0, lparg0, 0);
- OS_NATIVE_EXIT(env, that, GetPort_FUNC);
-}
-#endif
-
-#ifndef NO_GetPortBitMapForCopyBits
-JNIEXPORT jint JNICALL OS_NATIVE(GetPortBitMapForCopyBits)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetPortBitMapForCopyBits_FUNC);
- rc = (jint)GetPortBitMapForCopyBits((CGrafPtr)arg0);
- OS_NATIVE_EXIT(env, that, GetPortBitMapForCopyBits_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetPortBounds
-JNIEXPORT void JNICALL OS_NATIVE(GetPortBounds)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1)
-{
- Rect _arg1, *lparg1=NULL;
- OS_NATIVE_ENTER(env, that, GetPortBounds_FUNC);
- if (arg1) if ((lparg1 = getRectFields(env, arg1, &_arg1)) == NULL) goto fail;
- GetPortBounds((CGrafPtr)arg0, (Rect *)lparg1);
-fail:
- if (arg1 && lparg1) setRectFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, GetPortBounds_FUNC);
-}
-#endif
-
-#ifndef NO_GetPreviousWindow
-JNIEXPORT jint JNICALL OS_NATIVE(GetPreviousWindow)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetPreviousWindow_FUNC);
- rc = (jint)GetPreviousWindow((WindowRef)arg0);
- OS_NATIVE_EXIT(env, that, GetPreviousWindow_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetPtrSize
-JNIEXPORT jint JNICALL OS_NATIVE(GetPtrSize)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetPtrSize_FUNC);
- rc = (jint)GetPtrSize((Ptr)arg0);
- OS_NATIVE_EXIT(env, that, GetPtrSize_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetRegionBounds
-JNIEXPORT void JNICALL OS_NATIVE(GetRegionBounds)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1)
-{
- Rect _arg1, *lparg1=NULL;
- OS_NATIVE_ENTER(env, that, GetRegionBounds_FUNC);
- if (arg1) if ((lparg1 = getRectFields(env, arg1, &_arg1)) == NULL) goto fail;
- GetRegionBounds((RgnHandle)arg0, (Rect *)lparg1);
-fail:
- if (arg1 && lparg1) setRectFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, GetRegionBounds_FUNC);
-}
-#endif
-
-#ifndef NO_GetRootControl
-JNIEXPORT jint JNICALL OS_NATIVE(GetRootControl)
- (JNIEnv *env, jclass that, jint arg0, jintArray arg1)
-{
- jint *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetRootControl_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL)) == NULL) goto fail;
- rc = (jint)GetRootControl((WindowRef)arg0, (ControlRef *)lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, GetRootControl_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetScrapFlavorCount
-JNIEXPORT jint JNICALL OS_NATIVE(GetScrapFlavorCount)
- (JNIEnv *env, jclass that, jint arg0, jintArray arg1)
-{
- jint *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetScrapFlavorCount_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL)) == NULL) goto fail;
- rc = (jint)GetScrapFlavorCount((ScrapRef)arg0, (UInt32 *)lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, GetScrapFlavorCount_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetScrapFlavorData__II_3I_3B
-JNIEXPORT jint JNICALL OS_NATIVE(GetScrapFlavorData__II_3I_3B)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jintArray arg2, jbyteArray arg3)
-{
- jint *lparg2=NULL;
- jbyte *lparg3=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetScrapFlavorData__II_3I_3B_FUNC);
- if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail;
- if (arg3) if ((lparg3 = (*env)->GetByteArrayElements(env, arg3, NULL)) == NULL) goto fail;
- rc = (jint)GetScrapFlavorData((ScrapRef)arg0, (ScrapFlavorType)arg1, (Size *)lparg2, (void *)lparg3);
-fail:
- if (arg3 && lparg3) (*env)->ReleaseByteArrayElements(env, arg3, lparg3, 0);
- if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- OS_NATIVE_EXIT(env, that, GetScrapFlavorData__II_3I_3B_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetScrapFlavorData__II_3I_3C
-JNIEXPORT jint JNICALL OS_NATIVE(GetScrapFlavorData__II_3I_3C)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jintArray arg2, jcharArray arg3)
-{
- jint *lparg2=NULL;
- jchar *lparg3=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetScrapFlavorData__II_3I_3C_FUNC);
- if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail;
- if (arg3) if ((lparg3 = (*env)->GetCharArrayElements(env, arg3, NULL)) == NULL) goto fail;
- rc = (jint)GetScrapFlavorData((ScrapRef)arg0, (ScrapFlavorType)arg1, (Size *)lparg2, (void *)lparg3);
-fail:
- if (arg3 && lparg3) (*env)->ReleaseCharArrayElements(env, arg3, lparg3, 0);
- if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- OS_NATIVE_EXIT(env, that, GetScrapFlavorData__II_3I_3C_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetScrapFlavorInfoList
-JNIEXPORT jint JNICALL OS_NATIVE(GetScrapFlavorInfoList)
- (JNIEnv *env, jclass that, jint arg0, jintArray arg1, jintArray arg2)
-{
- jint *lparg1=NULL;
- jint *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetScrapFlavorInfoList_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL)) == NULL) goto fail;
- if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail;
- rc = (jint)GetScrapFlavorInfoList((ScrapRef)arg0, (UInt32 *)lparg1, (ScrapFlavorInfo *)lparg2);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- if (arg1 && lparg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, GetScrapFlavorInfoList_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetScrapFlavorSize
-JNIEXPORT jint JNICALL OS_NATIVE(GetScrapFlavorSize)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jintArray arg2)
-{
- jint *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetScrapFlavorSize_FUNC);
- if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail;
- rc = (jint)GetScrapFlavorSize((ScrapRef)arg0, (ScrapFlavorType)arg1, (Size *)lparg2);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- OS_NATIVE_EXIT(env, that, GetScrapFlavorSize_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetScriptManagerVariable
-JNIEXPORT jint JNICALL OS_NATIVE(GetScriptManagerVariable)
- (JNIEnv *env, jclass that, jshort arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetScriptManagerVariable_FUNC);
- rc = (jint)GetScriptManagerVariable(arg0);
- OS_NATIVE_EXIT(env, that, GetScriptManagerVariable_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetSuperControl
-JNIEXPORT jint JNICALL OS_NATIVE(GetSuperControl)
- (JNIEnv *env, jclass that, jint arg0, jintArray arg1)
-{
- jint *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetSuperControl_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL)) == NULL) goto fail;
- rc = (jint)GetSuperControl((ControlRef)arg0, (ControlRef *)lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, GetSuperControl_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetSystemUIMode
-JNIEXPORT void JNICALL OS_NATIVE(GetSystemUIMode)
- (JNIEnv *env, jclass that, jintArray arg0, jintArray arg1)
-{
- jint *lparg0=NULL;
- jint *lparg1=NULL;
- OS_NATIVE_ENTER(env, that, GetSystemUIMode_FUNC);
- if (arg0) if ((lparg0 = (*env)->GetIntArrayElements(env, arg0, NULL)) == NULL) goto fail;
- if (arg1) if ((lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL)) == NULL) goto fail;
- GetSystemUIMode((SystemUIMode *)lparg0, (SystemUIOptions *)lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- if (arg0 && lparg0) (*env)->ReleaseIntArrayElements(env, arg0, lparg0, 0);
- OS_NATIVE_EXIT(env, that, GetSystemUIMode_FUNC);
-}
-#endif
-
-#ifndef NO_GetTabContentRect
-JNIEXPORT jint JNICALL OS_NATIVE(GetTabContentRect)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1)
-{
- Rect _arg1, *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetTabContentRect_FUNC);
- if (arg1) if ((lparg1 = getRectFields(env, arg1, &_arg1)) == NULL) goto fail;
- rc = (jint)GetTabContentRect((ControlRef)arg0, lparg1);
-fail:
- if (arg1 && lparg1) setRectFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, GetTabContentRect_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetThemeBrushAsColor
-JNIEXPORT jint JNICALL OS_NATIVE(GetThemeBrushAsColor)
- (JNIEnv *env, jclass that, jshort arg0, jshort arg1, jboolean arg2, jobject arg3)
-{
- RGBColor _arg3, *lparg3=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetThemeBrushAsColor_FUNC);
- if (arg3) if ((lparg3 = getRGBColorFields(env, arg3, &_arg3)) == NULL) goto fail;
- rc = (jint)GetThemeBrushAsColor(arg0, arg1, arg2, lparg3);
-fail:
- if (arg3 && lparg3) setRGBColorFields(env, arg3, lparg3);
- OS_NATIVE_EXIT(env, that, GetThemeBrushAsColor_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetThemeButtonContentBounds
-JNIEXPORT jint JNICALL OS_NATIVE(GetThemeButtonContentBounds)
- (JNIEnv *env, jclass that, jobject arg0, jint arg1, jobject arg2, jobject arg3)
-{
- Rect _arg0, *lparg0=NULL;
- ThemeButtonDrawInfo _arg2, *lparg2=NULL;
- Rect _arg3, *lparg3=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetThemeButtonContentBounds_FUNC);
- if (arg0) if ((lparg0 = getRectFields(env, arg0, &_arg0)) == NULL) goto fail;
- if (arg2) if ((lparg2 = getThemeButtonDrawInfoFields(env, arg2, &_arg2)) == NULL) goto fail;
- if (arg3) if ((lparg3 = getRectFields(env, arg3, &_arg3)) == NULL) goto fail;
- rc = (jint)GetThemeButtonContentBounds(lparg0, arg1, lparg2, lparg3);
-fail:
- if (arg3 && lparg3) setRectFields(env, arg3, lparg3);
- if (arg2 && lparg2) setThemeButtonDrawInfoFields(env, arg2, lparg2);
- if (arg0 && lparg0) setRectFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, GetThemeButtonContentBounds_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetThemeButtonRegion
-JNIEXPORT jint JNICALL OS_NATIVE(GetThemeButtonRegion)
- (JNIEnv *env, jclass that, jobject arg0, jint arg1, jobject arg2, jint arg3)
-{
- Rect _arg0, *lparg0=NULL;
- ThemeButtonDrawInfo _arg2, *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetThemeButtonRegion_FUNC);
- if (arg0) if ((lparg0 = getRectFields(env, arg0, &_arg0)) == NULL) goto fail;
- if (arg2) if ((lparg2 = getThemeButtonDrawInfoFields(env, arg2, &_arg2)) == NULL) goto fail;
- rc = (jint)GetThemeButtonRegion(lparg0, arg1, lparg2, (RgnHandle)arg3);
-fail:
- if (arg2 && lparg2) setThemeButtonDrawInfoFields(env, arg2, lparg2);
- if (arg0 && lparg0) setRectFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, GetThemeButtonRegion_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetThemeDrawingState
-JNIEXPORT jint JNICALL OS_NATIVE(GetThemeDrawingState)
- (JNIEnv *env, jclass that, jintArray arg0)
-{
- jint *lparg0=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetThemeDrawingState_FUNC);
- if (arg0) if ((lparg0 = (*env)->GetIntArrayElements(env, arg0, NULL)) == NULL) goto fail;
- rc = (jint)GetThemeDrawingState((ThemeDrawingState *)lparg0);
-fail:
- if (arg0 && lparg0) (*env)->ReleaseIntArrayElements(env, arg0, lparg0, 0);
- OS_NATIVE_EXIT(env, that, GetThemeDrawingState_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetThemeFont
-JNIEXPORT jint JNICALL OS_NATIVE(GetThemeFont)
- (JNIEnv *env, jclass that, jshort arg0, jshort arg1, jbyteArray arg2, jshortArray arg3, jbyteArray arg4)
-{
- jbyte *lparg2=NULL;
- jshort *lparg3=NULL;
- jbyte *lparg4=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetThemeFont_FUNC);
- if (arg2) if ((lparg2 = (*env)->GetByteArrayElements(env, arg2, NULL)) == NULL) goto fail;
- if (arg3) if ((lparg3 = (*env)->GetShortArrayElements(env, arg3, NULL)) == NULL) goto fail;
- if (arg4) if ((lparg4 = (*env)->GetByteArrayElements(env, arg4, NULL)) == NULL) goto fail;
- rc = (jint)GetThemeFont((ThemeFontID)arg0, (ScriptCode)arg1, (unsigned char *)lparg2, (SInt16 *)lparg3, (Style *)lparg4);
-fail:
- if (arg4 && lparg4) (*env)->ReleaseByteArrayElements(env, arg4, lparg4, 0);
- if (arg3 && lparg3) (*env)->ReleaseShortArrayElements(env, arg3, lparg3, 0);
- if (arg2 && lparg2) (*env)->ReleaseByteArrayElements(env, arg2, lparg2, 0);
- OS_NATIVE_EXIT(env, that, GetThemeFont_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetThemeMenuItemExtra
-JNIEXPORT jint JNICALL OS_NATIVE(GetThemeMenuItemExtra)
- (JNIEnv *env, jclass that, jshort arg0, jshortArray arg1, jshortArray arg2)
-{
- jshort *lparg1=NULL;
- jshort *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetThemeMenuItemExtra_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetShortArrayElements(env, arg1, NULL)) == NULL) goto fail;
- if (arg2) if ((lparg2 = (*env)->GetShortArrayElements(env, arg2, NULL)) == NULL) goto fail;
- rc = (jint)GetThemeMenuItemExtra(arg0, lparg1, lparg2);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseShortArrayElements(env, arg2, lparg2, 0);
- if (arg1 && lparg1) (*env)->ReleaseShortArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, GetThemeMenuItemExtra_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetThemeMetric
-JNIEXPORT jint JNICALL OS_NATIVE(GetThemeMetric)
- (JNIEnv *env, jclass that, jint arg0, jintArray arg1)
-{
- jint *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetThemeMetric_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL)) == NULL) goto fail;
- rc = (jint)GetThemeMetric(arg0, lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, GetThemeMetric_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetThemeTextColor
-JNIEXPORT jint JNICALL OS_NATIVE(GetThemeTextColor)
- (JNIEnv *env, jclass that, jshort arg0, jshort arg1, jboolean arg2, jobject arg3)
-{
- RGBColor _arg3, *lparg3=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetThemeTextColor_FUNC);
- if (arg3) if ((lparg3 = getRGBColorFields(env, arg3, &_arg3)) == NULL) goto fail;
- rc = (jint)GetThemeTextColor(arg0, arg1, arg2, lparg3);
-fail:
- if (arg3 && lparg3) setRGBColorFields(env, arg3, lparg3);
- OS_NATIVE_EXIT(env, that, GetThemeTextColor_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetThemeTextDimensions
-JNIEXPORT jint JNICALL OS_NATIVE(GetThemeTextDimensions)
- (JNIEnv *env, jclass that, jint arg0, jshort arg1, jint arg2, jboolean arg3, jobject arg4, jshortArray arg5)
-{
- Point _arg4, *lparg4=NULL;
- jshort *lparg5=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetThemeTextDimensions_FUNC);
- if (arg4) if ((lparg4 = getPointFields(env, arg4, &_arg4)) == NULL) goto fail;
- if (arg5) if ((lparg5 = (*env)->GetShortArrayElements(env, arg5, NULL)) == NULL) goto fail;
- rc = (jint)GetThemeTextDimensions((CFStringRef)arg0, (ThemeFontID)arg1, (ThemeDrawState)arg2, (Boolean)arg3, (Point *)lparg4, (SInt16 *)lparg5);
-fail:
- if (arg5 && lparg5) (*env)->ReleaseShortArrayElements(env, arg5, lparg5, 0);
- if (arg4 && lparg4) setPointFields(env, arg4, lparg4);
- OS_NATIVE_EXIT(env, that, GetThemeTextDimensions_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetUserFocusEventTarget
-JNIEXPORT jint JNICALL OS_NATIVE(GetUserFocusEventTarget)
- (JNIEnv *env, jclass that)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetUserFocusEventTarget_FUNC);
- rc = (jint)GetUserFocusEventTarget();
- OS_NATIVE_EXIT(env, that, GetUserFocusEventTarget_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetUserFocusWindow
-JNIEXPORT jint JNICALL OS_NATIVE(GetUserFocusWindow)
- (JNIEnv *env, jclass that)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetUserFocusWindow_FUNC);
- rc = (jint)GetUserFocusWindow();
- OS_NATIVE_EXIT(env, that, GetUserFocusWindow_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetWindowActivationScope
-JNIEXPORT jint JNICALL OS_NATIVE(GetWindowActivationScope)
- (JNIEnv *env, jclass that, jint arg0, jintArray arg1)
-{
- jint *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetWindowActivationScope_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL)) == NULL) goto fail;
- rc = (jint)GetWindowActivationScope((WindowRef)arg0, (WindowActivationScope *)lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, GetWindowActivationScope_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetWindowAlpha
-JNIEXPORT jint JNICALL OS_NATIVE(GetWindowAlpha)
- (JNIEnv *env, jclass that, jint arg0, jfloatArray arg1)
-{
- jfloat *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetWindowAlpha_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetFloatArrayElements(env, arg1, NULL)) == NULL) goto fail;
- rc = (jint)GetWindowAlpha((WindowRef)arg0, lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseFloatArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, GetWindowAlpha_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetWindowBounds
-JNIEXPORT void JNICALL OS_NATIVE(GetWindowBounds)
- (JNIEnv *env, jclass that, jint arg0, jshort arg1, jobject arg2)
-{
- Rect _arg2, *lparg2=NULL;
- OS_NATIVE_ENTER(env, that, GetWindowBounds_FUNC);
- if (arg2) if ((lparg2 = getRectFields(env, arg2, &_arg2)) == NULL) goto fail;
- GetWindowBounds((WindowRef)arg0, (WindowRegionCode)arg1, (Rect *)lparg2);
-fail:
- if (arg2 && lparg2) setRectFields(env, arg2, lparg2);
- OS_NATIVE_EXIT(env, that, GetWindowBounds_FUNC);
-}
-#endif
-
-#ifndef NO_GetWindowClass
-JNIEXPORT jint JNICALL OS_NATIVE(GetWindowClass)
- (JNIEnv *env, jclass that, jint arg0, jintArray arg1)
-{
- jint *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetWindowClass_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL)) == NULL) goto fail;
- rc = (jint)GetWindowClass((WindowRef)arg0, (WindowClass *)lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, GetWindowClass_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetWindowDefaultButton
-JNIEXPORT jint JNICALL OS_NATIVE(GetWindowDefaultButton)
- (JNIEnv *env, jclass that, jint arg0, jintArray arg1)
-{
- jint *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetWindowDefaultButton_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL)) == NULL) goto fail;
- rc = (jint)GetWindowDefaultButton((WindowRef)arg0, (ControlRef *)lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, GetWindowDefaultButton_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetWindowEventTarget
-JNIEXPORT jint JNICALL OS_NATIVE(GetWindowEventTarget)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetWindowEventTarget_FUNC);
- rc = (jint)GetWindowEventTarget((WindowRef)arg0);
- OS_NATIVE_EXIT(env, that, GetWindowEventTarget_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetWindowFromPort
-JNIEXPORT jint JNICALL OS_NATIVE(GetWindowFromPort)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetWindowFromPort_FUNC);
- rc = (jint)GetWindowFromPort((CGrafPtr)arg0);
- OS_NATIVE_EXIT(env, that, GetWindowFromPort_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetWindowGroupOfClass
-JNIEXPORT jint JNICALL OS_NATIVE(GetWindowGroupOfClass)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetWindowGroupOfClass_FUNC);
- rc = (jint)GetWindowGroupOfClass(arg0);
- OS_NATIVE_EXIT(env, that, GetWindowGroupOfClass_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetWindowList
-JNIEXPORT jint JNICALL OS_NATIVE(GetWindowList)
- (JNIEnv *env, jclass that)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetWindowList_FUNC);
- rc = (jint)GetWindowList();
- OS_NATIVE_EXIT(env, that, GetWindowList_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetWindowModality
-JNIEXPORT jint JNICALL OS_NATIVE(GetWindowModality)
- (JNIEnv *env, jclass that, jint arg0, jintArray arg1, jintArray arg2)
-{
- jint *lparg1=NULL;
- jint *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetWindowModality_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL)) == NULL) goto fail;
- if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail;
- rc = (jint)GetWindowModality((WindowRef)arg0, (WindowModality *)lparg1, (WindowRef *)lparg2);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- if (arg1 && lparg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, GetWindowModality_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetWindowPort
-JNIEXPORT jint JNICALL OS_NATIVE(GetWindowPort)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetWindowPort_FUNC);
- rc = (jint)GetWindowPort((WindowRef)arg0);
- OS_NATIVE_EXIT(env, that, GetWindowPort_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetWindowRegion
-JNIEXPORT jint JNICALL OS_NATIVE(GetWindowRegion)
- (JNIEnv *env, jclass that, jint arg0, jshort arg1, jint arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetWindowRegion_FUNC);
- rc = (jint)GetWindowRegion((WindowRef)arg0, (WindowRegionCode)arg1, (RgnHandle)arg2);
- OS_NATIVE_EXIT(env, that, GetWindowRegion_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetWindowResizeLimits
-JNIEXPORT jint JNICALL OS_NATIVE(GetWindowResizeLimits)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1, jobject arg2)
-{
- CGPoint _arg1, *lparg1=NULL;
- CGPoint _arg2, *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GetWindowResizeLimits_FUNC);
- if (arg1) if ((lparg1 = getCGPointFields(env, arg1, &_arg1)) == NULL) goto fail;
- if (arg2) if ((lparg2 = getCGPointFields(env, arg2, &_arg2)) == NULL) goto fail;
- rc = (jint)GetWindowResizeLimits((WindowRef)arg0, (HISize *)lparg1, (HISize *)lparg2);
-fail:
- if (arg2 && lparg2) setCGPointFields(env, arg2, lparg2);
- if (arg1 && lparg1) setCGPointFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, GetWindowResizeLimits_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_GetWindowStructureWidths
-JNIEXPORT void JNICALL OS_NATIVE(GetWindowStructureWidths)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1)
-{
- Rect _arg1, *lparg1=NULL;
- OS_NATIVE_ENTER(env, that, GetWindowStructureWidths_FUNC);
- if (arg1) if ((lparg1 = getRectFields(env, arg1, &_arg1)) == NULL) goto fail;
- GetWindowStructureWidths((WindowRef)arg0, (Rect *)lparg1);
-fail:
- if (arg1 && lparg1) setRectFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, GetWindowStructureWidths_FUNC);
-}
-#endif
-
-#ifndef NO_HIComboBoxAppendTextItem
-JNIEXPORT jint JNICALL OS_NATIVE(HIComboBoxAppendTextItem)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jintArray arg2)
-{
- jint *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIComboBoxAppendTextItem_FUNC);
- if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail;
- rc = (jint)HIComboBoxAppendTextItem((HIViewRef)arg0, (CFStringRef)arg1, (CFIndex *)lparg2);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- OS_NATIVE_EXIT(env, that, HIComboBoxAppendTextItem_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIComboBoxCopyTextItemAtIndex
-JNIEXPORT jint JNICALL OS_NATIVE(HIComboBoxCopyTextItemAtIndex)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jintArray arg2)
-{
- jint *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIComboBoxCopyTextItemAtIndex_FUNC);
- if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail;
- rc = (jint)HIComboBoxCopyTextItemAtIndex((HIViewRef)arg0, (CFIndex)arg1, (CFStringRef *)lparg2);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- OS_NATIVE_EXIT(env, that, HIComboBoxCopyTextItemAtIndex_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIComboBoxCreate
-JNIEXPORT jint JNICALL OS_NATIVE(HIComboBoxCreate)
- (JNIEnv *env, jclass that, jobject arg0, jint arg1, jobject arg2, jint arg3, jint arg4, jintArray arg5)
-{
- CGRect _arg0, *lparg0=NULL;
- ControlFontStyleRec _arg2, *lparg2=NULL;
- jint *lparg5=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIComboBoxCreate_FUNC);
- if (arg0) if ((lparg0 = getCGRectFields(env, arg0, &_arg0)) == NULL) goto fail;
- if (arg2) if ((lparg2 = getControlFontStyleRecFields(env, arg2, &_arg2)) == NULL) goto fail;
- if (arg5) if ((lparg5 = (*env)->GetIntArrayElements(env, arg5, NULL)) == NULL) goto fail;
- rc = (jint)HIComboBoxCreate((const HIRect *)lparg0, (CFStringRef)arg1, (const ControlFontStyleRec *)lparg2, (CFArrayRef)arg3, (OptionBits)arg4, (HIViewRef *)lparg5);
-fail:
- if (arg5 && lparg5) (*env)->ReleaseIntArrayElements(env, arg5, lparg5, 0);
- if (arg2 && lparg2) setControlFontStyleRecFields(env, arg2, lparg2);
- if (arg0 && lparg0) setCGRectFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, HIComboBoxCreate_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIComboBoxGetItemCount
-JNIEXPORT jint JNICALL OS_NATIVE(HIComboBoxGetItemCount)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIComboBoxGetItemCount_FUNC);
- rc = (jint)HIComboBoxGetItemCount((HIViewRef)arg0);
- OS_NATIVE_EXIT(env, that, HIComboBoxGetItemCount_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIComboBoxInsertTextItemAtIndex
-JNIEXPORT jint JNICALL OS_NATIVE(HIComboBoxInsertTextItemAtIndex)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIComboBoxInsertTextItemAtIndex_FUNC);
- rc = (jint)HIComboBoxInsertTextItemAtIndex((HIViewRef)arg0, (CFIndex)arg1, (CFStringRef)arg2);
- OS_NATIVE_EXIT(env, that, HIComboBoxInsertTextItemAtIndex_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIComboBoxIsListVisible
-JNIEXPORT jboolean JNICALL OS_NATIVE(HIComboBoxIsListVisible)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jboolean rc = 0;
- OS_NATIVE_ENTER(env, that, HIComboBoxIsListVisible_FUNC);
-/*
- rc = (jboolean)HIComboBoxIsListVisible((HIViewRef)arg0);
-*/
- {
- LOAD_FUNCTION(fp, HIComboBoxIsListVisible)
- if (fp) {
- rc = (jboolean)((jboolean (CALLING_CONVENTION*)(HIViewRef))fp)((HIViewRef)arg0);
- }
- }
- OS_NATIVE_EXIT(env, that, HIComboBoxIsListVisible_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIComboBoxRemoveItemAtIndex
-JNIEXPORT jint JNICALL OS_NATIVE(HIComboBoxRemoveItemAtIndex)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIComboBoxRemoveItemAtIndex_FUNC);
- rc = (jint)HIComboBoxRemoveItemAtIndex((HIViewRef)arg0, (CFIndex)arg1);
- OS_NATIVE_EXIT(env, that, HIComboBoxRemoveItemAtIndex_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIComboBoxSetListVisible
-JNIEXPORT jint JNICALL OS_NATIVE(HIComboBoxSetListVisible)
- (JNIEnv *env, jclass that, jint arg0, jboolean arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIComboBoxSetListVisible_FUNC);
-/*
- rc = (jint)HIComboBoxSetListVisible((HIViewRef)arg0, arg1);
-*/
- {
- LOAD_FUNCTION(fp, HIComboBoxSetListVisible)
- if (fp) {
- rc = (jint)((jint (CALLING_CONVENTION*)(HIViewRef, jboolean))fp)((HIViewRef)arg0, arg1);
- }
- }
- OS_NATIVE_EXIT(env, that, HIComboBoxSetListVisible_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HICopyAccessibilityRoleDescription
-JNIEXPORT jint JNICALL OS_NATIVE(HICopyAccessibilityRoleDescription)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HICopyAccessibilityRoleDescription_FUNC);
- rc = (jint)HICopyAccessibilityRoleDescription((CFStringRef)arg0, (CFStringRef)arg1);
- OS_NATIVE_EXIT(env, that, HICopyAccessibilityRoleDescription_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HICreateTransformedCGImage
-JNIEXPORT jint JNICALL OS_NATIVE(HICreateTransformedCGImage)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jintArray arg2)
-{
- jint *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HICreateTransformedCGImage_FUNC);
- if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail;
-/*
- rc = (jint)HICreateTransformedCGImage((CGImageRef)arg0, arg1, (CGImageRef *)lparg2);
-*/
- {
- LOAD_FUNCTION(fp, HICreateTransformedCGImage)
- if (fp) {
- rc = (jint)((jint (CALLING_CONVENTION*)(CGImageRef, jint, CGImageRef *))fp)((CGImageRef)arg0, arg1, (CGImageRef *)lparg2);
- }
- }
-fail:
- if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- OS_NATIVE_EXIT(env, that, HICreateTransformedCGImage_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIObjectCopyClassID
-JNIEXPORT jint JNICALL OS_NATIVE(HIObjectCopyClassID)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIObjectCopyClassID_FUNC);
- rc = (jint)HIObjectCopyClassID((HIObjectRef)arg0);
- OS_NATIVE_EXIT(env, that, HIObjectCopyClassID_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIObjectCreate
-JNIEXPORT jint JNICALL OS_NATIVE(HIObjectCreate)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jintArray arg2)
-{
- jint *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIObjectCreate_FUNC);
- if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail;
- rc = (jint)HIObjectCreate((CFStringRef)arg0, (EventRef)arg1, (HIObjectRef *)lparg2);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- OS_NATIVE_EXIT(env, that, HIObjectCreate_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIObjectRegisterSubclass
-JNIEXPORT jint JNICALL OS_NATIVE(HIObjectRegisterSubclass)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jint arg4, jintArray arg5, jint arg6, jintArray arg7)
-{
- jint *lparg5=NULL;
- jint *lparg7=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIObjectRegisterSubclass_FUNC);
- if (arg5) if ((lparg5 = (*env)->GetIntArrayElements(env, arg5, NULL)) == NULL) goto fail;
- if (arg7) if ((lparg7 = (*env)->GetIntArrayElements(env, arg7, NULL)) == NULL) goto fail;
- rc = (jint)HIObjectRegisterSubclass((CFStringRef)arg0, (CFStringRef)arg1, (OptionBits)arg2, (EventHandlerUPP)arg3, (UInt32)arg4, (const EventTypeSpec *)lparg5, (void *)arg6, (HIObjectClassRef *)lparg7);
-fail:
- if (arg7 && lparg7) (*env)->ReleaseIntArrayElements(env, arg7, lparg7, 0);
- if (arg5 && lparg5) (*env)->ReleaseIntArrayElements(env, arg5, lparg5, 0);
- OS_NATIVE_EXIT(env, that, HIObjectRegisterSubclass_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIObjectSetAccessibilityIgnored
-JNIEXPORT jint JNICALL OS_NATIVE(HIObjectSetAccessibilityIgnored)
- (JNIEnv *env, jclass that, jint arg0, jboolean arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIObjectSetAccessibilityIgnored_FUNC);
- rc = (jint)HIObjectSetAccessibilityIgnored((HIObjectRef)arg0, arg1);
- OS_NATIVE_EXIT(env, that, HIObjectSetAccessibilityIgnored_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIObjectSetAuxiliaryAccessibilityAttribute
-JNIEXPORT jint JNICALL OS_NATIVE(HIObjectSetAuxiliaryAccessibilityAttribute)
- (JNIEnv *env, jclass that, jint arg0, jlong arg1, jint arg2, jint arg3)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIObjectSetAuxiliaryAccessibilityAttribute_FUNC);
- rc = (jint)HIObjectSetAuxiliaryAccessibilityAttribute((HIObjectRef)arg0, (UInt64)arg1, (CFStringRef)arg2, (CFTypeRef)arg3);
- OS_NATIVE_EXIT(env, that, HIObjectSetAuxiliaryAccessibilityAttribute_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIScrollViewCreate
-JNIEXPORT jint JNICALL OS_NATIVE(HIScrollViewCreate)
- (JNIEnv *env, jclass that, jint arg0, jintArray arg1)
-{
- jint *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIScrollViewCreate_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL)) == NULL) goto fail;
- rc = (jint)HIScrollViewCreate(arg0, (HIViewRef*)lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, HIScrollViewCreate_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIScrollViewSetScrollBarAutoHide
-JNIEXPORT jint JNICALL OS_NATIVE(HIScrollViewSetScrollBarAutoHide)
- (JNIEnv *env, jclass that, jint arg0, jboolean arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIScrollViewSetScrollBarAutoHide_FUNC);
- rc = (jint)HIScrollViewSetScrollBarAutoHide((HIViewRef)arg0, arg1);
- OS_NATIVE_EXIT(env, that, HIScrollViewSetScrollBarAutoHide_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HISearchFieldChangeAttributes
-JNIEXPORT jint JNICALL OS_NATIVE(HISearchFieldChangeAttributes)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HISearchFieldChangeAttributes_FUNC);
- rc = (jint)HISearchFieldChangeAttributes((HIViewRef)arg0, (OptionBits)arg1, (OptionBits)arg2);
- OS_NATIVE_EXIT(env, that, HISearchFieldChangeAttributes_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HISearchFieldCopyDescriptiveText
-JNIEXPORT jint JNICALL OS_NATIVE(HISearchFieldCopyDescriptiveText)
- (JNIEnv *env, jclass that, jint arg0, jintArray arg1)
-{
- jint *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HISearchFieldCopyDescriptiveText_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL)) == NULL) goto fail;
- rc = (jint)HISearchFieldCopyDescriptiveText((HIViewRef)arg0, (CFStringRef *)lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, HISearchFieldCopyDescriptiveText_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HISearchFieldCreate
-JNIEXPORT jint JNICALL OS_NATIVE(HISearchFieldCreate)
- (JNIEnv *env, jclass that, jobject arg0, jint arg1, jint arg2, jint arg3, jintArray arg4)
-{
- CGRect _arg0, *lparg0=NULL;
- jint *lparg4=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HISearchFieldCreate_FUNC);
- if (arg0) if ((lparg0 = getCGRectFields(env, arg0, &_arg0)) == NULL) goto fail;
- if (arg4) if ((lparg4 = (*env)->GetIntArrayElements(env, arg4, NULL)) == NULL) goto fail;
- rc = (jint)HISearchFieldCreate(lparg0, arg1, (MenuRef)arg2, (CFStringRef)arg3, (HIViewRef*)lparg4);
-fail:
- if (arg4 && lparg4) (*env)->ReleaseIntArrayElements(env, arg4, lparg4, 0);
- if (arg0 && lparg0) setCGRectFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, HISearchFieldCreate_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HISearchFieldGetAttributes
-JNIEXPORT jint JNICALL OS_NATIVE(HISearchFieldGetAttributes)
- (JNIEnv *env, jclass that, jint arg0, jintArray arg1)
-{
- jint *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HISearchFieldGetAttributes_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL)) == NULL) goto fail;
- rc = (jint)HISearchFieldGetAttributes((HIViewRef)arg0, (OptionBits*)lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, HISearchFieldGetAttributes_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HISearchFieldSetDescriptiveText
-JNIEXPORT jint JNICALL OS_NATIVE(HISearchFieldSetDescriptiveText)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HISearchFieldSetDescriptiveText_FUNC);
- rc = (jint)HISearchFieldSetDescriptiveText((HIViewRef)arg0, (CFStringRef)arg1);
- OS_NATIVE_EXIT(env, that, HISearchFieldSetDescriptiveText_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIShapeCreateWithQDRgn
-JNIEXPORT jint JNICALL OS_NATIVE(HIShapeCreateWithQDRgn)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIShapeCreateWithQDRgn_FUNC);
-/*
- rc = (jint)HIShapeCreateWithQDRgn(arg0);
-*/
- {
- LOAD_FUNCTION(fp, HIShapeCreateWithQDRgn)
- if (fp) {
- rc = (jint)((jint (CALLING_CONVENTION*)(jint))fp)(arg0);
- }
- }
- OS_NATIVE_EXIT(env, that, HIShapeCreateWithQDRgn_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIShapeReplacePathInCGContext
-JNIEXPORT jint JNICALL OS_NATIVE(HIShapeReplacePathInCGContext)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIShapeReplacePathInCGContext_FUNC);
-/*
- rc = (jint)HIShapeReplacePathInCGContext(arg0, arg1);
-*/
- {
- LOAD_FUNCTION(fp, HIShapeReplacePathInCGContext)
- if (fp) {
- rc = (jint)((jint (CALLING_CONVENTION*)(jint, jint))fp)(arg0, arg1);
- }
- }
- OS_NATIVE_EXIT(env, that, HIShapeReplacePathInCGContext_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HITextViewCreate
-JNIEXPORT jint JNICALL OS_NATIVE(HITextViewCreate)
- (JNIEnv *env, jclass that, jobject arg0, jint arg1, jint arg2, jintArray arg3)
-{
- CGRect _arg0, *lparg0=NULL;
- jint *lparg3=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HITextViewCreate_FUNC);
- if (arg0) if ((lparg0 = getCGRectFields(env, arg0, &_arg0)) == NULL) goto fail;
- if (arg3) if ((lparg3 = (*env)->GetIntArrayElements(env, arg3, NULL)) == NULL) goto fail;
- rc = (jint)HITextViewCreate(lparg0, arg1, arg2, (HIViewRef *)lparg3);
-fail:
- if (arg3 && lparg3) (*env)->ReleaseIntArrayElements(env, arg3, lparg3, 0);
- if (arg0 && lparg0) setCGRectFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, HITextViewCreate_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HITextViewGetTXNObject
-JNIEXPORT jint JNICALL OS_NATIVE(HITextViewGetTXNObject)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HITextViewGetTXNObject_FUNC);
- rc = (jint)HITextViewGetTXNObject((HIViewRef)arg0);
- OS_NATIVE_EXIT(env, that, HITextViewGetTXNObject_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HITextViewSetBackgroundColor
-JNIEXPORT jint JNICALL OS_NATIVE(HITextViewSetBackgroundColor)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HITextViewSetBackgroundColor_FUNC);
- rc = (jint)HITextViewSetBackgroundColor((HIViewRef)arg0, (CGColorRef)arg1);
- OS_NATIVE_EXIT(env, that, HITextViewSetBackgroundColor_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIThemeDrawBackground
-JNIEXPORT jint JNICALL OS_NATIVE(HIThemeDrawBackground)
- (JNIEnv *env, jclass that, jobject arg0, jobject arg1, jint arg2, jint arg3)
-{
- CGRect _arg0, *lparg0=NULL;
- HIThemeBackgroundDrawInfo _arg1, *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIThemeDrawBackground_FUNC);
- if (arg0) if ((lparg0 = getCGRectFields(env, arg0, &_arg0)) == NULL) goto fail;
- if (arg1) if ((lparg1 = getHIThemeBackgroundDrawInfoFields(env, arg1, &_arg1)) == NULL) goto fail;
- rc = (jint)HIThemeDrawBackground(lparg0, lparg1, (CGContextRef)arg2, arg3);
-fail:
- if (arg1 && lparg1) setHIThemeBackgroundDrawInfoFields(env, arg1, lparg1);
- if (arg0 && lparg0) setCGRectFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, HIThemeDrawBackground_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIThemeDrawButton
-JNIEXPORT jint JNICALL OS_NATIVE(HIThemeDrawButton)
- (JNIEnv *env, jclass that, jobject arg0, jobject arg1, jint arg2, jint arg3, jobject arg4)
-{
- CGRect _arg0, *lparg0=NULL;
- HIThemeButtonDrawInfo _arg1, *lparg1=NULL;
- CGRect _arg4, *lparg4=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIThemeDrawButton_FUNC);
- if (arg0) if ((lparg0 = getCGRectFields(env, arg0, &_arg0)) == NULL) goto fail;
- if (arg1) if ((lparg1 = getHIThemeButtonDrawInfoFields(env, arg1, &_arg1)) == NULL) goto fail;
- if (arg4) if ((lparg4 = &_arg4) == NULL) goto fail;
- rc = (jint)HIThemeDrawButton((const HIRect *)lparg0, (const HIThemeButtonDrawInfo *)lparg1, (CGContextRef)arg2, (HIThemeOrientation)arg3, (HIRect *)lparg4);
-fail:
- if (arg4 && lparg4) setCGRectFields(env, arg4, lparg4);
- if (arg1 && lparg1) setHIThemeButtonDrawInfoFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, HIThemeDrawButton_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIThemeDrawFocusRect
-JNIEXPORT jint JNICALL OS_NATIVE(HIThemeDrawFocusRect)
- (JNIEnv *env, jclass that, jobject arg0, jboolean arg1, jint arg2, jint arg3)
-{
- CGRect _arg0, *lparg0=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIThemeDrawFocusRect_FUNC);
- if (arg0) if ((lparg0 = getCGRectFields(env, arg0, &_arg0)) == NULL) goto fail;
- rc = (jint)HIThemeDrawFocusRect(lparg0, arg1, (CGContextRef)arg2, arg3);
-fail:
- if (arg0 && lparg0) setCGRectFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, HIThemeDrawFocusRect_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIThemeDrawFrame
-JNIEXPORT jint JNICALL OS_NATIVE(HIThemeDrawFrame)
- (JNIEnv *env, jclass that, jobject arg0, jobject arg1, jint arg2, jint arg3)
-{
- CGRect _arg0, *lparg0=NULL;
- HIThemeFrameDrawInfo _arg1, *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIThemeDrawFrame_FUNC);
- if (arg0) if ((lparg0 = getCGRectFields(env, arg0, &_arg0)) == NULL) goto fail;
- if (arg1) if ((lparg1 = getHIThemeFrameDrawInfoFields(env, arg1, &_arg1)) == NULL) goto fail;
- rc = (jint)HIThemeDrawFrame(lparg0, lparg1, (CGContextRef)arg2, arg3);
-fail:
- if (arg1 && lparg1) setHIThemeFrameDrawInfoFields(env, arg1, lparg1);
- if (arg0 && lparg0) setCGRectFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, HIThemeDrawFrame_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIThemeDrawGenericWell
-JNIEXPORT jint JNICALL OS_NATIVE(HIThemeDrawGenericWell)
- (JNIEnv *env, jclass that, jobject arg0, jobject arg1, jint arg2, jint arg3)
-{
- CGRect _arg0, *lparg0=NULL;
- HIThemeButtonDrawInfo _arg1, *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIThemeDrawGenericWell_FUNC);
- if (arg0) if ((lparg0 = getCGRectFields(env, arg0, &_arg0)) == NULL) goto fail;
- if (arg1) if ((lparg1 = getHIThemeButtonDrawInfoFields(env, arg1, &_arg1)) == NULL) goto fail;
- rc = (jint)HIThemeDrawGenericWell((const HIRect *)lparg0, (const HIThemeButtonDrawInfo *)lparg1, (CGContextRef)arg2, (HIThemeOrientation)arg3);
-fail:
- if (arg1 && lparg1) setHIThemeButtonDrawInfoFields(env, arg1, lparg1);
- if (arg0 && lparg0) setCGRectFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, HIThemeDrawGenericWell_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIThemeDrawGroupBox
-JNIEXPORT jint JNICALL OS_NATIVE(HIThemeDrawGroupBox)
- (JNIEnv *env, jclass that, jobject arg0, jobject arg1, jint arg2, jint arg3)
-{
- CGRect _arg0, *lparg0=NULL;
- HIThemeGroupBoxDrawInfo _arg1, *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIThemeDrawGroupBox_FUNC);
- if (arg0) if ((lparg0 = getCGRectFields(env, arg0, &_arg0)) == NULL) goto fail;
- if (arg1) if ((lparg1 = getHIThemeGroupBoxDrawInfoFields(env, arg1, &_arg1)) == NULL) goto fail;
- rc = (jint)HIThemeDrawGroupBox(lparg0, lparg1, (CGContextRef)arg2, arg3);
-fail:
- if (arg1 && lparg1) setHIThemeGroupBoxDrawInfoFields(env, arg1, lparg1);
- if (arg0 && lparg0) setCGRectFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, HIThemeDrawGroupBox_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIThemeDrawGrowBox
-JNIEXPORT jint JNICALL OS_NATIVE(HIThemeDrawGrowBox)
- (JNIEnv *env, jclass that, jobject arg0, jobject arg1, jint arg2, jint arg3)
-{
- CGPoint _arg0, *lparg0=NULL;
- HIThemeGrowBoxDrawInfo _arg1, *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIThemeDrawGrowBox_FUNC);
- if (arg0) if ((lparg0 = getCGPointFields(env, arg0, &_arg0)) == NULL) goto fail;
- if (arg1) if ((lparg1 = getHIThemeGrowBoxDrawInfoFields(env, arg1, &_arg1)) == NULL) goto fail;
- rc = (jint)HIThemeDrawGrowBox(lparg0, lparg1, (CGContextRef)arg2, arg3);
-fail:
- if (arg1 && lparg1) setHIThemeGrowBoxDrawInfoFields(env, arg1, lparg1);
- if (arg0 && lparg0) setCGPointFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, HIThemeDrawGrowBox_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIThemeDrawPopupArrow
-JNIEXPORT jint JNICALL OS_NATIVE(HIThemeDrawPopupArrow)
- (JNIEnv *env, jclass that, jobject arg0, jobject arg1, jint arg2, jint arg3)
-{
- CGRect _arg0, *lparg0=NULL;
- HIThemePopupArrowDrawInfo _arg1, *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIThemeDrawPopupArrow_FUNC);
- if (arg0) if ((lparg0 = getCGRectFields(env, arg0, &_arg0)) == NULL) goto fail;
- if (arg1) if ((lparg1 = getHIThemePopupArrowDrawInfoFields(env, arg1, &_arg1)) == NULL) goto fail;
- rc = (jint)HIThemeDrawPopupArrow(lparg0, lparg1, (CGContextRef)arg2, arg3);
-fail:
- if (arg1 && lparg1) setHIThemePopupArrowDrawInfoFields(env, arg1, lparg1);
- if (arg0 && lparg0) setCGRectFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, HIThemeDrawPopupArrow_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIThemeDrawSeparator
-JNIEXPORT jint JNICALL OS_NATIVE(HIThemeDrawSeparator)
- (JNIEnv *env, jclass that, jobject arg0, jobject arg1, jint arg2, jint arg3)
-{
- CGRect _arg0, *lparg0=NULL;
- HIThemeSeparatorDrawInfo _arg1, *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIThemeDrawSeparator_FUNC);
- if (arg0) if ((lparg0 = getCGRectFields(env, arg0, &_arg0)) == NULL) goto fail;
- if (arg1) if ((lparg1 = getHIThemeSeparatorDrawInfoFields(env, arg1, &_arg1)) == NULL) goto fail;
- rc = (jint)HIThemeDrawSeparator(lparg0, lparg1, (CGContextRef)arg2, arg3);
-fail:
- if (arg1 && lparg1) setHIThemeSeparatorDrawInfoFields(env, arg1, lparg1);
- if (arg0 && lparg0) setCGRectFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, HIThemeDrawSeparator_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIThemeDrawTab
-JNIEXPORT jint JNICALL OS_NATIVE(HIThemeDrawTab)
- (JNIEnv *env, jclass that, jobject arg0, jobject arg1, jint arg2, jint arg3, jobject arg4)
-{
- CGRect _arg0, *lparg0=NULL;
- HIThemeTabDrawInfo _arg1, *lparg1=NULL;
- CGRect _arg4, *lparg4=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIThemeDrawTab_FUNC);
- if (arg0) if ((lparg0 = getCGRectFields(env, arg0, &_arg0)) == NULL) goto fail;
- if (arg1) if ((lparg1 = getHIThemeTabDrawInfoFields(env, arg1, &_arg1)) == NULL) goto fail;
- if (arg4) if ((lparg4 = &_arg4) == NULL) goto fail;
- rc = (jint)HIThemeDrawTab((const HIRect *)lparg0, (const HIThemeTabDrawInfo *)lparg1, (CGContextRef)arg2, (HIThemeOrientation)arg3, (HIRect *)lparg4);
-fail:
- if (arg4 && lparg4) setCGRectFields(env, arg4, lparg4);
- if (arg1 && lparg1) setHIThemeTabDrawInfoFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, HIThemeDrawTab_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIThemeDrawTabPane
-JNIEXPORT jint JNICALL OS_NATIVE(HIThemeDrawTabPane)
- (JNIEnv *env, jclass that, jobject arg0, jobject arg1, jint arg2, jint arg3)
-{
- CGRect _arg0, *lparg0=NULL;
- HIThemeTabPaneDrawInfo _arg1, *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIThemeDrawTabPane_FUNC);
- if (arg0) if ((lparg0 = getCGRectFields(env, arg0, &_arg0)) == NULL) goto fail;
- if (arg1) if ((lparg1 = getHIThemeTabPaneDrawInfoFields(env, arg1, &_arg1)) == NULL) goto fail;
- rc = (jint)HIThemeDrawTabPane((const HIRect *)lparg0, (const HIThemeTabPaneDrawInfo *)lparg1, (CGContextRef)arg2, (HIThemeOrientation)arg3);
-fail:
- if (arg1 && lparg1) setHIThemeTabPaneDrawInfoFields(env, arg1, lparg1);
- if (arg0 && lparg0) setCGRectFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, HIThemeDrawTabPane_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIThemeDrawTextBox
-JNIEXPORT jint JNICALL OS_NATIVE(HIThemeDrawTextBox)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1, jobject arg2, jint arg3, jint arg4)
-{
- CGRect _arg1, *lparg1=NULL;
- HIThemeTextInfo _arg2, *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIThemeDrawTextBox_FUNC);
- if (arg1) if ((lparg1 = getCGRectFields(env, arg1, &_arg1)) == NULL) goto fail;
- if (arg2) if ((lparg2 = getHIThemeTextInfoFields(env, arg2, &_arg2)) == NULL) goto fail;
- rc = (jint)HIThemeDrawTextBox((CFStringRef)arg0, lparg1, lparg2, (CGContextRef)arg3, arg4);
-fail:
- if (arg2 && lparg2) setHIThemeTextInfoFields(env, arg2, lparg2);
- if (arg1 && lparg1) setCGRectFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, HIThemeDrawTextBox_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIThemeDrawTrack
-JNIEXPORT jint JNICALL OS_NATIVE(HIThemeDrawTrack)
- (JNIEnv *env, jclass that, jobject arg0, jobject arg1, jint arg2, jint arg3)
-{
- HIThemeTrackDrawInfo _arg0, *lparg0=NULL;
- CGRect _arg1, *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIThemeDrawTrack_FUNC);
- if (arg0) if ((lparg0 = getHIThemeTrackDrawInfoFields(env, arg0, &_arg0)) == NULL) goto fail;
- if (arg1) if ((lparg1 = getCGRectFields(env, arg1, &_arg1)) == NULL) goto fail;
- rc = (jint)HIThemeDrawTrack(lparg0, lparg1, (CGContextRef)arg2, arg3);
-fail:
- if (arg1 && lparg1) setCGRectFields(env, arg1, lparg1);
- if (arg0 && lparg0) setHIThemeTrackDrawInfoFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, HIThemeDrawTrack_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIThemeGetButtonBackgroundBounds
-JNIEXPORT jint JNICALL OS_NATIVE(HIThemeGetButtonBackgroundBounds)
- (JNIEnv *env, jclass that, jobject arg0, jobject arg1, jobject arg2)
-{
- CGRect _arg0, *lparg0=NULL;
- HIThemeButtonDrawInfo _arg1, *lparg1=NULL;
- CGRect _arg2, *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIThemeGetButtonBackgroundBounds_FUNC);
- if (arg0) if ((lparg0 = getCGRectFields(env, arg0, &_arg0)) == NULL) goto fail;
- if (arg1) if ((lparg1 = getHIThemeButtonDrawInfoFields(env, arg1, &_arg1)) == NULL) goto fail;
- if (arg2) if ((lparg2 = getCGRectFields(env, arg2, &_arg2)) == NULL) goto fail;
- rc = (jint)HIThemeGetButtonBackgroundBounds(lparg0, lparg1, lparg2);
-fail:
- if (arg2 && lparg2) setCGRectFields(env, arg2, lparg2);
- if (arg1 && lparg1) setHIThemeButtonDrawInfoFields(env, arg1, lparg1);
- if (arg0 && lparg0) setCGRectFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, HIThemeGetButtonBackgroundBounds_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIThemeGetButtonContentBounds
-JNIEXPORT jint JNICALL OS_NATIVE(HIThemeGetButtonContentBounds)
- (JNIEnv *env, jclass that, jobject arg0, jobject arg1, jobject arg2)
-{
- CGRect _arg0, *lparg0=NULL;
- HIThemeButtonDrawInfo _arg1, *lparg1=NULL;
- CGRect _arg2, *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIThemeGetButtonContentBounds_FUNC);
- if (arg0) if ((lparg0 = getCGRectFields(env, arg0, &_arg0)) == NULL) goto fail;
- if (arg1) if ((lparg1 = getHIThemeButtonDrawInfoFields(env, arg1, &_arg1)) == NULL) goto fail;
- if (arg2) if ((lparg2 = getCGRectFields(env, arg2, &_arg2)) == NULL) goto fail;
- rc = (jint)HIThemeGetButtonContentBounds(lparg0, lparg1, lparg2);
-fail:
- if (arg2 && lparg2) setCGRectFields(env, arg2, lparg2);
- if (arg1 && lparg1) setHIThemeButtonDrawInfoFields(env, arg1, lparg1);
- if (arg0 && lparg0) setCGRectFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, HIThemeGetButtonContentBounds_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIThemeGetScrollBarTrackRect
-JNIEXPORT jint JNICALL OS_NATIVE(HIThemeGetScrollBarTrackRect)
- (JNIEnv *env, jclass that, jobject arg0, jobject arg1, jboolean arg2, jobject arg3)
-{
- CGRect _arg0, *lparg0=NULL;
- HIScrollBarTrackInfo _arg1, *lparg1=NULL;
- CGRect _arg3, *lparg3=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIThemeGetScrollBarTrackRect_FUNC);
- if (arg0) if ((lparg0 = getCGRectFields(env, arg0, &_arg0)) == NULL) goto fail;
- if (arg1) if ((lparg1 = getHIScrollBarTrackInfoFields(env, arg1, &_arg1)) == NULL) goto fail;
- if (arg3) if ((lparg3 = getCGRectFields(env, arg3, &_arg3)) == NULL) goto fail;
- rc = (jint)HIThemeGetScrollBarTrackRect(lparg0, lparg1, arg2, lparg3);
-fail:
- if (arg3 && lparg3) setCGRectFields(env, arg3, lparg3);
- if (arg1 && lparg1) setHIScrollBarTrackInfoFields(env, arg1, lparg1);
- if (arg0 && lparg0) setCGRectFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, HIThemeGetScrollBarTrackRect_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIThemeGetTextDimensions
-JNIEXPORT jint JNICALL OS_NATIVE(HIThemeGetTextDimensions)
- (JNIEnv *env, jclass that, jint arg0, jfloat arg1, jobject arg2, jfloatArray arg3, jfloatArray arg4, jfloatArray arg5)
-{
- HIThemeTextInfo _arg2, *lparg2=NULL;
- jfloat *lparg3=NULL;
- jfloat *lparg4=NULL;
- jfloat *lparg5=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIThemeGetTextDimensions_FUNC);
- if (arg2) if ((lparg2 = getHIThemeTextInfoFields(env, arg2, &_arg2)) == NULL) goto fail;
- if (arg3) if ((lparg3 = (*env)->GetFloatArrayElements(env, arg3, NULL)) == NULL) goto fail;
- if (arg4) if ((lparg4 = (*env)->GetFloatArrayElements(env, arg4, NULL)) == NULL) goto fail;
- if (arg5) if ((lparg5 = (*env)->GetFloatArrayElements(env, arg5, NULL)) == NULL) goto fail;
- rc = (jint)HIThemeGetTextDimensions((CFStringRef)arg0, arg1, lparg2, lparg3, lparg4, lparg5);
-fail:
- if (arg5 && lparg5) (*env)->ReleaseFloatArrayElements(env, arg5, lparg5, 0);
- if (arg4 && lparg4) (*env)->ReleaseFloatArrayElements(env, arg4, lparg4, 0);
- if (arg3 && lparg3) (*env)->ReleaseFloatArrayElements(env, arg3, lparg3, 0);
- if (arg2 && lparg2) setHIThemeTextInfoFields(env, arg2, lparg2);
- OS_NATIVE_EXIT(env, that, HIThemeGetTextDimensions_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIThemeGetTrackBounds
-JNIEXPORT jint JNICALL OS_NATIVE(HIThemeGetTrackBounds)
- (JNIEnv *env, jclass that, jobject arg0, jobject arg1)
-{
- HIThemeTrackDrawInfo _arg0, *lparg0=NULL;
- CGRect _arg1, *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIThemeGetTrackBounds_FUNC);
- if (arg0) if ((lparg0 = getHIThemeTrackDrawInfoFields(env, arg0, &_arg0)) == NULL) goto fail;
- if (arg1) if ((lparg1 = getCGRectFields(env, arg1, &_arg1)) == NULL) goto fail;
- rc = (jint)HIThemeGetTrackBounds(lparg0, lparg1);
-fail:
- if (arg1 && lparg1) setCGRectFields(env, arg1, lparg1);
- if (arg0 && lparg0) setHIThemeTrackDrawInfoFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, HIThemeGetTrackBounds_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIThemeGetTrackLiveValue
-JNIEXPORT jint JNICALL OS_NATIVE(HIThemeGetTrackLiveValue)
- (JNIEnv *env, jclass that, jobject arg0, jfloat arg1, jintArray arg2)
-{
- HIThemeTrackDrawInfo _arg0, *lparg0=NULL;
- jint *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIThemeGetTrackLiveValue_FUNC);
- if (arg0) if ((lparg0 = getHIThemeTrackDrawInfoFields(env, arg0, &_arg0)) == NULL) goto fail;
- if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail;
- rc = (jint)HIThemeGetTrackLiveValue(lparg0, arg1, lparg2);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- if (arg0 && lparg0) setHIThemeTrackDrawInfoFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, HIThemeGetTrackLiveValue_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIThemeGetTrackPartBounds
-JNIEXPORT jint JNICALL OS_NATIVE(HIThemeGetTrackPartBounds)
- (JNIEnv *env, jclass that, jobject arg0, jshort arg1, jobject arg2)
-{
- HIThemeTrackDrawInfo _arg0, *lparg0=NULL;
- CGRect _arg2, *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIThemeGetTrackPartBounds_FUNC);
- if (arg0) if ((lparg0 = getHIThemeTrackDrawInfoFields(env, arg0, &_arg0)) == NULL) goto fail;
- if (arg2) if ((lparg2 = getCGRectFields(env, arg2, &_arg2)) == NULL) goto fail;
- rc = (jint)HIThemeGetTrackPartBounds(lparg0, arg1, lparg2);
-fail:
- if (arg2 && lparg2) setCGRectFields(env, arg2, lparg2);
- if (arg0 && lparg0) setHIThemeTrackDrawInfoFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, HIThemeGetTrackPartBounds_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIThemeGetTrackThumbPositionFromBounds
-JNIEXPORT jint JNICALL OS_NATIVE(HIThemeGetTrackThumbPositionFromBounds)
- (JNIEnv *env, jclass that, jobject arg0, jobject arg1, jfloatArray arg2)
-{
- HIThemeTrackDrawInfo _arg0, *lparg0=NULL;
- CGRect _arg1, *lparg1=NULL;
- jfloat *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIThemeGetTrackThumbPositionFromBounds_FUNC);
- if (arg0) if ((lparg0 = getHIThemeTrackDrawInfoFields(env, arg0, &_arg0)) == NULL) goto fail;
- if (arg1) if ((lparg1 = getCGRectFields(env, arg1, &_arg1)) == NULL) goto fail;
- if (arg2) if ((lparg2 = (*env)->GetFloatArrayElements(env, arg2, NULL)) == NULL) goto fail;
- rc = (jint)HIThemeGetTrackThumbPositionFromBounds(lparg0, lparg1, lparg2);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseFloatArrayElements(env, arg2, lparg2, 0);
- if (arg1 && lparg1) setCGRectFields(env, arg1, lparg1);
- if (arg0 && lparg0) setHIThemeTrackDrawInfoFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, HIThemeGetTrackThumbPositionFromBounds_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIThemeGetTrackThumbPositionFromOffset
-JNIEXPORT jint JNICALL OS_NATIVE(HIThemeGetTrackThumbPositionFromOffset)
- (JNIEnv *env, jclass that, jobject arg0, jobject arg1, jfloatArray arg2)
-{
- HIThemeTrackDrawInfo _arg0, *lparg0=NULL;
- CGPoint _arg1, *lparg1=NULL;
- jfloat *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIThemeGetTrackThumbPositionFromOffset_FUNC);
- if (arg0) if ((lparg0 = getHIThemeTrackDrawInfoFields(env, arg0, &_arg0)) == NULL) goto fail;
- if (arg1) if ((lparg1 = getCGPointFields(env, arg1, &_arg1)) == NULL) goto fail;
- if (arg2) if ((lparg2 = (*env)->GetFloatArrayElements(env, arg2, NULL)) == NULL) goto fail;
- rc = (jint)HIThemeGetTrackThumbPositionFromOffset((HIThemeTrackDrawInfo *)lparg0, (HIPoint *)lparg1, lparg2);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseFloatArrayElements(env, arg2, lparg2, 0);
- if (arg1 && lparg1) setCGPointFields(env, arg1, lparg1);
- if (arg0 && lparg0) setHIThemeTrackDrawInfoFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, HIThemeGetTrackThumbPositionFromOffset_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIThemeHitTestScrollBarArrows
-JNIEXPORT jboolean JNICALL OS_NATIVE(HIThemeHitTestScrollBarArrows)
- (JNIEnv *env, jclass that, jobject arg0, jobject arg1, jboolean arg2, jobject arg3, jobject arg4, jshortArray arg5)
-{
- CGRect _arg0, *lparg0=NULL;
- HIScrollBarTrackInfo _arg1, *lparg1=NULL;
- CGPoint _arg3, *lparg3=NULL;
- CGRect _arg4, *lparg4=NULL;
- jshort *lparg5=NULL;
- jboolean rc = 0;
- OS_NATIVE_ENTER(env, that, HIThemeHitTestScrollBarArrows_FUNC);
- if (arg0) if ((lparg0 = getCGRectFields(env, arg0, &_arg0)) == NULL) goto fail;
- if (arg1) if ((lparg1 = getHIScrollBarTrackInfoFields(env, arg1, &_arg1)) == NULL) goto fail;
- if (arg3) if ((lparg3 = getCGPointFields(env, arg3, &_arg3)) == NULL) goto fail;
- if (arg4) if ((lparg4 = getCGRectFields(env, arg4, &_arg4)) == NULL) goto fail;
- if (arg5) if ((lparg5 = (*env)->GetShortArrayElements(env, arg5, NULL)) == NULL) goto fail;
- rc = (jboolean)HIThemeHitTestScrollBarArrows(lparg0, lparg1, arg2, lparg3, lparg4, lparg5);
-fail:
- if (arg5 && lparg5) (*env)->ReleaseShortArrayElements(env, arg5, lparg5, 0);
- if (arg4 && lparg4) setCGRectFields(env, arg4, lparg4);
- if (arg3 && lparg3) setCGPointFields(env, arg3, lparg3);
- if (arg1 && lparg1) setHIScrollBarTrackInfoFields(env, arg1, lparg1);
- if (arg0 && lparg0) setCGRectFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, HIThemeHitTestScrollBarArrows_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIThemeHitTestTrack
-JNIEXPORT jboolean JNICALL OS_NATIVE(HIThemeHitTestTrack)
- (JNIEnv *env, jclass that, jobject arg0, jobject arg1, jshortArray arg2)
-{
- HIThemeTrackDrawInfo _arg0, *lparg0=NULL;
- CGPoint _arg1, *lparg1=NULL;
- jshort *lparg2=NULL;
- jboolean rc = 0;
- OS_NATIVE_ENTER(env, that, HIThemeHitTestTrack_FUNC);
- if (arg0) if ((lparg0 = getHIThemeTrackDrawInfoFields(env, arg0, &_arg0)) == NULL) goto fail;
- if (arg1) if ((lparg1 = getCGPointFields(env, arg1, &_arg1)) == NULL) goto fail;
- if (arg2) if ((lparg2 = (*env)->GetShortArrayElements(env, arg2, NULL)) == NULL) goto fail;
- rc = (jboolean)HIThemeHitTestTrack(lparg0, lparg1, lparg2);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseShortArrayElements(env, arg2, lparg2, 0);
- if (arg1 && lparg1) setCGPointFields(env, arg1, lparg1);
- if (arg0 && lparg0) setHIThemeTrackDrawInfoFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, HIThemeHitTestTrack_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIThemeSetFill
-JNIEXPORT jint JNICALL OS_NATIVE(HIThemeSetFill)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIThemeSetFill_FUNC);
-/*
- rc = (jint)HIThemeSetFill((ThemeBrush)arg0, (void *)arg1, (CGContextRef)arg2, (HIThemeOrientation)arg3);
-*/
- {
- LOAD_FUNCTION(fp, HIThemeSetFill)
- if (fp) {
- rc = (jint)((jint (CALLING_CONVENTION*)(ThemeBrush, void *, CGContextRef, HIThemeOrientation))fp)((ThemeBrush)arg0, (void *)arg1, (CGContextRef)arg2, (HIThemeOrientation)arg3);
- }
- }
- OS_NATIVE_EXIT(env, that, HIThemeSetFill_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIThemeSetTextFill
-JNIEXPORT jint JNICALL OS_NATIVE(HIThemeSetTextFill)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIThemeSetTextFill_FUNC);
-/*
- rc = (jint)HIThemeSetTextFill(arg0, arg1, arg2, arg3);
-*/
- {
- LOAD_FUNCTION(fp, HIThemeSetTextFill)
- if (fp) {
- rc = (jint)((jint (CALLING_CONVENTION*)(jint, jint, jint, jint))fp)(arg0, arg1, arg2, arg3);
- }
- }
- OS_NATIVE_EXIT(env, that, HIThemeSetTextFill_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIViewAddSubview
-JNIEXPORT jint JNICALL OS_NATIVE(HIViewAddSubview)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIViewAddSubview_FUNC);
- rc = (jint)HIViewAddSubview((HIViewRef)arg0, (HIViewRef)arg1);
- OS_NATIVE_EXIT(env, that, HIViewAddSubview_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIViewChangeAttributes
-JNIEXPORT jint JNICALL OS_NATIVE(HIViewChangeAttributes)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIViewChangeAttributes_FUNC);
- rc = (jint)HIViewChangeAttributes((HIViewRef)arg0, arg1, arg2);
- OS_NATIVE_EXIT(env, that, HIViewChangeAttributes_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIViewChangeFeatures
-JNIEXPORT jint JNICALL OS_NATIVE(HIViewChangeFeatures)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIViewChangeFeatures_FUNC);
- rc = (jint)HIViewChangeFeatures((HIViewRef)arg0, arg1, arg2);
- OS_NATIVE_EXIT(env, that, HIViewChangeFeatures_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIViewClick
-JNIEXPORT jint JNICALL OS_NATIVE(HIViewClick)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIViewClick_FUNC);
- rc = (jint)HIViewClick((HIViewRef)arg0, (EventRef)arg1);
- OS_NATIVE_EXIT(env, that, HIViewClick_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIViewConvertPoint
-JNIEXPORT jint JNICALL OS_NATIVE(HIViewConvertPoint)
- (JNIEnv *env, jclass that, jobject arg0, jint arg1, jint arg2)
-{
- CGPoint _arg0, *lparg0=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIViewConvertPoint_FUNC);
- if (arg0) if ((lparg0 = getCGPointFields(env, arg0, &_arg0)) == NULL) goto fail;
- rc = (jint)HIViewConvertPoint((HIPoint *)lparg0, (HIViewRef)arg1, (HIViewRef)arg2);
-fail:
- if (arg0 && lparg0) setCGPointFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, HIViewConvertPoint_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIViewConvertRect
-JNIEXPORT jint JNICALL OS_NATIVE(HIViewConvertRect)
- (JNIEnv *env, jclass that, jobject arg0, jint arg1, jint arg2)
-{
- CGRect _arg0, *lparg0=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIViewConvertRect_FUNC);
- if (arg0) if ((lparg0 = getCGRectFields(env, arg0, &_arg0)) == NULL) goto fail;
- rc = (jint)HIViewConvertRect(lparg0, (HIViewRef)arg1, (HIViewRef)arg2);
-fail:
- if (arg0 && lparg0) setCGRectFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, HIViewConvertRect_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIViewConvertRegion
-JNIEXPORT jint JNICALL OS_NATIVE(HIViewConvertRegion)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIViewConvertRegion_FUNC);
- rc = (jint)HIViewConvertRegion((RgnHandle)arg0, (HIViewRef)arg1, (HIViewRef)arg2);
- OS_NATIVE_EXIT(env, that, HIViewConvertRegion_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIViewCreateOffscreenImage
-JNIEXPORT jint JNICALL OS_NATIVE(HIViewCreateOffscreenImage)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jobject arg2, jintArray arg3)
-{
- CGRect _arg2, *lparg2=NULL;
- jint *lparg3=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIViewCreateOffscreenImage_FUNC);
- if (arg2) if ((lparg2 = getCGRectFields(env, arg2, &_arg2)) == NULL) goto fail;
- if (arg3) if ((lparg3 = (*env)->GetIntArrayElements(env, arg3, NULL)) == NULL) goto fail;
- rc = (jint)HIViewCreateOffscreenImage((HIViewRef)arg0, (OptionBits)arg1, (HIRect *)lparg2, (CGImageRef *)lparg3);
-fail:
- if (arg3 && lparg3) (*env)->ReleaseIntArrayElements(env, arg3, lparg3, 0);
- if (arg2 && lparg2) setCGRectFields(env, arg2, lparg2);
- OS_NATIVE_EXIT(env, that, HIViewCreateOffscreenImage_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIViewDrawCGImage
-JNIEXPORT jint JNICALL OS_NATIVE(HIViewDrawCGImage)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1, jint arg2)
-{
- CGRect _arg1, *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIViewDrawCGImage_FUNC);
- if (arg1) if ((lparg1 = getCGRectFields(env, arg1, &_arg1)) == NULL) goto fail;
- rc = (jint)HIViewDrawCGImage((CGContextRef)arg0, lparg1, (CGImageRef)arg2);
-fail:
- if (arg1 && lparg1) setCGRectFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, HIViewDrawCGImage_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIViewFindByID
-JNIEXPORT jint JNICALL OS_NATIVE(HIViewFindByID)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jintArray arg2)
-{
- jint *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIViewFindByID_FUNC);
- if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail;
- rc = (jint)HIViewFindByID((HIViewRef)arg0, *(HIViewID *)arg1, (HIViewRef *)lparg2);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- OS_NATIVE_EXIT(env, that, HIViewFindByID_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIViewGetBounds
-JNIEXPORT jint JNICALL OS_NATIVE(HIViewGetBounds)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1)
-{
- CGRect _arg1, *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIViewGetBounds_FUNC);
- if (arg1) if ((lparg1 = getCGRectFields(env, arg1, &_arg1)) == NULL) goto fail;
- rc = (jint)HIViewGetBounds((HIViewRef)arg0, lparg1);
-fail:
- if (arg1 && lparg1) setCGRectFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, HIViewGetBounds_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIViewGetFeatures
-JNIEXPORT jint JNICALL OS_NATIVE(HIViewGetFeatures)
- (JNIEnv *env, jclass that, jint arg0, jintArray arg1)
-{
- jint *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIViewGetFeatures_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL)) == NULL) goto fail;
- rc = (jint)HIViewGetFeatures((HIViewRef)arg0, (HIViewFeatures *)lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, HIViewGetFeatures_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIViewGetFirstSubview
-JNIEXPORT jint JNICALL OS_NATIVE(HIViewGetFirstSubview)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIViewGetFirstSubview_FUNC);
- rc = (jint)HIViewGetFirstSubview((HIViewRef)arg0);
- OS_NATIVE_EXIT(env, that, HIViewGetFirstSubview_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIViewGetFrame
-JNIEXPORT jint JNICALL OS_NATIVE(HIViewGetFrame)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1)
-{
- CGRect _arg1, *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIViewGetFrame_FUNC);
- if (arg1) if ((lparg1 = getCGRectFields(env, arg1, &_arg1)) == NULL) goto fail;
- rc = (jint)HIViewGetFrame((HIViewRef)arg0, (HIRect *)lparg1);
-fail:
- if (arg1 && lparg1) setCGRectFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, HIViewGetFrame_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIViewGetLastSubview
-JNIEXPORT jint JNICALL OS_NATIVE(HIViewGetLastSubview)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIViewGetLastSubview_FUNC);
- rc = (jint)HIViewGetLastSubview((HIViewRef)arg0);
- OS_NATIVE_EXIT(env, that, HIViewGetLastSubview_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIViewGetLayoutInfo
-JNIEXPORT jint JNICALL OS_NATIVE(HIViewGetLayoutInfo)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1)
-{
- HILayoutInfo _arg1, *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIViewGetLayoutInfo_FUNC);
- if (arg1) if ((lparg1 = getHILayoutInfoFields(env, arg1, &_arg1)) == NULL) goto fail;
- rc = (jint)HIViewGetLayoutInfo((HIViewRef)arg0, lparg1);
-fail:
- if (arg1 && lparg1) setHILayoutInfoFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, HIViewGetLayoutInfo_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIViewGetNeedsDisplay
-JNIEXPORT jboolean JNICALL OS_NATIVE(HIViewGetNeedsDisplay)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jboolean rc = 0;
- OS_NATIVE_ENTER(env, that, HIViewGetNeedsDisplay_FUNC);
- rc = (jboolean)HIViewGetNeedsDisplay((HIViewRef)arg0);
- OS_NATIVE_EXIT(env, that, HIViewGetNeedsDisplay_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIViewGetNextView
-JNIEXPORT jint JNICALL OS_NATIVE(HIViewGetNextView)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIViewGetNextView_FUNC);
- rc = (jint)HIViewGetNextView((HIViewRef)arg0);
- OS_NATIVE_EXIT(env, that, HIViewGetNextView_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIViewGetRoot
-JNIEXPORT jint JNICALL OS_NATIVE(HIViewGetRoot)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIViewGetRoot_FUNC);
- rc = (jint)HIViewGetRoot((WindowRef)arg0);
- OS_NATIVE_EXIT(env, that, HIViewGetRoot_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIViewGetSizeConstraints
-JNIEXPORT jint JNICALL OS_NATIVE(HIViewGetSizeConstraints)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1, jobject arg2)
-{
- CGRect _arg1, *lparg1=NULL;
- CGRect _arg2, *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIViewGetSizeConstraints_FUNC);
- if (arg1) if ((lparg1 = getCGRectFields(env, arg1, &_arg1)) == NULL) goto fail;
- if (arg2) if ((lparg2 = getCGRectFields(env, arg2, &_arg2)) == NULL) goto fail;
- rc = (jint)HIViewGetSizeConstraints((HIViewRef)arg0, (HISize *)lparg1, (HISize *)lparg2);
-fail:
- if (arg2 && lparg2) setCGRectFields(env, arg2, lparg2);
- if (arg1 && lparg1) setCGRectFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, HIViewGetSizeConstraints_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIViewGetSubviewHit
-JNIEXPORT jint JNICALL OS_NATIVE(HIViewGetSubviewHit)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1, jboolean arg2, jintArray arg3)
-{
- CGPoint _arg1, *lparg1=NULL;
- jint *lparg3=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIViewGetSubviewHit_FUNC);
- if (arg1) if ((lparg1 = getCGPointFields(env, arg1, &_arg1)) == NULL) goto fail;
- if (arg3) if ((lparg3 = (*env)->GetIntArrayElements(env, arg3, NULL)) == NULL) goto fail;
- rc = (jint)HIViewGetSubviewHit((HIViewRef)arg0, (CGPoint *)lparg1, (Boolean)arg2, (HIViewRef *)lparg3);
-fail:
- if (arg3 && lparg3) (*env)->ReleaseIntArrayElements(env, arg3, lparg3, 0);
- if (arg1 && lparg1) setCGPointFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, HIViewGetSubviewHit_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIViewGetSuperview
-JNIEXPORT jint JNICALL OS_NATIVE(HIViewGetSuperview)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIViewGetSuperview_FUNC);
- rc = (jint)HIViewGetSuperview((HIViewRef)arg0);
- OS_NATIVE_EXIT(env, that, HIViewGetSuperview_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIViewGetViewForMouseEvent
-JNIEXPORT jint JNICALL OS_NATIVE(HIViewGetViewForMouseEvent)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jintArray arg2)
-{
- jint *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIViewGetViewForMouseEvent_FUNC);
- if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail;
- rc = (jint)HIViewGetViewForMouseEvent((HIViewRef)arg0, (EventRef)arg1, (HIViewRef *)lparg2);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- OS_NATIVE_EXIT(env, that, HIViewGetViewForMouseEvent_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIViewIsDrawingEnabled
-JNIEXPORT jboolean JNICALL OS_NATIVE(HIViewIsDrawingEnabled)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jboolean rc = 0;
- OS_NATIVE_ENTER(env, that, HIViewIsDrawingEnabled_FUNC);
- rc = (jboolean)HIViewIsDrawingEnabled((HIViewRef)arg0);
- OS_NATIVE_EXIT(env, that, HIViewIsDrawingEnabled_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIViewIsVisible
-JNIEXPORT jboolean JNICALL OS_NATIVE(HIViewIsVisible)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jboolean rc = 0;
- OS_NATIVE_ENTER(env, that, HIViewIsVisible_FUNC);
- rc = (jboolean)HIViewIsVisible((HIViewRef)arg0);
- OS_NATIVE_EXIT(env, that, HIViewIsVisible_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIViewRegionChanged
-JNIEXPORT jint JNICALL OS_NATIVE(HIViewRegionChanged)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIViewRegionChanged_FUNC);
- rc = (jint)HIViewRegionChanged((HIViewRef)arg0, arg1);
- OS_NATIVE_EXIT(env, that, HIViewRegionChanged_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIViewRemoveFromSuperview
-JNIEXPORT jint JNICALL OS_NATIVE(HIViewRemoveFromSuperview)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIViewRemoveFromSuperview_FUNC);
- rc = (jint)HIViewRemoveFromSuperview((HIViewRef)arg0);
- OS_NATIVE_EXIT(env, that, HIViewRemoveFromSuperview_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIViewRender
-JNIEXPORT jint JNICALL OS_NATIVE(HIViewRender)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIViewRender_FUNC);
- rc = (jint)HIViewRender((HIViewRef)arg0);
- OS_NATIVE_EXIT(env, that, HIViewRender_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIViewScrollRect
-JNIEXPORT jint JNICALL OS_NATIVE(HIViewScrollRect)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1, jfloat arg2, jfloat arg3)
-{
- CGRect _arg1, *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIViewScrollRect_FUNC);
- if (arg1) if ((lparg1 = getCGRectFields(env, arg1, &_arg1)) == NULL) goto fail;
- rc = (jint)HIViewScrollRect((HIViewRef)arg0, lparg1, arg2, arg3);
-fail:
- if (arg1 && lparg1) setCGRectFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, HIViewScrollRect_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIViewSetBoundsOrigin
-JNIEXPORT jint JNICALL OS_NATIVE(HIViewSetBoundsOrigin)
- (JNIEnv *env, jclass that, jint arg0, jfloat arg1, jfloat arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIViewSetBoundsOrigin_FUNC);
- rc = (jint)HIViewSetBoundsOrigin((HIViewRef)arg0, arg1, arg2);
- OS_NATIVE_EXIT(env, that, HIViewSetBoundsOrigin_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIViewSetDrawingEnabled
-JNIEXPORT jint JNICALL OS_NATIVE(HIViewSetDrawingEnabled)
- (JNIEnv *env, jclass that, jint arg0, jboolean arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIViewSetDrawingEnabled_FUNC);
- rc = (jint)HIViewSetDrawingEnabled((HIViewRef)arg0, (Boolean)arg1);
- OS_NATIVE_EXIT(env, that, HIViewSetDrawingEnabled_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIViewSetFrame
-JNIEXPORT jint JNICALL OS_NATIVE(HIViewSetFrame)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1)
-{
- CGRect _arg1, *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIViewSetFrame_FUNC);
- if (arg1) if ((lparg1 = getCGRectFields(env, arg1, &_arg1)) == NULL) goto fail;
- rc = (jint)HIViewSetFrame((HIViewRef)arg0, (const HIRect *)lparg1);
-fail:
- if (arg1 && lparg1) setCGRectFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, HIViewSetFrame_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIViewSetLayoutInfo
-JNIEXPORT jint JNICALL OS_NATIVE(HIViewSetLayoutInfo)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1)
-{
- HILayoutInfo _arg1, *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIViewSetLayoutInfo_FUNC);
- if (arg1) if ((lparg1 = getHILayoutInfoFields(env, arg1, &_arg1)) == NULL) goto fail;
- rc = (jint)HIViewSetLayoutInfo((HIViewRef)arg0, lparg1);
-fail:
- if (arg1 && lparg1) setHILayoutInfoFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, HIViewSetLayoutInfo_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIViewSetNeedsDisplay
-JNIEXPORT jint JNICALL OS_NATIVE(HIViewSetNeedsDisplay)
- (JNIEnv *env, jclass that, jint arg0, jboolean arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIViewSetNeedsDisplay_FUNC);
- rc = (jint)HIViewSetNeedsDisplay((HIViewRef)arg0, (Boolean)arg1);
- OS_NATIVE_EXIT(env, that, HIViewSetNeedsDisplay_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIViewSetNeedsDisplayInRegion
-JNIEXPORT jint JNICALL OS_NATIVE(HIViewSetNeedsDisplayInRegion)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jboolean arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIViewSetNeedsDisplayInRegion_FUNC);
- rc = (jint)HIViewSetNeedsDisplayInRegion((HIViewRef)arg0, (RgnHandle)arg1, (Boolean)arg2);
- OS_NATIVE_EXIT(env, that, HIViewSetNeedsDisplayInRegion_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIViewSetVisible
-JNIEXPORT jint JNICALL OS_NATIVE(HIViewSetVisible)
- (JNIEnv *env, jclass that, jint arg0, jboolean arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIViewSetVisible_FUNC);
- rc = (jint)HIViewSetVisible((HIViewRef)arg0, (Boolean)arg1);
- OS_NATIVE_EXIT(env, that, HIViewSetVisible_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIViewSetZOrder
-JNIEXPORT jint JNICALL OS_NATIVE(HIViewSetZOrder)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIViewSetZOrder_FUNC);
- rc = (jint)HIViewSetZOrder((HIViewRef)arg0, (HIViewZOrderOp)arg1, (HIViewRef)arg2);
- OS_NATIVE_EXIT(env, that, HIViewSetZOrder_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIViewSimulateClick
-JNIEXPORT jint JNICALL OS_NATIVE(HIViewSimulateClick)
- (JNIEnv *env, jclass that, jint arg0, jshort arg1, jint arg2, jshortArray arg3)
-{
- jshort *lparg3=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HIViewSimulateClick_FUNC);
- if (arg3) if ((lparg3 = (*env)->GetShortArrayElements(env, arg3, NULL)) == NULL) goto fail;
- rc = (jint)HIViewSimulateClick((HIViewRef)arg0, (HIViewPartCode)arg1, (UInt32)arg2, (ControlPartCode *)lparg3);
-fail:
- if (arg3 && lparg3) (*env)->ReleaseShortArrayElements(env, arg3, lparg3, 0);
- OS_NATIVE_EXIT(env, that, HIViewSimulateClick_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HIWindowFlush
-JNIEXPORT void JNICALL OS_NATIVE(HIWindowFlush)
- (JNIEnv *env, jclass that, jint arg0)
-{
- OS_NATIVE_ENTER(env, that, HIWindowFlush_FUNC);
- HIWindowFlush((WindowRef)arg0);
- OS_NATIVE_EXIT(env, that, HIWindowFlush_FUNC);
-}
-#endif
-
-#ifndef NO_HIWindowIsDocumentModalTarget
-JNIEXPORT jboolean JNICALL OS_NATIVE(HIWindowIsDocumentModalTarget)
- (JNIEnv *env, jclass that, jint arg0, jintArray arg1)
-{
- jint *lparg1=NULL;
- jboolean rc = 0;
- OS_NATIVE_ENTER(env, that, HIWindowIsDocumentModalTarget_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL)) == NULL) goto fail;
- rc = (jboolean)HIWindowIsDocumentModalTarget((WindowRef)arg0, (WindowRef*)lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, HIWindowIsDocumentModalTarget_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HLock
-JNIEXPORT void JNICALL OS_NATIVE(HLock)
- (JNIEnv *env, jclass that, jint arg0)
-{
- OS_NATIVE_ENTER(env, that, HLock_FUNC);
- HLock((Handle)arg0);
- OS_NATIVE_EXIT(env, that, HLock_FUNC);
-}
-#endif
-
-#ifndef NO_HMDisplayTag
-JNIEXPORT jint JNICALL OS_NATIVE(HMDisplayTag)
- (JNIEnv *env, jclass that, jobject arg0)
-{
- HMHelpContentRec _arg0, *lparg0=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HMDisplayTag_FUNC);
- if (arg0) if ((lparg0 = getHMHelpContentRecFields(env, arg0, &_arg0)) == NULL) goto fail;
- rc = (jint)HMDisplayTag((const HMHelpContentRec *)lparg0);
-fail:
- if (arg0 && lparg0) setHMHelpContentRecFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, HMDisplayTag_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HMGetTagDelay
-JNIEXPORT jint JNICALL OS_NATIVE(HMGetTagDelay)
- (JNIEnv *env, jclass that, jintArray arg0)
-{
- jint *lparg0=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HMGetTagDelay_FUNC);
- if (arg0) if ((lparg0 = (*env)->GetIntArrayElements(env, arg0, NULL)) == NULL) goto fail;
- rc = (jint)HMGetTagDelay(lparg0);
-fail:
- if (arg0 && lparg0) (*env)->ReleaseIntArrayElements(env, arg0, lparg0, 0);
- OS_NATIVE_EXIT(env, that, HMGetTagDelay_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HMHideTag
-JNIEXPORT jint JNICALL OS_NATIVE(HMHideTag)
- (JNIEnv *env, jclass that)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HMHideTag_FUNC);
- rc = (jint)HMHideTag();
- OS_NATIVE_EXIT(env, that, HMHideTag_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HMInstallControlContentCallback
-JNIEXPORT void JNICALL OS_NATIVE(HMInstallControlContentCallback)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- OS_NATIVE_ENTER(env, that, HMInstallControlContentCallback_FUNC);
- HMInstallControlContentCallback((ControlRef)arg0, (HMControlContentUPP)arg1);
- OS_NATIVE_EXIT(env, that, HMInstallControlContentCallback_FUNC);
-}
-#endif
-
-#ifndef NO_HMSetTagDelay
-JNIEXPORT jint JNICALL OS_NATIVE(HMSetTagDelay)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HMSetTagDelay_FUNC);
- rc = (jint)HMSetTagDelay(arg0);
- OS_NATIVE_EXIT(env, that, HMSetTagDelay_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HUnlock
-JNIEXPORT void JNICALL OS_NATIVE(HUnlock)
- (JNIEnv *env, jclass that, jint arg0)
-{
- OS_NATIVE_ENTER(env, that, HUnlock_FUNC);
- HUnlock((Handle)arg0);
- OS_NATIVE_EXIT(env, that, HUnlock_FUNC);
-}
-#endif
-
-#ifndef NO_HandleControlClick
-JNIEXPORT jshort JNICALL OS_NATIVE(HandleControlClick)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1, jint arg2, jint arg3)
-{
- Point _arg1, *lparg1=NULL;
- jshort rc = 0;
- OS_NATIVE_ENTER(env, that, HandleControlClick_FUNC);
- if (arg1) if ((lparg1 = getPointFields(env, arg1, &_arg1)) == NULL) goto fail;
- rc = (jshort)HandleControlClick((ControlRef)arg0, *lparg1, (EventModifiers)arg2, (ControlActionUPP)arg3);
-fail:
- if (arg1 && lparg1) setPointFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, HandleControlClick_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HandleControlSetCursor
-JNIEXPORT jint JNICALL OS_NATIVE(HandleControlSetCursor)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1, jint arg2, jbooleanArray arg3)
-{
- Point _arg1, *lparg1=NULL;
- jboolean *lparg3=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, HandleControlSetCursor_FUNC);
- if (arg1) if ((lparg1 = getPointFields(env, arg1, &_arg1)) == NULL) goto fail;
- if (arg3) if ((lparg3 = (*env)->GetBooleanArrayElements(env, arg3, NULL)) == NULL) goto fail;
- rc = (jint)HandleControlSetCursor((ControlRef)arg0, *lparg1, (EventModifiers)arg2, (Boolean *)lparg3);
-fail:
- if (arg3 && lparg3) (*env)->ReleaseBooleanArrayElements(env, arg3, lparg3, 0);
- if (arg1 && lparg1) setPointFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, HandleControlSetCursor_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HiWord
-JNIEXPORT jshort JNICALL OS_NATIVE(HiWord)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jshort rc = 0;
- OS_NATIVE_ENTER(env, that, HiWord_FUNC);
- rc = (jshort)HiWord(arg0);
- OS_NATIVE_EXIT(env, that, HiWord_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_HideWindow
-JNIEXPORT void JNICALL OS_NATIVE(HideWindow)
- (JNIEnv *env, jclass that, jint arg0)
-{
- OS_NATIVE_ENTER(env, that, HideWindow_FUNC);
- HideWindow((WindowRef)arg0);
- OS_NATIVE_EXIT(env, that, HideWindow_FUNC);
-}
-#endif
-
-#ifndef NO_HiliteMenu
-JNIEXPORT void JNICALL OS_NATIVE(HiliteMenu)
- (JNIEnv *env, jclass that, jshort arg0)
-{
- OS_NATIVE_ENTER(env, that, HiliteMenu_FUNC);
- HiliteMenu((MenuID)arg0);
- OS_NATIVE_EXIT(env, that, HiliteMenu_FUNC);
-}
-#endif
-
-#ifndef NO_IconRefToIconFamily
-JNIEXPORT jint JNICALL OS_NATIVE(IconRefToIconFamily)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jintArray arg2)
-{
- jint *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, IconRefToIconFamily_FUNC);
- if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail;
- rc = (jint)IconRefToIconFamily((IconRef)arg0, (IconSelectorValue)arg1, (IconFamilyHandle *)lparg2);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- OS_NATIVE_EXIT(env, that, IconRefToIconFamily_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_InitContextualMenus
-JNIEXPORT jint JNICALL OS_NATIVE(InitContextualMenus)
- (JNIEnv *env, jclass that)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, InitContextualMenus_FUNC);
- rc = (jint)InitContextualMenus();
- OS_NATIVE_EXIT(env, that, InitContextualMenus_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_InitCursor
-JNIEXPORT void JNICALL OS_NATIVE(InitCursor)
- (JNIEnv *env, jclass that)
-{
- OS_NATIVE_ENTER(env, that, InitCursor_FUNC);
- InitCursor();
- OS_NATIVE_EXIT(env, that, InitCursor_FUNC);
-}
-#endif
-
-#ifndef NO_InitDataBrowserCallbacks
-JNIEXPORT jint JNICALL OS_NATIVE(InitDataBrowserCallbacks)
- (JNIEnv *env, jclass that, jobject arg0)
-{
- DataBrowserCallbacks _arg0={0}, *lparg0=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, InitDataBrowserCallbacks_FUNC);
- if (arg0) if ((lparg0 = getDataBrowserCallbacksFields(env, arg0, &_arg0)) == NULL) goto fail;
- rc = (jint)InitDataBrowserCallbacks((DataBrowserCallbacks *)lparg0);
-fail:
- if (arg0 && lparg0) setDataBrowserCallbacksFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, InitDataBrowserCallbacks_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_InitDataBrowserCustomCallbacks
-JNIEXPORT jint JNICALL OS_NATIVE(InitDataBrowserCustomCallbacks)
- (JNIEnv *env, jclass that, jobject arg0)
-{
- DataBrowserCustomCallbacks _arg0, *lparg0=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, InitDataBrowserCustomCallbacks_FUNC);
- if (arg0) if ((lparg0 = getDataBrowserCustomCallbacksFields(env, arg0, &_arg0)) == NULL) goto fail;
- rc = (jint)InitDataBrowserCustomCallbacks(lparg0);
-fail:
- if (arg0 && lparg0) setDataBrowserCustomCallbacksFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, InitDataBrowserCustomCallbacks_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_InsertMenu
-JNIEXPORT void JNICALL OS_NATIVE(InsertMenu)
- (JNIEnv *env, jclass that, jint arg0, jshort arg1)
-{
- OS_NATIVE_ENTER(env, that, InsertMenu_FUNC);
- InsertMenu((MenuRef)arg0, (MenuID)arg1);
- OS_NATIVE_EXIT(env, that, InsertMenu_FUNC);
-}
-#endif
-
-#ifndef NO_InsertMenuItemTextWithCFString
-JNIEXPORT jint JNICALL OS_NATIVE(InsertMenuItemTextWithCFString)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jshort arg2, jint arg3, jint arg4)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, InsertMenuItemTextWithCFString_FUNC);
- rc = (jint)InsertMenuItemTextWithCFString((MenuRef)arg0, (CFStringRef)arg1, (MenuItemIndex)arg2, (MenuItemAttributes)arg3, (MenuCommand)arg4);
- OS_NATIVE_EXIT(env, that, InsertMenuItemTextWithCFString_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_InstallEventHandler
-JNIEXPORT jint JNICALL OS_NATIVE(InstallEventHandler)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jintArray arg3, jint arg4, jintArray arg5)
-{
- jint *lparg3=NULL;
- jint *lparg5=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, InstallEventHandler_FUNC);
- if (arg3) if ((lparg3 = (*env)->GetIntArrayElements(env, arg3, NULL)) == NULL) goto fail;
- if (arg5) if ((lparg5 = (*env)->GetIntArrayElements(env, arg5, NULL)) == NULL) goto fail;
- rc = (jint)InstallEventHandler((EventTargetRef)arg0, (EventHandlerUPP)arg1, (UInt32)arg2, (const EventTypeSpec *)lparg3, (void *)arg4, (EventHandlerRef *)lparg5);
-fail:
- if (arg5 && lparg5) (*env)->ReleaseIntArrayElements(env, arg5, lparg5, 0);
- if (arg3 && lparg3) (*env)->ReleaseIntArrayElements(env, arg3, lparg3, 0);
- OS_NATIVE_EXIT(env, that, InstallEventHandler_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_InstallEventLoopIdleTimer
-JNIEXPORT jint JNICALL OS_NATIVE(InstallEventLoopIdleTimer)
- (JNIEnv *env, jclass that, jint arg0, jdouble arg1, jdouble arg2, jint arg3, jint arg4, jintArray arg5)
-{
- jint *lparg5=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, InstallEventLoopIdleTimer_FUNC);
- if (arg5) if ((lparg5 = (*env)->GetIntArrayElements(env, arg5, NULL)) == NULL) goto fail;
- rc = (jint)InstallEventLoopIdleTimer((EventLoopRef)arg0, (EventTimerInterval)arg1, (EventTimerInterval)arg2, (EventLoopIdleTimerUPP)arg3, (void *)arg4, (EventLoopTimerRef *)lparg5);
-fail:
- if (arg5 && lparg5) (*env)->ReleaseIntArrayElements(env, arg5, lparg5, 0);
- OS_NATIVE_EXIT(env, that, InstallEventLoopIdleTimer_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_InstallEventLoopTimer
-JNIEXPORT jint JNICALL OS_NATIVE(InstallEventLoopTimer)
- (JNIEnv *env, jclass that, jint arg0, jdouble arg1, jdouble arg2, jint arg3, jint arg4, jintArray arg5)
-{
- jint *lparg5=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, InstallEventLoopTimer_FUNC);
- if (arg5) if ((lparg5 = (*env)->GetIntArrayElements(env, arg5, NULL)) == NULL) goto fail;
- rc = (jint)InstallEventLoopTimer((EventLoopRef)arg0, (EventTimerInterval)arg1, (EventTimerInterval)arg2, (EventLoopTimerUPP)arg3, (void *)arg4, (EventLoopTimerRef *)lparg5);
-fail:
- if (arg5 && lparg5) (*env)->ReleaseIntArrayElements(env, arg5, lparg5, 0);
- OS_NATIVE_EXIT(env, that, InstallEventLoopTimer_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_InstallReceiveHandler
-JNIEXPORT jint JNICALL OS_NATIVE(InstallReceiveHandler)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jintArray arg2)
-{
- jint *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, InstallReceiveHandler_FUNC);
- if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail;
- rc = (jint)InstallReceiveHandler((DragReceiveHandlerUPP)arg0, (WindowRef)arg1, (void *)lparg2);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- OS_NATIVE_EXIT(env, that, InstallReceiveHandler_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_InstallTrackingHandler
-JNIEXPORT jint JNICALL OS_NATIVE(InstallTrackingHandler)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jintArray arg2)
-{
- jint *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, InstallTrackingHandler_FUNC);
- if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail;
- rc = (jint)InstallTrackingHandler((DragTrackingHandlerUPP)arg0, (WindowRef)arg1, (void *)lparg2);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- OS_NATIVE_EXIT(env, that, InstallTrackingHandler_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_InvalWindowRect
-JNIEXPORT void JNICALL OS_NATIVE(InvalWindowRect)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1)
-{
- Rect _arg1, *lparg1=NULL;
- OS_NATIVE_ENTER(env, that, InvalWindowRect_FUNC);
- if (arg1) if ((lparg1 = getRectFields(env, arg1, &_arg1)) == NULL) goto fail;
- InvalWindowRect((WindowRef)arg0, (const Rect *)lparg1);
-fail:
- if (arg1 && lparg1) setRectFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, InvalWindowRect_FUNC);
-}
-#endif
-
-#ifndef NO_InvalWindowRgn
-JNIEXPORT void JNICALL OS_NATIVE(InvalWindowRgn)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- OS_NATIVE_ENTER(env, that, InvalWindowRgn_FUNC);
- InvalWindowRgn((WindowRef)arg0, (RgnHandle)arg1);
- OS_NATIVE_EXIT(env, that, InvalWindowRgn_FUNC);
-}
-#endif
-
-#ifndef NO_InvertRect
-JNIEXPORT void JNICALL OS_NATIVE(InvertRect)
- (JNIEnv *env, jclass that, jobject arg0)
-{
- Rect _arg0, *lparg0=NULL;
- OS_NATIVE_ENTER(env, that, InvertRect_FUNC);
- if (arg0) if ((lparg0 = getRectFields(env, arg0, &_arg0)) == NULL) goto fail;
- InvertRect((const Rect *)lparg0);
-fail:
- if (arg0 && lparg0) setRectFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, InvertRect_FUNC);
-}
-#endif
-
-#ifndef NO_IsControlActive
-JNIEXPORT jboolean JNICALL OS_NATIVE(IsControlActive)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jboolean rc = 0;
- OS_NATIVE_ENTER(env, that, IsControlActive_FUNC);
- rc = (jboolean)IsControlActive((ControlRef)arg0);
- OS_NATIVE_EXIT(env, that, IsControlActive_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_IsControlEnabled
-JNIEXPORT jboolean JNICALL OS_NATIVE(IsControlEnabled)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jboolean rc = 0;
- OS_NATIVE_ENTER(env, that, IsControlEnabled_FUNC);
- rc = (jboolean)IsControlEnabled((ControlRef)arg0);
- OS_NATIVE_EXIT(env, that, IsControlEnabled_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_IsControlVisible
-JNIEXPORT jboolean JNICALL OS_NATIVE(IsControlVisible)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jboolean rc = 0;
- OS_NATIVE_ENTER(env, that, IsControlVisible_FUNC);
- rc = (jboolean)IsControlVisible((ControlRef)arg0);
- OS_NATIVE_EXIT(env, that, IsControlVisible_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_IsDataBrowserItemSelected
-JNIEXPORT jboolean JNICALL OS_NATIVE(IsDataBrowserItemSelected)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- jboolean rc = 0;
- OS_NATIVE_ENTER(env, that, IsDataBrowserItemSelected_FUNC);
- rc = (jboolean)IsDataBrowserItemSelected((ControlRef)arg0, (DataBrowserItemID)arg1);
- OS_NATIVE_EXIT(env, that, IsDataBrowserItemSelected_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_IsEventInQueue
-JNIEXPORT jboolean JNICALL OS_NATIVE(IsEventInQueue)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- jboolean rc = 0;
- OS_NATIVE_ENTER(env, that, IsEventInQueue_FUNC);
- rc = (jboolean)IsEventInQueue((EventQueueRef)arg0, (EventRef)arg1);
- OS_NATIVE_EXIT(env, that, IsEventInQueue_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_IsMenuCommandEnabled
-JNIEXPORT jboolean JNICALL OS_NATIVE(IsMenuCommandEnabled)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- jboolean rc = 0;
- OS_NATIVE_ENTER(env, that, IsMenuCommandEnabled_FUNC);
- rc = (jboolean)IsMenuCommandEnabled((MenuRef)arg0, (MenuCommand)arg1);
- OS_NATIVE_EXIT(env, that, IsMenuCommandEnabled_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_IsMenuItemEnabled
-JNIEXPORT jboolean JNICALL OS_NATIVE(IsMenuItemEnabled)
- (JNIEnv *env, jclass that, jint arg0, jshort arg1)
-{
- jboolean rc = 0;
- OS_NATIVE_ENTER(env, that, IsMenuItemEnabled_FUNC);
- rc = (jboolean)IsMenuItemEnabled((MenuRef)arg0, (MenuItemIndex)arg1);
- OS_NATIVE_EXIT(env, that, IsMenuItemEnabled_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_IsMenuKeyEvent
-JNIEXPORT jboolean JNICALL OS_NATIVE(IsMenuKeyEvent)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jintArray arg3, jshortArray arg4)
-{
- jint *lparg3=NULL;
- jshort *lparg4=NULL;
- jboolean rc = 0;
- OS_NATIVE_ENTER(env, that, IsMenuKeyEvent_FUNC);
- if (arg3) if ((lparg3 = (*env)->GetIntArrayElements(env, arg3, NULL)) == NULL) goto fail;
- if (arg4) if ((lparg4 = (*env)->GetShortArrayElements(env, arg4, NULL)) == NULL) goto fail;
- rc = (jboolean)IsMenuKeyEvent((MenuRef)arg0, (EventRef)arg1, (MenuEventOptions)arg2, (MenuRef *)lparg3, (MenuItemIndex *)lparg4);
-fail:
- if (arg4 && lparg4) (*env)->ReleaseShortArrayElements(env, arg4, lparg4, 0);
- if (arg3 && lparg3) (*env)->ReleaseIntArrayElements(env, arg3, lparg3, 0);
- OS_NATIVE_EXIT(env, that, IsMenuKeyEvent_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_IsValidControlHandle
-JNIEXPORT jboolean JNICALL OS_NATIVE(IsValidControlHandle)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jboolean rc = 0;
- OS_NATIVE_ENTER(env, that, IsValidControlHandle_FUNC);
- rc = (jboolean)IsValidControlHandle((ControlRef)arg0);
- OS_NATIVE_EXIT(env, that, IsValidControlHandle_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_IsValidMenu
-JNIEXPORT jboolean JNICALL OS_NATIVE(IsValidMenu)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jboolean rc = 0;
- OS_NATIVE_ENTER(env, that, IsValidMenu_FUNC);
- rc = (jboolean)IsValidMenu((MenuRef)arg0);
- OS_NATIVE_EXIT(env, that, IsValidMenu_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_IsValidWindowPtr
-JNIEXPORT jboolean JNICALL OS_NATIVE(IsValidWindowPtr)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jboolean rc = 0;
- OS_NATIVE_ENTER(env, that, IsValidWindowPtr_FUNC);
- rc = (jboolean)IsValidWindowPtr((WindowRef)arg0);
- OS_NATIVE_EXIT(env, that, IsValidWindowPtr_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_IsWindowActive
-JNIEXPORT jboolean JNICALL OS_NATIVE(IsWindowActive)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jboolean rc = 0;
- OS_NATIVE_ENTER(env, that, IsWindowActive_FUNC);
- rc = (jboolean)IsWindowActive((WindowRef)arg0);
- OS_NATIVE_EXIT(env, that, IsWindowActive_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_IsWindowCollapsed
-JNIEXPORT jboolean JNICALL OS_NATIVE(IsWindowCollapsed)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jboolean rc = 0;
- OS_NATIVE_ENTER(env, that, IsWindowCollapsed_FUNC);
- rc = (jboolean)IsWindowCollapsed((WindowRef)arg0);
- OS_NATIVE_EXIT(env, that, IsWindowCollapsed_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_IsWindowModified
-JNIEXPORT jboolean JNICALL OS_NATIVE(IsWindowModified)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jboolean rc = 0;
- OS_NATIVE_ENTER(env, that, IsWindowModified_FUNC);
- rc = (jboolean)IsWindowModified((WindowRef)arg0);
- OS_NATIVE_EXIT(env, that, IsWindowModified_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_IsWindowVisible
-JNIEXPORT jboolean JNICALL OS_NATIVE(IsWindowVisible)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jboolean rc = 0;
- OS_NATIVE_ENTER(env, that, IsWindowVisible_FUNC);
- rc = (jboolean)IsWindowVisible((WindowRef)arg0);
- OS_NATIVE_EXIT(env, that, IsWindowVisible_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_KLGetCurrentKeyboardLayout
-JNIEXPORT jint JNICALL OS_NATIVE(KLGetCurrentKeyboardLayout)
- (JNIEnv *env, jclass that, jintArray arg0)
-{
- jint *lparg0=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, KLGetCurrentKeyboardLayout_FUNC);
- if (arg0) if ((lparg0 = (*env)->GetIntArrayElements(env, arg0, NULL)) == NULL) goto fail;
- rc = (jint)KLGetCurrentKeyboardLayout((KeyboardLayoutRef *)lparg0);
-fail:
- if (arg0 && lparg0) (*env)->ReleaseIntArrayElements(env, arg0, lparg0, 0);
- OS_NATIVE_EXIT(env, that, KLGetCurrentKeyboardLayout_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_KLGetKeyboardLayoutProperty
-JNIEXPORT jint JNICALL OS_NATIVE(KLGetKeyboardLayoutProperty)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jintArray arg2)
-{
- jint *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, KLGetKeyboardLayoutProperty_FUNC);
- if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail;
- rc = (jint)KLGetKeyboardLayoutProperty((KeyboardLayoutRef)arg0, (KeyboardLayoutPropertyTag)arg1, (const void **)lparg2);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- OS_NATIVE_EXIT(env, that, KLGetKeyboardLayoutProperty_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_KeyTranslate
-JNIEXPORT jint JNICALL OS_NATIVE(KeyTranslate)
- (JNIEnv *env, jclass that, jint arg0, jshort arg1, jintArray arg2)
-{
- jint *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, KeyTranslate_FUNC);
- if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail;
- rc = (jint)KeyTranslate((const void *)arg0, arg1, (UInt32 *)lparg2);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- OS_NATIVE_EXIT(env, that, KeyTranslate_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_KillPicture
-JNIEXPORT void JNICALL OS_NATIVE(KillPicture)
- (JNIEnv *env, jclass that, jint arg0)
-{
- OS_NATIVE_ENTER(env, that, KillPicture_FUNC);
- KillPicture((PicHandle)arg0);
- OS_NATIVE_EXIT(env, that, KillPicture_FUNC);
-}
-#endif
-
-#ifndef NO_LMGetKbdType
-JNIEXPORT jbyte JNICALL OS_NATIVE(LMGetKbdType)
- (JNIEnv *env, jclass that)
-{
- jbyte rc = 0;
- OS_NATIVE_ENTER(env, that, LMGetKbdType_FUNC);
- rc = (jbyte)LMGetKbdType();
- OS_NATIVE_EXIT(env, that, LMGetKbdType_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_LSCopyAllRoleHandlersForContentType
-JNIEXPORT jint JNICALL OS_NATIVE(LSCopyAllRoleHandlersForContentType)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, LSCopyAllRoleHandlersForContentType_FUNC);
-/*
- rc = (jint)LSCopyAllRoleHandlersForContentType((CFStringRef)arg0, arg1);
-*/
- {
- LOAD_FUNCTION(fp, LSCopyAllRoleHandlersForContentType)
- if (fp) {
- rc = (jint)((jint (CALLING_CONVENTION*)(CFStringRef, jint))fp)((CFStringRef)arg0, arg1);
- }
- }
- OS_NATIVE_EXIT(env, that, LSCopyAllRoleHandlersForContentType_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_LSCopyDisplayNameForRef
-JNIEXPORT jint JNICALL OS_NATIVE(LSCopyDisplayNameForRef)
- (JNIEnv *env, jclass that, jbyteArray arg0, jintArray arg1)
-{
- jbyte *lparg0=NULL;
- jint *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, LSCopyDisplayNameForRef_FUNC);
- if (arg0) if ((lparg0 = (*env)->GetByteArrayElements(env, arg0, NULL)) == NULL) goto fail;
- if (arg1) if ((lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL)) == NULL) goto fail;
- rc = (jint)LSCopyDisplayNameForRef((const FSRef *)lparg0, (CFStringRef *)lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- if (arg0 && lparg0) (*env)->ReleaseByteArrayElements(env, arg0, lparg0, 0);
- OS_NATIVE_EXIT(env, that, LSCopyDisplayNameForRef_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_LSFindApplicationForInfo
-JNIEXPORT jint JNICALL OS_NATIVE(LSFindApplicationForInfo)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jbyteArray arg3, jintArray arg4)
-{
- jbyte *lparg3=NULL;
- jint *lparg4=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, LSFindApplicationForInfo_FUNC);
- if (arg3) if ((lparg3 = (*env)->GetByteArrayElements(env, arg3, NULL)) == NULL) goto fail;
- if (arg4) if ((lparg4 = (*env)->GetIntArrayElements(env, arg4, NULL)) == NULL) goto fail;
- rc = (jint)LSFindApplicationForInfo((OSType)arg0, (CFStringRef)arg1, (CFStringRef)arg2, (FSRef *)lparg3, (CFURLRef *)lparg4);
-fail:
- if (arg4 && lparg4) (*env)->ReleaseIntArrayElements(env, arg4, lparg4, 0);
- if (arg3 && lparg3) (*env)->ReleaseByteArrayElements(env, arg3, lparg3, 0);
- OS_NATIVE_EXIT(env, that, LSFindApplicationForInfo_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_LSGetApplicationForInfo
-JNIEXPORT jint JNICALL OS_NATIVE(LSGetApplicationForInfo)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jbyteArray arg4, jintArray arg5)
-{
- jbyte *lparg4=NULL;
- jint *lparg5=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, LSGetApplicationForInfo_FUNC);
- if (arg4) if ((lparg4 = (*env)->GetByteArrayElements(env, arg4, NULL)) == NULL) goto fail;
- if (arg5) if ((lparg5 = (*env)->GetIntArrayElements(env, arg5, NULL)) == NULL) goto fail;
- rc = (jint)LSGetApplicationForInfo((OSType)arg0, (OSType)arg1, (CFStringRef)arg2, (LSRolesMask)arg3, (FSRef *)lparg4, (CFURLRef *)lparg5);
-fail:
- if (arg5 && lparg5) (*env)->ReleaseIntArrayElements(env, arg5, lparg5, 0);
- if (arg4 && lparg4) (*env)->ReleaseByteArrayElements(env, arg4, lparg4, 0);
- OS_NATIVE_EXIT(env, that, LSGetApplicationForInfo_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_LSOpenApplication
-JNIEXPORT jint JNICALL OS_NATIVE(LSOpenApplication)
- (JNIEnv *env, jclass that, jobject arg0, jintArray arg1)
-{
- LSApplicationParameters _arg0, *lparg0=NULL;
- jint *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, LSOpenApplication_FUNC);
- if (arg0) if ((lparg0 = getLSApplicationParametersFields(env, arg0, &_arg0)) == NULL) goto fail;
- if (arg1) if ((lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL)) == NULL) goto fail;
- rc = (jint)LSOpenApplication(lparg0, (ProcessSerialNumber *)lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- if (arg0 && lparg0) setLSApplicationParametersFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, LSOpenApplication_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_LSOpenCFURLRef
-JNIEXPORT jint JNICALL OS_NATIVE(LSOpenCFURLRef)
- (JNIEnv *env, jclass that, jint arg0, jintArray arg1)
-{
- jint *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, LSOpenCFURLRef_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL)) == NULL) goto fail;
- rc = (jint)LSOpenCFURLRef((CFURLRef)arg0, (CFURLRef *)lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, LSOpenCFURLRef_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_LSOpenURLsWithRole
-JNIEXPORT jint JNICALL OS_NATIVE(LSOpenURLsWithRole)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jobject arg3, jintArray arg4, jint arg5)
-{
- LSApplicationParameters _arg3, *lparg3=NULL;
- jint *lparg4=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, LSOpenURLsWithRole_FUNC);
- if (arg3) if ((lparg3 = getLSApplicationParametersFields(env, arg3, &_arg3)) == NULL) goto fail;
- if (arg4) if ((lparg4 = (*env)->GetIntArrayElements(env, arg4, NULL)) == NULL) goto fail;
- rc = (jint)LSOpenURLsWithRole((CFArrayRef)arg0, arg1, (const AEKeyDesc *)arg2, (const LSApplicationParameters *)lparg3, (ProcessSerialNumber *)lparg4, arg5);
-fail:
- if (arg4 && lparg4) (*env)->ReleaseIntArrayElements(env, arg4, lparg4, 0);
- if (arg3 && lparg3) setLSApplicationParametersFields(env, arg3, lparg3);
- OS_NATIVE_EXIT(env, that, LSOpenURLsWithRole_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_LineTo
-JNIEXPORT void JNICALL OS_NATIVE(LineTo)
- (JNIEnv *env, jclass that, jshort arg0, jshort arg1)
-{
- OS_NATIVE_ENTER(env, that, LineTo_FUNC);
- LineTo((short)arg0, (short)arg1);
- OS_NATIVE_EXIT(env, that, LineTo_FUNC);
-}
-#endif
-
-#ifndef NO_LoWord
-JNIEXPORT jshort JNICALL OS_NATIVE(LoWord)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jshort rc = 0;
- OS_NATIVE_ENTER(env, that, LoWord_FUNC);
- rc = (jshort)LoWord(arg0);
- OS_NATIVE_EXIT(env, that, LoWord_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_Long2Fix
-JNIEXPORT jint JNICALL OS_NATIVE(Long2Fix)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, Long2Fix_FUNC);
- rc = (jint)Long2Fix(arg0);
- OS_NATIVE_EXIT(env, that, Long2Fix_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_MenuSelect
-JNIEXPORT jint JNICALL OS_NATIVE(MenuSelect)
- (JNIEnv *env, jclass that, jobject arg0)
-{
- Point _arg0, *lparg0=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, MenuSelect_FUNC);
- if (arg0) if ((lparg0 = getPointFields(env, arg0, &_arg0)) == NULL) goto fail;
- rc = (jint)MenuSelect(*(Point *)lparg0);
-fail:
- if (arg0 && lparg0) setPointFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, MenuSelect_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_MoveControl
-JNIEXPORT void JNICALL OS_NATIVE(MoveControl)
- (JNIEnv *env, jclass that, jint arg0, jshort arg1, jshort arg2)
-{
- OS_NATIVE_ENTER(env, that, MoveControl_FUNC);
- MoveControl((ControlRef)arg0, (SInt16)arg1, (SInt16)arg2);
- OS_NATIVE_EXIT(env, that, MoveControl_FUNC);
-}
-#endif
-
-#ifndef NO_MoveTo
-JNIEXPORT void JNICALL OS_NATIVE(MoveTo)
- (JNIEnv *env, jclass that, jshort arg0, jshort arg1)
-{
- OS_NATIVE_ENTER(env, that, MoveTo_FUNC);
- MoveTo((short)arg0, (short)arg1);
- OS_NATIVE_EXIT(env, that, MoveTo_FUNC);
-}
-#endif
-
-#ifndef NO_MoveWindow
-JNIEXPORT void JNICALL OS_NATIVE(MoveWindow)
- (JNIEnv *env, jclass that, jint arg0, jshort arg1, jshort arg2, jboolean arg3)
-{
- OS_NATIVE_ENTER(env, that, MoveWindow_FUNC);
- MoveWindow((WindowRef)arg0, (short)arg1, (short)arg2, (Boolean)arg3);
- OS_NATIVE_EXIT(env, that, MoveWindow_FUNC);
-}
-#endif
-
-#ifndef NO_NavCreateChooseFolderDialog
-JNIEXPORT jint JNICALL OS_NATIVE(NavCreateChooseFolderDialog)
- (JNIEnv *env, jclass that, jobject arg0, jint arg1, jint arg2, jint arg3, jintArray arg4)
-{
- NavDialogCreationOptions _arg0, *lparg0=NULL;
- jint *lparg4=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, NavCreateChooseFolderDialog_FUNC);
- if (arg0) if ((lparg0 = getNavDialogCreationOptionsFields(env, arg0, &_arg0)) == NULL) goto fail;
- if (arg4) if ((lparg4 = (*env)->GetIntArrayElements(env, arg4, NULL)) == NULL) goto fail;
- rc = (jint)NavCreateChooseFolderDialog((const NavDialogCreationOptions *)lparg0, (NavEventUPP)arg1, (NavObjectFilterUPP)arg2, (void *)arg3, (NavDialogRef *)lparg4);
-fail:
- if (arg4 && lparg4) (*env)->ReleaseIntArrayElements(env, arg4, lparg4, 0);
- if (arg0 && lparg0) setNavDialogCreationOptionsFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, NavCreateChooseFolderDialog_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_NavCreateGetFileDialog
-JNIEXPORT jint JNICALL OS_NATIVE(NavCreateGetFileDialog)
- (JNIEnv *env, jclass that, jobject arg0, jint arg1, jint arg2, jint arg3, jint arg4, jint arg5, jintArray arg6)
-{
- NavDialogCreationOptions _arg0, *lparg0=NULL;
- jint *lparg6=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, NavCreateGetFileDialog_FUNC);
- if (arg0) if ((lparg0 = getNavDialogCreationOptionsFields(env, arg0, &_arg0)) == NULL) goto fail;
- if (arg6) if ((lparg6 = (*env)->GetIntArrayElements(env, arg6, NULL)) == NULL) goto fail;
- rc = (jint)NavCreateGetFileDialog((const NavDialogCreationOptions *)lparg0, (NavTypeListHandle)arg1, (NavEventUPP)arg2, (NavPreviewUPP)arg3, (NavObjectFilterUPP)arg4, (void *)arg5, (NavDialogRef *)lparg6);
-fail:
- if (arg6 && lparg6) (*env)->ReleaseIntArrayElements(env, arg6, lparg6, 0);
- if (arg0 && lparg0) setNavDialogCreationOptionsFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, NavCreateGetFileDialog_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_NavCreatePutFileDialog
-JNIEXPORT jint JNICALL OS_NATIVE(NavCreatePutFileDialog)
- (JNIEnv *env, jclass that, jobject arg0, jint arg1, jint arg2, jint arg3, jint arg4, jintArray arg5)
-{
- NavDialogCreationOptions _arg0, *lparg0=NULL;
- jint *lparg5=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, NavCreatePutFileDialog_FUNC);
- if (arg0) if ((lparg0 = getNavDialogCreationOptionsFields(env, arg0, &_arg0)) == NULL) goto fail;
- if (arg5) if ((lparg5 = (*env)->GetIntArrayElements(env, arg5, NULL)) == NULL) goto fail;
- rc = (jint)NavCreatePutFileDialog((const NavDialogCreationOptions *)lparg0, (OSType)arg1, (OSType)arg2, (NavEventUPP)arg3, (void *)arg4, (NavDialogRef *)lparg5);
-fail:
- if (arg5 && lparg5) (*env)->ReleaseIntArrayElements(env, arg5, lparg5, 0);
- if (arg0 && lparg0) setNavDialogCreationOptionsFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, NavCreatePutFileDialog_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_NavCustomControl__IILorg_eclipse_swt_internal_carbon_AEDesc_2
-JNIEXPORT jint JNICALL OS_NATIVE(NavCustomControl__IILorg_eclipse_swt_internal_carbon_AEDesc_2)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jobject arg2)
-{
- AEDesc _arg2, *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, NavCustomControl__IILorg_eclipse_swt_internal_carbon_AEDesc_2_FUNC);
- if (arg2) if ((lparg2 = getAEDescFields(env, arg2, &_arg2)) == NULL) goto fail;
- rc = (jint)NavCustomControl((NavDialogRef)arg0, (NavCustomControlMessage)arg1, lparg2);
-fail:
- if (arg2 && lparg2) setAEDescFields(env, arg2, lparg2);
- OS_NATIVE_EXIT(env, that, NavCustomControl__IILorg_eclipse_swt_internal_carbon_AEDesc_2_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_NavCustomControl__IILorg_eclipse_swt_internal_carbon_NavMenuItemSpec_2
-JNIEXPORT jint JNICALL OS_NATIVE(NavCustomControl__IILorg_eclipse_swt_internal_carbon_NavMenuItemSpec_2)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jobject arg2)
-{
- NavMenuItemSpec _arg2, *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, NavCustomControl__IILorg_eclipse_swt_internal_carbon_NavMenuItemSpec_2_FUNC);
- if (arg2) if ((lparg2 = getNavMenuItemSpecFields(env, arg2, &_arg2)) == NULL) goto fail;
- rc = (jint)NavCustomControl((NavDialogRef)arg0, (NavCustomControlMessage)arg1, lparg2);
-fail:
- if (arg2 && lparg2) setNavMenuItemSpecFields(env, arg2, lparg2);
- OS_NATIVE_EXIT(env, that, NavCustomControl__IILorg_eclipse_swt_internal_carbon_NavMenuItemSpec_2_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_NavDialogDispose
-JNIEXPORT void JNICALL OS_NATIVE(NavDialogDispose)
- (JNIEnv *env, jclass that, jint arg0)
-{
- OS_NATIVE_ENTER(env, that, NavDialogDispose_FUNC);
- NavDialogDispose((NavDialogRef)arg0);
- OS_NATIVE_EXIT(env, that, NavDialogDispose_FUNC);
-}
-#endif
-
-#ifndef NO_NavDialogGetReply
-JNIEXPORT jint JNICALL OS_NATIVE(NavDialogGetReply)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1)
-{
- NavReplyRecord _arg1, *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, NavDialogGetReply_FUNC);
- if (arg1) if ((lparg1 = getNavReplyRecordFields(env, arg1, &_arg1)) == NULL) goto fail;
- rc = (jint)NavDialogGetReply((NavDialogRef)arg0, (NavReplyRecord *)lparg1);
-fail:
- if (arg1 && lparg1) setNavReplyRecordFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, NavDialogGetReply_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_NavDialogGetSaveFileName
-JNIEXPORT jint JNICALL OS_NATIVE(NavDialogGetSaveFileName)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, NavDialogGetSaveFileName_FUNC);
- rc = (jint)NavDialogGetSaveFileName((NavDialogRef)arg0);
- OS_NATIVE_EXIT(env, that, NavDialogGetSaveFileName_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_NavDialogGetUserAction
-JNIEXPORT jint JNICALL OS_NATIVE(NavDialogGetUserAction)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, NavDialogGetUserAction_FUNC);
- rc = (jint)NavDialogGetUserAction((NavDialogRef)arg0);
- OS_NATIVE_EXIT(env, that, NavDialogGetUserAction_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_NavDialogRun
-JNIEXPORT jint JNICALL OS_NATIVE(NavDialogRun)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, NavDialogRun_FUNC);
- rc = (jint)NavDialogRun((NavDialogRef)arg0);
- OS_NATIVE_EXIT(env, that, NavDialogRun_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_NavDialogSetFilterTypeIdentifiers
-JNIEXPORT jint JNICALL OS_NATIVE(NavDialogSetFilterTypeIdentifiers)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, NavDialogSetFilterTypeIdentifiers_FUNC);
-/*
- rc = (jint)NavDialogSetFilterTypeIdentifiers(arg0, arg1);
-*/
- {
- LOAD_FUNCTION(fp, NavDialogSetFilterTypeIdentifiers)
- if (fp) {
- rc = (jint)((jint (CALLING_CONVENTION*)(jint, jint))fp)(arg0, arg1);
- }
- }
- OS_NATIVE_EXIT(env, that, NavDialogSetFilterTypeIdentifiers_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_NavDialogSetSaveFileName
-JNIEXPORT jint JNICALL OS_NATIVE(NavDialogSetSaveFileName)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, NavDialogSetSaveFileName_FUNC);
- rc = (jint)NavDialogSetSaveFileName((NavDialogRef)arg0, (CFStringRef)arg1);
- OS_NATIVE_EXIT(env, that, NavDialogSetSaveFileName_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_NavDisposeReply
-JNIEXPORT jint JNICALL OS_NATIVE(NavDisposeReply)
- (JNIEnv *env, jclass that, jobject arg0)
-{
- NavReplyRecord _arg0, *lparg0=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, NavDisposeReply_FUNC);
- if (arg0) if ((lparg0 = getNavReplyRecordFields(env, arg0, &_arg0)) == NULL) goto fail;
- rc = (jint)NavDisposeReply(lparg0);
-fail:
- if (arg0 && lparg0) setNavReplyRecordFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, NavDisposeReply_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_NavGetDefaultDialogCreationOptions
-JNIEXPORT jint JNICALL OS_NATIVE(NavGetDefaultDialogCreationOptions)
- (JNIEnv *env, jclass that, jobject arg0)
-{
- NavDialogCreationOptions _arg0, *lparg0=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, NavGetDefaultDialogCreationOptions_FUNC);
- if (arg0) if ((lparg0 = getNavDialogCreationOptionsFields(env, arg0, &_arg0)) == NULL) goto fail;
- rc = (jint)NavGetDefaultDialogCreationOptions((NavDialogCreationOptions *)lparg0);
-fail:
- if (arg0 && lparg0) setNavDialogCreationOptionsFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, NavGetDefaultDialogCreationOptions_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_NewControl
-JNIEXPORT jint JNICALL OS_NATIVE(NewControl)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1, jbyteArray arg2, jboolean arg3, jshort arg4, jshort arg5, jshort arg6, jshort arg7, jint arg8)
-{
- Rect _arg1, *lparg1=NULL;
- jbyte *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, NewControl_FUNC);
- if (arg1) if ((lparg1 = getRectFields(env, arg1, &_arg1)) == NULL) goto fail;
- if (arg2) if ((lparg2 = (*env)->GetByteArrayElements(env, arg2, NULL)) == NULL) goto fail;
- rc = (jint)NewControl((WindowRef)arg0, (const Rect *)lparg1, (ConstStr255Param)lparg2, (Boolean)arg3, (SInt16)arg4, (SInt16)arg5, (SInt16)arg6, (SInt16)arg7, (SInt32)arg8);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseByteArrayElements(env, arg2, lparg2, 0);
- if (arg1 && lparg1) setRectFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, NewControl_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_NewDrag
-JNIEXPORT jint JNICALL OS_NATIVE(NewDrag)
- (JNIEnv *env, jclass that, jintArray arg0)
-{
- jint *lparg0=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, NewDrag_FUNC);
- if (arg0) if ((lparg0 = (*env)->GetIntArrayElements(env, arg0, NULL)) == NULL) goto fail;
- rc = (jint)NewDrag((DragRef *)lparg0);
-fail:
- if (arg0 && lparg0) (*env)->ReleaseIntArrayElements(env, arg0, lparg0, 0);
- OS_NATIVE_EXIT(env, that, NewDrag_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_NewGWorldFromPtr
-JNIEXPORT jint JNICALL OS_NATIVE(NewGWorldFromPtr)
- (JNIEnv *env, jclass that, jintArray arg0, jint arg1, jobject arg2, jint arg3, jint arg4, jint arg5, jint arg6, jint arg7)
-{
- jint *lparg0=NULL;
- Rect _arg2, *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, NewGWorldFromPtr_FUNC);
- if (arg0) if ((lparg0 = (*env)->GetIntArrayElements(env, arg0, NULL)) == NULL) goto fail;
- if (arg2) if ((lparg2 = getRectFields(env, arg2, &_arg2)) == NULL) goto fail;
- rc = (jint)NewGWorldFromPtr((GWorldPtr *)lparg0, (unsigned long)arg1, (const Rect *)lparg2, (CTabHandle)arg3, (GDHandle)arg4, (GWorldFlags)arg5, (Ptr)arg6, (long)arg7);
-fail:
- if (arg2 && lparg2) setRectFields(env, arg2, lparg2);
- if (arg0 && lparg0) (*env)->ReleaseIntArrayElements(env, arg0, lparg0, 0);
- OS_NATIVE_EXIT(env, that, NewGWorldFromPtr_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_NewHandle
-JNIEXPORT jint JNICALL OS_NATIVE(NewHandle)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, NewHandle_FUNC);
- rc = (jint)NewHandle((Size)arg0);
- OS_NATIVE_EXIT(env, that, NewHandle_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_NewHandleClear
-JNIEXPORT jint JNICALL OS_NATIVE(NewHandleClear)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, NewHandleClear_FUNC);
- rc = (jint)NewHandleClear((Size)arg0);
- OS_NATIVE_EXIT(env, that, NewHandleClear_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_NewPtr
-JNIEXPORT jint JNICALL OS_NATIVE(NewPtr)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, NewPtr_FUNC);
- rc = (jint)NewPtr((Size)arg0);
- OS_NATIVE_EXIT(env, that, NewPtr_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_NewPtrClear
-JNIEXPORT jint JNICALL OS_NATIVE(NewPtrClear)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, NewPtrClear_FUNC);
- rc = (jint)NewPtrClear((Size)arg0);
- OS_NATIVE_EXIT(env, that, NewPtrClear_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_NewRgn
-JNIEXPORT jint JNICALL OS_NATIVE(NewRgn)
- (JNIEnv *env, jclass that)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, NewRgn_FUNC);
- rc = (jint)NewRgn();
- OS_NATIVE_EXIT(env, that, NewRgn_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_NewTSMDocument
-JNIEXPORT jint JNICALL OS_NATIVE(NewTSMDocument)
- (JNIEnv *env, jclass that, jshort arg0, jintArray arg1, jintArray arg2, jlong arg3)
-{
- jint *lparg1=NULL;
- jint *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, NewTSMDocument_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL)) == NULL) goto fail;
- if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail;
- rc = (jint)NewTSMDocument(arg0, (OSType *)lparg1, (TSMDocumentID *)lparg2, arg3);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- if (arg1 && lparg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, NewTSMDocument_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_OffsetRect
-JNIEXPORT void JNICALL OS_NATIVE(OffsetRect)
- (JNIEnv *env, jclass that, jobject arg0, jshort arg1, jshort arg2)
-{
- Rect _arg0, *lparg0=NULL;
- OS_NATIVE_ENTER(env, that, OffsetRect_FUNC);
- if (arg0) if ((lparg0 = getRectFields(env, arg0, &_arg0)) == NULL) goto fail;
- OffsetRect(lparg0, arg1, arg2);
-fail:
- if (arg0 && lparg0) setRectFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, OffsetRect_FUNC);
-}
-#endif
-
-#ifndef NO_OffsetRgn
-JNIEXPORT void JNICALL OS_NATIVE(OffsetRgn)
- (JNIEnv *env, jclass that, jint arg0, jshort arg1, jshort arg2)
-{
- OS_NATIVE_ENTER(env, that, OffsetRgn_FUNC);
- OffsetRgn((RgnHandle)arg0, (short)arg1, (short)arg2);
- OS_NATIVE_EXIT(env, that, OffsetRgn_FUNC);
-}
-#endif
-
-#ifndef NO_OpenDataBrowserContainer
-JNIEXPORT jint JNICALL OS_NATIVE(OpenDataBrowserContainer)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, OpenDataBrowserContainer_FUNC);
- rc = (jint)OpenDataBrowserContainer((ControlRef)arg0, (DataBrowserItemID)arg1);
- OS_NATIVE_EXIT(env, that, OpenDataBrowserContainer_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_OpenPicture
-JNIEXPORT jint JNICALL OS_NATIVE(OpenPicture)
- (JNIEnv *env, jclass that, jobject arg0)
-{
- Rect _arg0, *lparg0=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, OpenPicture_FUNC);
- if (arg0) if ((lparg0 = getRectFields(env, arg0, &_arg0)) == NULL) goto fail;
- rc = (jint)OpenPicture((const Rect *)lparg0);
-fail:
- if (arg0 && lparg0) setRectFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, OpenPicture_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_OpenRgn
-JNIEXPORT void JNICALL OS_NATIVE(OpenRgn)
- (JNIEnv *env, jclass that)
-{
- OS_NATIVE_ENTER(env, that, OpenRgn_FUNC);
- OpenRgn();
- OS_NATIVE_EXIT(env, that, OpenRgn_FUNC);
-}
-#endif
-
-#ifndef NO_PMCreatePageFormat
-JNIEXPORT jint JNICALL OS_NATIVE(PMCreatePageFormat)
- (JNIEnv *env, jclass that, jintArray arg0)
-{
- jint *lparg0=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, PMCreatePageFormat_FUNC);
- if (arg0) if ((lparg0 = (*env)->GetIntArrayElements(env, arg0, NULL)) == NULL) goto fail;
- rc = (jint)PMCreatePageFormat((PMPageFormat *)lparg0);
-fail:
- if (arg0 && lparg0) (*env)->ReleaseIntArrayElements(env, arg0, lparg0, 0);
- OS_NATIVE_EXIT(env, that, PMCreatePageFormat_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_PMCreatePrintSettings
-JNIEXPORT jint JNICALL OS_NATIVE(PMCreatePrintSettings)
- (JNIEnv *env, jclass that, jintArray arg0)
-{
- jint *lparg0=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, PMCreatePrintSettings_FUNC);
- if (arg0) if ((lparg0 = (*env)->GetIntArrayElements(env, arg0, NULL)) == NULL) goto fail;
- rc = (jint)PMCreatePrintSettings((PMPrintSettings *)lparg0);
-fail:
- if (arg0 && lparg0) (*env)->ReleaseIntArrayElements(env, arg0, lparg0, 0);
- OS_NATIVE_EXIT(env, that, PMCreatePrintSettings_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_PMCreateSession
-JNIEXPORT jint JNICALL OS_NATIVE(PMCreateSession)
- (JNIEnv *env, jclass that, jintArray arg0)
-{
- jint *lparg0=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, PMCreateSession_FUNC);
- if (arg0) if ((lparg0 = (*env)->GetIntArrayElements(env, arg0, NULL)) == NULL) goto fail;
- rc = (jint)PMCreateSession((PMPrintSession *)lparg0);
-fail:
- if (arg0 && lparg0) (*env)->ReleaseIntArrayElements(env, arg0, lparg0, 0);
- OS_NATIVE_EXIT(env, that, PMCreateSession_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_PMFlattenPageFormat
-JNIEXPORT jint JNICALL OS_NATIVE(PMFlattenPageFormat)
- (JNIEnv *env, jclass that, jint arg0, jintArray arg1)
-{
- jint *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, PMFlattenPageFormat_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL)) == NULL) goto fail;
- rc = (jint)PMFlattenPageFormat((PMPageFormat)arg0, (Handle *)lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, PMFlattenPageFormat_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_PMFlattenPrintSettings
-JNIEXPORT jint JNICALL OS_NATIVE(PMFlattenPrintSettings)
- (JNIEnv *env, jclass that, jint arg0, jintArray arg1)
-{
- jint *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, PMFlattenPrintSettings_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL)) == NULL) goto fail;
- rc = (jint)PMFlattenPrintSettings((PMPrintSettings)arg0, (Handle *)lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, PMFlattenPrintSettings_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_PMGetAdjustedPageRect
-JNIEXPORT jint JNICALL OS_NATIVE(PMGetAdjustedPageRect)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1)
-{
- PMRect _arg1, *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, PMGetAdjustedPageRect_FUNC);
- if (arg1) if ((lparg1 = getPMRectFields(env, arg1, &_arg1)) == NULL) goto fail;
- rc = (jint)PMGetAdjustedPageRect((PMPageFormat)arg0, (PMRect *)lparg1);
-fail:
- if (arg1 && lparg1) setPMRectFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, PMGetAdjustedPageRect_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_PMGetAdjustedPaperRect
-JNIEXPORT jint JNICALL OS_NATIVE(PMGetAdjustedPaperRect)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1)
-{
- PMRect _arg1, *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, PMGetAdjustedPaperRect_FUNC);
- if (arg1) if ((lparg1 = getPMRectFields(env, arg1, &_arg1)) == NULL) goto fail;
- rc = (jint)PMGetAdjustedPaperRect((PMPageFormat)arg0, (PMRect *)lparg1);
-fail:
- if (arg1 && lparg1) setPMRectFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, PMGetAdjustedPaperRect_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_PMGetCollate
-JNIEXPORT jint JNICALL OS_NATIVE(PMGetCollate)
- (JNIEnv *env, jclass that, jint arg0, jbooleanArray arg1)
-{
- jboolean *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, PMGetCollate_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetBooleanArrayElements(env, arg1, NULL)) == NULL) goto fail;
- rc = (jint)PMGetCollate((PMPrintSettings)arg0, lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseBooleanArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, PMGetCollate_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_PMGetCopies
-JNIEXPORT jint JNICALL OS_NATIVE(PMGetCopies)
- (JNIEnv *env, jclass that, jint arg0, jintArray arg1)
-{
- jint *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, PMGetCopies_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL)) == NULL) goto fail;
- rc = (jint)PMGetCopies((PMPrintSettings)arg0, (UInt32 *)lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, PMGetCopies_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_PMGetFirstPage
-JNIEXPORT jint JNICALL OS_NATIVE(PMGetFirstPage)
- (JNIEnv *env, jclass that, jint arg0, jintArray arg1)
-{
- jint *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, PMGetFirstPage_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL)) == NULL) goto fail;
- rc = (jint)PMGetFirstPage((PMPrintSettings)arg0, (UInt32 *)lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, PMGetFirstPage_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_PMGetJobNameCFString
-JNIEXPORT jint JNICALL OS_NATIVE(PMGetJobNameCFString)
- (JNIEnv *env, jclass that, jint arg0, jintArray arg1)
-{
- jint *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, PMGetJobNameCFString_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL)) == NULL) goto fail;
- rc = (jint)PMGetJobNameCFString((PMPrintSettings)arg0, (CFStringRef *)lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, PMGetJobNameCFString_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_PMGetLastPage
-JNIEXPORT jint JNICALL OS_NATIVE(PMGetLastPage)
- (JNIEnv *env, jclass that, jint arg0, jintArray arg1)
-{
- jint *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, PMGetLastPage_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL)) == NULL) goto fail;
- rc = (jint)PMGetLastPage((PMPrintSettings)arg0, (UInt32 *)lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, PMGetLastPage_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_PMGetOrientation
-JNIEXPORT jint JNICALL OS_NATIVE(PMGetOrientation)
- (JNIEnv *env, jclass that, jint arg0, jshortArray arg1)
-{
- jshort *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, PMGetOrientation_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetShortArrayElements(env, arg1, NULL)) == NULL) goto fail;
- rc = (jint)PMGetOrientation((PMPageFormat)arg0, (PMOrientation *)lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseShortArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, PMGetOrientation_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_PMGetPageRange
-JNIEXPORT jint JNICALL OS_NATIVE(PMGetPageRange)
- (JNIEnv *env, jclass that, jint arg0, jintArray arg1, jintArray arg2)
-{
- jint *lparg1=NULL;
- jint *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, PMGetPageRange_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL)) == NULL) goto fail;
- if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail;
- rc = (jint)PMGetPageRange((PMPrintSettings)arg0, (UInt32 *)lparg1, (UInt32 *)lparg2);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- if (arg1 && lparg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, PMGetPageRange_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_PMGetResolution
-JNIEXPORT jint JNICALL OS_NATIVE(PMGetResolution)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1)
-{
- PMResolution _arg1, *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, PMGetResolution_FUNC);
- if (arg1) if ((lparg1 = getPMResolutionFields(env, arg1, &_arg1)) == NULL) goto fail;
- rc = (jint)PMGetResolution((PMPageFormat)arg0, (PMResolution *)lparg1);
-fail:
- if (arg1 && lparg1) setPMResolutionFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, PMGetResolution_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_PMPrinterGetOutputResolution
-JNIEXPORT jint JNICALL OS_NATIVE(PMPrinterGetOutputResolution)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jobject arg2)
-{
- PMResolution _arg2, *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, PMPrinterGetOutputResolution_FUNC);
- if (arg2) if ((lparg2 = getPMResolutionFields(env, arg2, &_arg2)) == NULL) goto fail;
-/*
- rc = (jint)PMPrinterGetOutputResolution((PMPrinter)arg0, (PMPrintSettings)arg1, (PMResolution *)lparg2);
-*/
- {
- LOAD_FUNCTION(fp, PMPrinterGetOutputResolution)
- if (fp) {
- rc = (jint)((jint (CALLING_CONVENTION*)(PMPrinter, PMPrintSettings, PMResolution *))fp)((PMPrinter)arg0, (PMPrintSettings)arg1, (PMResolution *)lparg2);
- }
- }
-fail:
- if (arg2 && lparg2) setPMResolutionFields(env, arg2, lparg2);
- OS_NATIVE_EXIT(env, that, PMPrinterGetOutputResolution_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_PMRelease
-JNIEXPORT jint JNICALL OS_NATIVE(PMRelease)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, PMRelease_FUNC);
- rc = (jint)PMRelease((PMObject)arg0);
- OS_NATIVE_EXIT(env, that, PMRelease_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_PMSessionBeginDocumentNoDialog
-JNIEXPORT jint JNICALL OS_NATIVE(PMSessionBeginDocumentNoDialog)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, PMSessionBeginDocumentNoDialog_FUNC);
- rc = (jint)PMSessionBeginDocumentNoDialog((PMPrintSession)arg0, (PMPrintSettings)arg1, (PMPageFormat)arg2);
- OS_NATIVE_EXIT(env, that, PMSessionBeginDocumentNoDialog_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_PMSessionBeginPageNoDialog
-JNIEXPORT jint JNICALL OS_NATIVE(PMSessionBeginPageNoDialog)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jobject arg2)
-{
- PMRect _arg2, *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, PMSessionBeginPageNoDialog_FUNC);
- if (arg2) if ((lparg2 = getPMRectFields(env, arg2, &_arg2)) == NULL) goto fail;
- rc = (jint)PMSessionBeginPageNoDialog((PMPrintSession)arg0, (PMPageFormat)arg1, (const PMRect *)lparg2);
-fail:
- if (arg2 && lparg2) setPMRectFields(env, arg2, lparg2);
- OS_NATIVE_EXIT(env, that, PMSessionBeginPageNoDialog_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_PMSessionCopyDestinationLocation
-JNIEXPORT jint JNICALL OS_NATIVE(PMSessionCopyDestinationLocation)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jintArray arg2)
-{
- jint *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, PMSessionCopyDestinationLocation_FUNC);
- if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail;
- rc = (jint)PMSessionCopyDestinationLocation((PMPrintSession)arg0, (PMPrintSettings)arg1, (CFURLRef *)lparg2);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- OS_NATIVE_EXIT(env, that, PMSessionCopyDestinationLocation_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_PMSessionCreatePrinterList
-JNIEXPORT jint JNICALL OS_NATIVE(PMSessionCreatePrinterList)
- (JNIEnv *env, jclass that, jint arg0, jintArray arg1, jintArray arg2, jintArray arg3)
-{
- jint *lparg1=NULL;
- jint *lparg2=NULL;
- jint *lparg3=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, PMSessionCreatePrinterList_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL)) == NULL) goto fail;
- if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail;
- if (arg3) if ((lparg3 = (*env)->GetIntArrayElements(env, arg3, NULL)) == NULL) goto fail;
- rc = (jint)PMSessionCreatePrinterList((PMPrintSession)arg0, (CFArrayRef *)lparg1, (CFIndex *)lparg2, (PMPrinter *)lparg3);
-fail:
- if (arg3 && lparg3) (*env)->ReleaseIntArrayElements(env, arg3, lparg3, 0);
- if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- if (arg1 && lparg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, PMSessionCreatePrinterList_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_PMSessionDefaultPageFormat
-JNIEXPORT jint JNICALL OS_NATIVE(PMSessionDefaultPageFormat)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, PMSessionDefaultPageFormat_FUNC);
- rc = (jint)PMSessionDefaultPageFormat((PMPrintSession)arg0, (PMPageFormat)arg1);
- OS_NATIVE_EXIT(env, that, PMSessionDefaultPageFormat_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_PMSessionDefaultPrintSettings
-JNIEXPORT jint JNICALL OS_NATIVE(PMSessionDefaultPrintSettings)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, PMSessionDefaultPrintSettings_FUNC);
- rc = (jint)PMSessionDefaultPrintSettings((PMPrintSession)arg0, (PMPrintSettings)arg1);
- OS_NATIVE_EXIT(env, that, PMSessionDefaultPrintSettings_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_PMSessionEndDocumentNoDialog
-JNIEXPORT jint JNICALL OS_NATIVE(PMSessionEndDocumentNoDialog)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, PMSessionEndDocumentNoDialog_FUNC);
- rc = (jint)PMSessionEndDocumentNoDialog((PMPrintSession)arg0);
- OS_NATIVE_EXIT(env, that, PMSessionEndDocumentNoDialog_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_PMSessionEndPageNoDialog
-JNIEXPORT jint JNICALL OS_NATIVE(PMSessionEndPageNoDialog)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, PMSessionEndPageNoDialog_FUNC);
- rc = (jint)PMSessionEndPageNoDialog((PMPrintSession)arg0);
- OS_NATIVE_EXIT(env, that, PMSessionEndPageNoDialog_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_PMSessionError
-JNIEXPORT jint JNICALL OS_NATIVE(PMSessionError)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, PMSessionError_FUNC);
- rc = (jint)PMSessionError((PMPrintSession)arg0);
- OS_NATIVE_EXIT(env, that, PMSessionError_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_PMSessionGetCurrentPrinter
-JNIEXPORT jint JNICALL OS_NATIVE(PMSessionGetCurrentPrinter)
- (JNIEnv *env, jclass that, jint arg0, jintArray arg1)
-{
- jint *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, PMSessionGetCurrentPrinter_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL)) == NULL) goto fail;
- rc = (jint)PMSessionGetCurrentPrinter((PMPrintSession)arg0, (PMPrinter *)lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, PMSessionGetCurrentPrinter_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_PMSessionGetDestinationType
-JNIEXPORT jint JNICALL OS_NATIVE(PMSessionGetDestinationType)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jshortArray arg2)
-{
- jshort *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, PMSessionGetDestinationType_FUNC);
- if (arg2) if ((lparg2 = (*env)->GetShortArrayElements(env, arg2, NULL)) == NULL) goto fail;
- rc = (jint)PMSessionGetDestinationType((PMPrintSession)arg0, (PMPrintSettings)arg1, (PMDestinationType *)lparg2);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseShortArrayElements(env, arg2, lparg2, 0);
- OS_NATIVE_EXIT(env, that, PMSessionGetDestinationType_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_PMSessionGetGraphicsContext
-JNIEXPORT jint JNICALL OS_NATIVE(PMSessionGetGraphicsContext)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jintArray arg2)
-{
- jint *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, PMSessionGetGraphicsContext_FUNC);
- if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail;
- rc = (jint)PMSessionGetGraphicsContext((PMPrintSession)arg0, (CFStringRef)arg1, (void **)lparg2);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- OS_NATIVE_EXIT(env, that, PMSessionGetGraphicsContext_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_PMSessionPageSetupDialog
-JNIEXPORT jint JNICALL OS_NATIVE(PMSessionPageSetupDialog)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jbooleanArray arg2)
-{
- jboolean *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, PMSessionPageSetupDialog_FUNC);
- if (arg2) if ((lparg2 = (*env)->GetBooleanArrayElements(env, arg2, NULL)) == NULL) goto fail;
- rc = (jint)PMSessionPageSetupDialog((PMPrintSession)arg0, (PMPageFormat)arg1, (Boolean *)lparg2);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseBooleanArrayElements(env, arg2, lparg2, 0);
- OS_NATIVE_EXIT(env, that, PMSessionPageSetupDialog_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_PMSessionPrintDialog
-JNIEXPORT jint JNICALL OS_NATIVE(PMSessionPrintDialog)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jbooleanArray arg3)
-{
- jboolean *lparg3=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, PMSessionPrintDialog_FUNC);
- if (arg3) if ((lparg3 = (*env)->GetBooleanArrayElements(env, arg3, NULL)) == NULL) goto fail;
- rc = (jint)PMSessionPrintDialog((PMPrintSession)arg0, (PMPrintSettings)arg1, (PMPageFormat)arg2, (Boolean *)lparg3);
-fail:
- if (arg3 && lparg3) (*env)->ReleaseBooleanArrayElements(env, arg3, lparg3, 0);
- OS_NATIVE_EXIT(env, that, PMSessionPrintDialog_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_PMSessionSetCurrentPrinter
-JNIEXPORT jint JNICALL OS_NATIVE(PMSessionSetCurrentPrinter)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, PMSessionSetCurrentPrinter_FUNC);
- rc = (jint)PMSessionSetCurrentPrinter((PMPrintSession)arg0, (CFStringRef)arg1);
- OS_NATIVE_EXIT(env, that, PMSessionSetCurrentPrinter_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_PMSessionSetDestination
-JNIEXPORT jint JNICALL OS_NATIVE(PMSessionSetDestination)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jshort arg2, jint arg3, jint arg4)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, PMSessionSetDestination_FUNC);
- rc = (jint)PMSessionSetDestination((PMPrintSession)arg0, (PMPrintSettings)arg1, (PMDestinationType)arg2, (CFStringRef)arg3, (CFURLRef)arg4);
- OS_NATIVE_EXIT(env, that, PMSessionSetDestination_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_PMSessionSetDocumentFormatGeneration
-JNIEXPORT jint JNICALL OS_NATIVE(PMSessionSetDocumentFormatGeneration)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, PMSessionSetDocumentFormatGeneration_FUNC);
- rc = (jint)PMSessionSetDocumentFormatGeneration((PMPrintSession)arg0, (CFStringRef)arg1, (CFArrayRef)arg2, (CFTypeRef)arg3);
- OS_NATIVE_EXIT(env, that, PMSessionSetDocumentFormatGeneration_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_PMSessionSetError
-JNIEXPORT jint JNICALL OS_NATIVE(PMSessionSetError)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, PMSessionSetError_FUNC);
- rc = (jint)PMSessionSetError((PMPrintSession)arg0, arg1);
- OS_NATIVE_EXIT(env, that, PMSessionSetError_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_PMSessionUseSheets
-JNIEXPORT jint JNICALL OS_NATIVE(PMSessionUseSheets)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, PMSessionUseSheets_FUNC);
- rc = (jint)PMSessionUseSheets((PMPrintSession)arg0, (WindowRef)arg1, (PMSheetDoneUPP)arg2);
- OS_NATIVE_EXIT(env, that, PMSessionUseSheets_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_PMSessionValidatePageFormat
-JNIEXPORT jint JNICALL OS_NATIVE(PMSessionValidatePageFormat)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jbooleanArray arg2)
-{
- jboolean *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, PMSessionValidatePageFormat_FUNC);
- if (arg2) if ((lparg2 = (*env)->GetBooleanArrayElements(env, arg2, NULL)) == NULL) goto fail;
- rc = (jint)PMSessionValidatePageFormat((PMPrintSession)arg0, (PMPageFormat)arg1, (Boolean *)lparg2);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseBooleanArrayElements(env, arg2, lparg2, 0);
- OS_NATIVE_EXIT(env, that, PMSessionValidatePageFormat_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_PMSessionValidatePrintSettings
-JNIEXPORT jint JNICALL OS_NATIVE(PMSessionValidatePrintSettings)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jbooleanArray arg2)
-{
- jboolean *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, PMSessionValidatePrintSettings_FUNC);
- if (arg2) if ((lparg2 = (*env)->GetBooleanArrayElements(env, arg2, NULL)) == NULL) goto fail;
- rc = (jint)PMSessionValidatePrintSettings((PMPrintSession)arg0, (PMPrintSettings)arg1, (Boolean *)lparg2);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseBooleanArrayElements(env, arg2, lparg2, 0);
- OS_NATIVE_EXIT(env, that, PMSessionValidatePrintSettings_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_PMSetCollate
-JNIEXPORT jint JNICALL OS_NATIVE(PMSetCollate)
- (JNIEnv *env, jclass that, jint arg0, jboolean arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, PMSetCollate_FUNC);
- rc = (jint)PMSetCollate((PMPrintSettings)arg0, arg1);
- OS_NATIVE_EXIT(env, that, PMSetCollate_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_PMSetCopies
-JNIEXPORT jint JNICALL OS_NATIVE(PMSetCopies)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jboolean arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, PMSetCopies_FUNC);
- rc = (jint)PMSetCopies((PMPrintSettings)arg0, (UInt32)arg1, (Boolean)arg2);
- OS_NATIVE_EXIT(env, that, PMSetCopies_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_PMSetFirstPage
-JNIEXPORT jint JNICALL OS_NATIVE(PMSetFirstPage)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jboolean arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, PMSetFirstPage_FUNC);
- rc = (jint)PMSetFirstPage((PMPrintSettings)arg0, (UInt32)arg1, (Boolean)arg2);
- OS_NATIVE_EXIT(env, that, PMSetFirstPage_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_PMSetJobNameCFString
-JNIEXPORT jint JNICALL OS_NATIVE(PMSetJobNameCFString)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, PMSetJobNameCFString_FUNC);
- rc = (jint)PMSetJobNameCFString((PMPrintSettings)arg0, (CFStringRef)arg1);
- OS_NATIVE_EXIT(env, that, PMSetJobNameCFString_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_PMSetLastPage
-JNIEXPORT jint JNICALL OS_NATIVE(PMSetLastPage)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jboolean arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, PMSetLastPage_FUNC);
- rc = (jint)PMSetLastPage((PMPrintSettings)arg0, (UInt32)arg1, (Boolean)arg2);
- OS_NATIVE_EXIT(env, that, PMSetLastPage_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_PMSetOrientation
-JNIEXPORT void JNICALL OS_NATIVE(PMSetOrientation)
- (JNIEnv *env, jclass that, jint arg0, jshort arg1, jboolean arg2)
-{
- OS_NATIVE_ENTER(env, that, PMSetOrientation_FUNC);
- PMSetOrientation((PMPageFormat)arg0, (PMOrientation)arg1, (Boolean)arg2);
- OS_NATIVE_EXIT(env, that, PMSetOrientation_FUNC);
-}
-#endif
-
-#ifndef NO_PMSetPageRange
-JNIEXPORT jint JNICALL OS_NATIVE(PMSetPageRange)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, PMSetPageRange_FUNC);
- rc = (jint)PMSetPageRange((PMPrintSettings)arg0, (UInt32)arg1, (UInt32)arg2);
- OS_NATIVE_EXIT(env, that, PMSetPageRange_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_PMShowPrintDialogWithOptions
-JNIEXPORT jint JNICALL OS_NATIVE(PMShowPrintDialogWithOptions)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jbooleanArray arg4)
-{
- jboolean *lparg4=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, PMShowPrintDialogWithOptions_FUNC);
- if (arg4) if ((lparg4 = (*env)->GetBooleanArrayElements(env, arg4, NULL)) == NULL) goto fail;
-/*
- rc = (jint)PMShowPrintDialogWithOptions(arg0, arg1, arg2, arg3, lparg4);
-*/
- {
- LOAD_FUNCTION(fp, PMShowPrintDialogWithOptions)
- if (fp) {
- rc = (jint)((jint (CALLING_CONVENTION*)(jint, jint, jint, jint, jboolean *))fp)(arg0, arg1, arg2, arg3, lparg4);
- }
- }
-fail:
- if (arg4 && lparg4) (*env)->ReleaseBooleanArrayElements(env, arg4, lparg4, 0);
- OS_NATIVE_EXIT(env, that, PMShowPrintDialogWithOptions_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_PMUnflattenPageFormat
-JNIEXPORT jint JNICALL OS_NATIVE(PMUnflattenPageFormat)
- (JNIEnv *env, jclass that, jint arg0, jintArray arg1)
-{
- jint *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, PMUnflattenPageFormat_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL)) == NULL) goto fail;
- rc = (jint)PMUnflattenPageFormat((Handle)arg0, (PMPageFormat *)lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, PMUnflattenPageFormat_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_PMUnflattenPrintSettings
-JNIEXPORT jint JNICALL OS_NATIVE(PMUnflattenPrintSettings)
- (JNIEnv *env, jclass that, jint arg0, jintArray arg1)
-{
- jint *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, PMUnflattenPrintSettings_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL)) == NULL) goto fail;
- rc = (jint)PMUnflattenPrintSettings((Handle)arg0, (PMPrintSettings *)lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, PMUnflattenPrintSettings_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_PickColor
-JNIEXPORT jint JNICALL OS_NATIVE(PickColor)
- (JNIEnv *env, jclass that, jobject arg0)
-{
- ColorPickerInfo _arg0, *lparg0=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, PickColor_FUNC);
- if (arg0) if ((lparg0 = getColorPickerInfoFields(env, arg0, &_arg0)) == NULL) goto fail;
- rc = (jint)PickColor((ColorPickerInfo *)lparg0);
-fail:
- if (arg0 && lparg0) setColorPickerInfoFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, PickColor_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_PopUpMenuSelect
-JNIEXPORT jint JNICALL OS_NATIVE(PopUpMenuSelect)
- (JNIEnv *env, jclass that, jint arg0, jshort arg1, jshort arg2, jshort arg3)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, PopUpMenuSelect_FUNC);
- rc = (jint)PopUpMenuSelect((MenuRef)arg0, (short)arg1, (short)arg2, (short)arg3);
- OS_NATIVE_EXIT(env, that, PopUpMenuSelect_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_PostEvent
-JNIEXPORT jint JNICALL OS_NATIVE(PostEvent)
- (JNIEnv *env, jclass that, jshort arg0, jint arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, PostEvent_FUNC);
- rc = (jint)PostEvent((EventKind)arg0, (UInt32)arg1);
- OS_NATIVE_EXIT(env, that, PostEvent_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_PostEventToQueue
-JNIEXPORT jint JNICALL OS_NATIVE(PostEventToQueue)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jshort arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, PostEventToQueue_FUNC);
- rc = (jint)PostEventToQueue((EventQueueRef)arg0, (EventRef)arg1, (EventPriority)arg2);
- OS_NATIVE_EXIT(env, that, PostEventToQueue_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_PtInRect
-JNIEXPORT jboolean JNICALL OS_NATIVE(PtInRect)
- (JNIEnv *env, jclass that, jobject arg0, jobject arg1)
-{
- Point _arg0, *lparg0=NULL;
- Rect _arg1, *lparg1=NULL;
- jboolean rc = 0;
- OS_NATIVE_ENTER(env, that, PtInRect_FUNC);
- if (arg0) if ((lparg0 = getPointFields(env, arg0, &_arg0)) == NULL) goto fail;
- if (arg1) if ((lparg1 = getRectFields(env, arg1, &_arg1)) == NULL) goto fail;
- rc = (jboolean)PtInRect(*(Point *)lparg0, (const Rect *)lparg1);
-fail:
- if (arg1 && lparg1) setRectFields(env, arg1, lparg1);
- if (arg0 && lparg0) setPointFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, PtInRect_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_PtInRgn
-JNIEXPORT jboolean JNICALL OS_NATIVE(PtInRgn)
- (JNIEnv *env, jclass that, jobject arg0, jint arg1)
-{
- Point _arg0, *lparg0=NULL;
- jboolean rc = 0;
- OS_NATIVE_ENTER(env, that, PtInRgn_FUNC);
- if (arg0) if ((lparg0 = getPointFields(env, arg0, &_arg0)) == NULL) goto fail;
- rc = (jboolean)PtInRgn(*(Point *)lparg0, (RgnHandle)arg1);
-fail:
- if (arg0 && lparg0) setPointFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, PtInRgn_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_PutScrapFlavor__IIII_3B
-JNIEXPORT jint JNICALL OS_NATIVE(PutScrapFlavor__IIII_3B)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jbyteArray arg4)
-{
- jbyte *lparg4=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, PutScrapFlavor__IIII_3B_FUNC);
- if (arg4) if ((lparg4 = (*env)->GetByteArrayElements(env, arg4, NULL)) == NULL) goto fail;
- rc = (jint)PutScrapFlavor((ScrapRef)arg0, (ScrapFlavorType)arg1, (ScrapFlavorFlags)arg2, (Size)arg3, (const void *)lparg4);
-fail:
- if (arg4 && lparg4) (*env)->ReleaseByteArrayElements(env, arg4, lparg4, 0);
- OS_NATIVE_EXIT(env, that, PutScrapFlavor__IIII_3B_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_PutScrapFlavor__IIII_3C
-JNIEXPORT jint JNICALL OS_NATIVE(PutScrapFlavor__IIII_3C)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jcharArray arg4)
-{
- jchar *lparg4=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, PutScrapFlavor__IIII_3C_FUNC);
- if (arg4) if ((lparg4 = (*env)->GetCharArrayElements(env, arg4, NULL)) == NULL) goto fail;
- rc = (jint)PutScrapFlavor((ScrapRef)arg0, (ScrapFlavorType)arg1, (ScrapFlavorFlags)arg2, (Size)arg3, (const void *)lparg4);
-fail:
- if (arg4 && lparg4) (*env)->ReleaseCharArrayElements(env, arg4, lparg4, 0);
- OS_NATIVE_EXIT(env, that, PutScrapFlavor__IIII_3C_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_QDBeginCGContext
-JNIEXPORT jint JNICALL OS_NATIVE(QDBeginCGContext)
- (JNIEnv *env, jclass that, jint arg0, jintArray arg1)
-{
- jint *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, QDBeginCGContext_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL)) == NULL) goto fail;
- rc = (jint)QDBeginCGContext((CGrafPtr)arg0, (CGContextRef *)lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, QDBeginCGContext_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_QDEndCGContext
-JNIEXPORT jint JNICALL OS_NATIVE(QDEndCGContext)
- (JNIEnv *env, jclass that, jint arg0, jintArray arg1)
-{
- jint *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, QDEndCGContext_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL)) == NULL) goto fail;
- rc = (jint)QDEndCGContext((CGrafPtr)arg0, (CGContextRef *)lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, QDEndCGContext_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_QDFlushPortBuffer
-JNIEXPORT void JNICALL OS_NATIVE(QDFlushPortBuffer)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- OS_NATIVE_ENTER(env, that, QDFlushPortBuffer_FUNC);
- QDFlushPortBuffer((CGrafPtr)arg0, (RgnHandle)arg1);
- OS_NATIVE_EXIT(env, that, QDFlushPortBuffer_FUNC);
-}
-#endif
-
-#ifndef NO_QDPictCreateWithProvider
-JNIEXPORT jint JNICALL OS_NATIVE(QDPictCreateWithProvider)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, QDPictCreateWithProvider_FUNC);
- rc = (jint)QDPictCreateWithProvider((CGDataProviderRef)arg0);
- OS_NATIVE_EXIT(env, that, QDPictCreateWithProvider_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_QDPictDrawToCGContext
-JNIEXPORT jint JNICALL OS_NATIVE(QDPictDrawToCGContext)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1, jint arg2)
-{
- CGRect _arg1, *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, QDPictDrawToCGContext_FUNC);
- if (arg1) if ((lparg1 = getCGRectFields(env, arg1, &_arg1)) == NULL) goto fail;
- rc = (jint)QDPictDrawToCGContext((CGContextRef)arg0, *(CGRect *)lparg1, (QDPictRef)arg2);
-fail:
- if (arg1 && lparg1) setCGRectFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, QDPictDrawToCGContext_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_QDPictRelease
-JNIEXPORT void JNICALL OS_NATIVE(QDPictRelease)
- (JNIEnv *env, jclass that, jint arg0)
-{
- OS_NATIVE_ENTER(env, that, QDPictRelease_FUNC);
- QDPictRelease((QDPictRef)arg0);
- OS_NATIVE_EXIT(env, that, QDPictRelease_FUNC);
-}
-#endif
-
-#ifndef NO_QDRegionToRects
-JNIEXPORT jint JNICALL OS_NATIVE(QDRegionToRects)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, QDRegionToRects_FUNC);
- rc = (jint)QDRegionToRects((RgnHandle)arg0, (QDRegionParseDirection)arg1, (RegionToRectsUPP)arg2, (void *)arg3);
- OS_NATIVE_EXIT(env, that, QDRegionToRects_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_RGBBackColor
-JNIEXPORT void JNICALL OS_NATIVE(RGBBackColor)
- (JNIEnv *env, jclass that, jobject arg0)
-{
- RGBColor _arg0, *lparg0=NULL;
- OS_NATIVE_ENTER(env, that, RGBBackColor_FUNC);
- if (arg0) if ((lparg0 = getRGBColorFields(env, arg0, &_arg0)) == NULL) goto fail;
- RGBBackColor((const RGBColor *)lparg0);
-fail:
- if (arg0 && lparg0) setRGBColorFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, RGBBackColor_FUNC);
-}
-#endif
-
-#ifndef NO_RGBForeColor
-JNIEXPORT void JNICALL OS_NATIVE(RGBForeColor)
- (JNIEnv *env, jclass that, jobject arg0)
-{
- RGBColor _arg0, *lparg0=NULL;
- OS_NATIVE_ENTER(env, that, RGBForeColor_FUNC);
- if (arg0) if ((lparg0 = getRGBColorFields(env, arg0, &_arg0)) == NULL) goto fail;
- RGBForeColor((const RGBColor *)lparg0);
-fail:
- if (arg0 && lparg0) setRGBColorFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, RGBForeColor_FUNC);
-}
-#endif
-
-#ifndef NO_ReadIconFile
-JNIEXPORT jint JNICALL OS_NATIVE(ReadIconFile)
- (JNIEnv *env, jclass that, jbyteArray arg0, jintArray arg1)
-{
- jbyte *lparg0=NULL;
- jint *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ReadIconFile_FUNC);
- if (arg0) if ((lparg0 = (*env)->GetByteArrayElements(env, arg0, NULL)) == NULL) goto fail;
- if (arg1) if ((lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL)) == NULL) goto fail;
- rc = (jint)ReadIconFile((const FSSpec *)lparg0, (IconFamilyHandle *)lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- if (arg0 && lparg0) (*env)->ReleaseByteArrayElements(env, arg0, lparg0, 0);
- OS_NATIVE_EXIT(env, that, ReadIconFile_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ReceiveNextEvent
-JNIEXPORT jint JNICALL OS_NATIVE(ReceiveNextEvent)
- (JNIEnv *env, jclass that, jint arg0, jintArray arg1, jdouble arg2, jboolean arg3, jintArray arg4)
-{
- jint *lparg1=NULL;
- jint *lparg4=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ReceiveNextEvent_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL)) == NULL) goto fail;
- if (arg4) if ((lparg4 = (*env)->GetIntArrayElements(env, arg4, NULL)) == NULL) goto fail;
- rc = (jint)ReceiveNextEvent((UInt32)arg0, (const EventTypeSpec *)lparg1, (EventTimeout)arg2, (Boolean)arg3, (EventRef *)lparg4);
-fail:
- if (arg4 && lparg4) (*env)->ReleaseIntArrayElements(env, arg4, lparg4, 0);
- if (arg1 && lparg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, ReceiveNextEvent_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_RectInRgn
-JNIEXPORT jboolean JNICALL OS_NATIVE(RectInRgn)
- (JNIEnv *env, jclass that, jobject arg0, jint arg1)
-{
- Rect _arg0, *lparg0=NULL;
- jboolean rc = 0;
- OS_NATIVE_ENTER(env, that, RectInRgn_FUNC);
- if (arg0) if ((lparg0 = getRectFields(env, arg0, &_arg0)) == NULL) goto fail;
- rc = (jboolean)RectInRgn((const Rect *)lparg0, (RgnHandle)arg1);
-fail:
- if (arg0 && lparg0) setRectFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, RectInRgn_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_RectRgn
-JNIEXPORT void JNICALL OS_NATIVE(RectRgn)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1)
-{
- Rect _arg1, *lparg1=NULL;
- OS_NATIVE_ENTER(env, that, RectRgn_FUNC);
- if (arg1) if ((lparg1 = getRectFields(env, arg1, &_arg1)) == NULL) goto fail;
- RectRgn((RgnHandle)arg0, (const Rect *)lparg1);
-fail:
- if (arg1 && lparg1) setRectFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, RectRgn_FUNC);
-}
-#endif
-
-#ifndef NO_RegisterAppearanceClient
-JNIEXPORT jint JNICALL OS_NATIVE(RegisterAppearanceClient)
- (JNIEnv *env, jclass that)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, RegisterAppearanceClient_FUNC);
- rc = (jint)RegisterAppearanceClient();
- OS_NATIVE_EXIT(env, that, RegisterAppearanceClient_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ReleaseEvent
-JNIEXPORT void JNICALL OS_NATIVE(ReleaseEvent)
- (JNIEnv *env, jclass that, jint arg0)
-{
- OS_NATIVE_ENTER(env, that, ReleaseEvent_FUNC);
- ReleaseEvent((EventRef)arg0);
- OS_NATIVE_EXIT(env, that, ReleaseEvent_FUNC);
-}
-#endif
-
-#ifndef NO_ReleaseIconRef
-JNIEXPORT void JNICALL OS_NATIVE(ReleaseIconRef)
- (JNIEnv *env, jclass that, jint arg0)
-{
- OS_NATIVE_ENTER(env, that, ReleaseIconRef_FUNC);
- ReleaseIconRef((IconRef)arg0);
- OS_NATIVE_EXIT(env, that, ReleaseIconRef_FUNC);
-}
-#endif
-
-#ifndef NO_ReleaseMenu
-JNIEXPORT jint JNICALL OS_NATIVE(ReleaseMenu)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ReleaseMenu_FUNC);
- rc = (jint)ReleaseMenu((MenuRef)arg0);
- OS_NATIVE_EXIT(env, that, ReleaseMenu_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ReleaseWindow
-JNIEXPORT jint JNICALL OS_NATIVE(ReleaseWindow)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ReleaseWindow_FUNC);
- rc = (jint)ReleaseWindow((WindowRef)arg0);
- OS_NATIVE_EXIT(env, that, ReleaseWindow_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ReleaseWindowGroup
-JNIEXPORT jint JNICALL OS_NATIVE(ReleaseWindowGroup)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ReleaseWindowGroup_FUNC);
- rc = (jint)ReleaseWindowGroup((WindowGroupRef)arg0);
- OS_NATIVE_EXIT(env, that, ReleaseWindowGroup_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_RemoveControlProperty
-JNIEXPORT jint JNICALL OS_NATIVE(RemoveControlProperty)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, RemoveControlProperty_FUNC);
- rc = (jint)RemoveControlProperty((ControlRef)arg0, arg1, arg2);
- OS_NATIVE_EXIT(env, that, RemoveControlProperty_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_RemoveDataBrowserItems
-JNIEXPORT jint JNICALL OS_NATIVE(RemoveDataBrowserItems)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jintArray arg3, jint arg4)
-{
- jint *lparg3=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, RemoveDataBrowserItems_FUNC);
- if (arg3) if ((lparg3 = (*env)->GetIntArrayElements(env, arg3, NULL)) == NULL) goto fail;
- rc = (jint)RemoveDataBrowserItems((ControlRef)arg0, (DataBrowserItemID)arg1, (UInt32)arg2, (const DataBrowserItemID *)lparg3, (DataBrowserPropertyID)arg4);
-fail:
- if (arg3 && lparg3) (*env)->ReleaseIntArrayElements(env, arg3, lparg3, 0);
- OS_NATIVE_EXIT(env, that, RemoveDataBrowserItems_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_RemoveDataBrowserTableViewColumn
-JNIEXPORT jint JNICALL OS_NATIVE(RemoveDataBrowserTableViewColumn)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, RemoveDataBrowserTableViewColumn_FUNC);
- rc = (jint)RemoveDataBrowserTableViewColumn((ControlRef)arg0, (DataBrowserTableViewColumnID)arg1);
- OS_NATIVE_EXIT(env, that, RemoveDataBrowserTableViewColumn_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_RemoveEventFromQueue
-JNIEXPORT jint JNICALL OS_NATIVE(RemoveEventFromQueue)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, RemoveEventFromQueue_FUNC);
- rc = (jint)RemoveEventFromQueue((EventQueueRef)arg0, (EventRef)arg1);
- OS_NATIVE_EXIT(env, that, RemoveEventFromQueue_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_RemoveEventHandler
-JNIEXPORT jint JNICALL OS_NATIVE(RemoveEventHandler)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, RemoveEventHandler_FUNC);
- rc = (jint)RemoveEventHandler((EventHandlerRef)arg0);
- OS_NATIVE_EXIT(env, that, RemoveEventHandler_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_RemoveEventLoopTimer
-JNIEXPORT jint JNICALL OS_NATIVE(RemoveEventLoopTimer)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, RemoveEventLoopTimer_FUNC);
- rc = (jint)RemoveEventLoopTimer((EventLoopTimerRef)arg0);
- OS_NATIVE_EXIT(env, that, RemoveEventLoopTimer_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_RemoveReceiveHandler
-JNIEXPORT jint JNICALL OS_NATIVE(RemoveReceiveHandler)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, RemoveReceiveHandler_FUNC);
- rc = (jint)RemoveReceiveHandler((DragReceiveHandlerUPP)arg0, (WindowRef)arg1);
- OS_NATIVE_EXIT(env, that, RemoveReceiveHandler_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_RemoveTrackingHandler
-JNIEXPORT jint JNICALL OS_NATIVE(RemoveTrackingHandler)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, RemoveTrackingHandler_FUNC);
- rc = (jint)RemoveTrackingHandler((DragTrackingHandlerUPP)arg0, (WindowRef)arg1);
- OS_NATIVE_EXIT(env, that, RemoveTrackingHandler_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_RepositionWindow
-JNIEXPORT jint JNICALL OS_NATIVE(RepositionWindow)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, RepositionWindow_FUNC);
- rc = (jint)RepositionWindow((WindowRef)arg0, (WindowRef)arg1, arg2);
- OS_NATIVE_EXIT(env, that, RepositionWindow_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ReshapeCustomWindow
-JNIEXPORT jint JNICALL OS_NATIVE(ReshapeCustomWindow)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ReshapeCustomWindow_FUNC);
- rc = (jint)ReshapeCustomWindow((WindowRef)arg0);
- OS_NATIVE_EXIT(env, that, ReshapeCustomWindow_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_RestoreApplicationDockTileImage
-JNIEXPORT jint JNICALL OS_NATIVE(RestoreApplicationDockTileImage)
- (JNIEnv *env, jclass that)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, RestoreApplicationDockTileImage_FUNC);
- rc = (jint)RestoreApplicationDockTileImage();
- OS_NATIVE_EXIT(env, that, RestoreApplicationDockTileImage_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_RetainEvent
-JNIEXPORT jint JNICALL OS_NATIVE(RetainEvent)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, RetainEvent_FUNC);
- rc = (jint)RetainEvent((EventRef)arg0);
- OS_NATIVE_EXIT(env, that, RetainEvent_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_RetainMenu
-JNIEXPORT jint JNICALL OS_NATIVE(RetainMenu)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, RetainMenu_FUNC);
- rc = (jint)RetainMenu((MenuRef)arg0);
- OS_NATIVE_EXIT(env, that, RetainMenu_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_RetainWindow
-JNIEXPORT jint JNICALL OS_NATIVE(RetainWindow)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, RetainWindow_FUNC);
- rc = (jint)RetainWindow((WindowRef)arg0);
- OS_NATIVE_EXIT(env, that, RetainWindow_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_RevealDataBrowserItem
-JNIEXPORT jint JNICALL OS_NATIVE(RevealDataBrowserItem)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jbyte arg3)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, RevealDataBrowserItem_FUNC);
- rc = (jint)RevealDataBrowserItem((ControlRef)arg0, (DataBrowserItemID)arg1, (DataBrowserPropertyID)arg2, (DataBrowserRevealOptions)arg3);
- OS_NATIVE_EXIT(env, that, RevealDataBrowserItem_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_RunStandardAlert
-JNIEXPORT jint JNICALL OS_NATIVE(RunStandardAlert)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jshortArray arg2)
-{
- jshort *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, RunStandardAlert_FUNC);
- if (arg2) if ((lparg2 = (*env)->GetShortArrayElements(env, arg2, NULL)) == NULL) goto fail;
- rc = (jint)RunStandardAlert((DialogRef)arg0, (ModalFilterUPP)arg1, (DialogItemIndex *)lparg2);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseShortArrayElements(env, arg2, lparg2, 0);
- OS_NATIVE_EXIT(env, that, RunStandardAlert_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SameProcess
-JNIEXPORT jint JNICALL OS_NATIVE(SameProcess)
- (JNIEnv *env, jclass that, jintArray arg0, jintArray arg1, jbooleanArray arg2)
-{
- jint *lparg0=NULL;
- jint *lparg1=NULL;
- jboolean *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SameProcess_FUNC);
- if (arg0) if ((lparg0 = (*env)->GetIntArrayElements(env, arg0, NULL)) == NULL) goto fail;
- if (arg1) if ((lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL)) == NULL) goto fail;
- if (arg2) if ((lparg2 = (*env)->GetBooleanArrayElements(env, arg2, NULL)) == NULL) goto fail;
- rc = (jint)SameProcess((ProcessSerialNumber *)lparg0, (ProcessSerialNumber *)lparg1, lparg2);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseBooleanArrayElements(env, arg2, lparg2, 0);
- if (arg1 && lparg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- if (arg0 && lparg0) (*env)->ReleaseIntArrayElements(env, arg0, lparg0, 0);
- OS_NATIVE_EXIT(env, that, SameProcess_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ScrollRect
-JNIEXPORT void JNICALL OS_NATIVE(ScrollRect)
- (JNIEnv *env, jclass that, jobject arg0, jshort arg1, jshort arg2, jint arg3)
-{
- Rect _arg0, *lparg0=NULL;
- OS_NATIVE_ENTER(env, that, ScrollRect_FUNC);
- if (arg0) if ((lparg0 = getRectFields(env, arg0, &_arg0)) == NULL) goto fail;
- ScrollRect((const Rect *)lparg0, (short)arg1, (short)arg2, (RgnHandle)arg3);
-fail:
- if (arg0 && lparg0) setRectFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, ScrollRect_FUNC);
-}
-#endif
-
-#ifndef NO_SectRect
-JNIEXPORT jboolean JNICALL OS_NATIVE(SectRect)
- (JNIEnv *env, jclass that, jobject arg0, jobject arg1, jobject arg2)
-{
- Rect _arg0, *lparg0=NULL;
- Rect _arg1, *lparg1=NULL;
- Rect _arg2, *lparg2=NULL;
- jboolean rc = 0;
- OS_NATIVE_ENTER(env, that, SectRect_FUNC);
- if (arg0) if ((lparg0 = getRectFields(env, arg0, &_arg0)) == NULL) goto fail;
- if (arg1) if ((lparg1 = getRectFields(env, arg1, &_arg1)) == NULL) goto fail;
- if (arg2) if ((lparg2 = &_arg2) == NULL) goto fail;
- rc = (jboolean)SectRect(lparg0, lparg1, lparg2);
-fail:
- if (arg2 && lparg2) setRectFields(env, arg2, lparg2);
- OS_NATIVE_EXIT(env, that, SectRect_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SectRgn
-JNIEXPORT void JNICALL OS_NATIVE(SectRgn)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- OS_NATIVE_ENTER(env, that, SectRgn_FUNC);
- SectRgn((RgnHandle)arg0, (RgnHandle)arg1, (RgnHandle)arg2);
- OS_NATIVE_EXIT(env, that, SectRgn_FUNC);
-}
-#endif
-
-#ifndef NO_SelectWindow
-JNIEXPORT void JNICALL OS_NATIVE(SelectWindow)
- (JNIEnv *env, jclass that, jint arg0)
-{
- OS_NATIVE_ENTER(env, that, SelectWindow_FUNC);
- SelectWindow((WindowRef)arg0);
- OS_NATIVE_EXIT(env, that, SelectWindow_FUNC);
-}
-#endif
-
-#ifndef NO_SendBehind
-JNIEXPORT void JNICALL OS_NATIVE(SendBehind)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- OS_NATIVE_ENTER(env, that, SendBehind_FUNC);
- SendBehind((WindowRef)arg0, (WindowRef)arg1);
- OS_NATIVE_EXIT(env, that, SendBehind_FUNC);
-}
-#endif
-
-#ifndef NO_SendEventToEventTarget
-JNIEXPORT jint JNICALL OS_NATIVE(SendEventToEventTarget)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SendEventToEventTarget_FUNC);
- rc = (jint)SendEventToEventTarget((EventRef)arg0, (EventTargetRef)arg1);
- OS_NATIVE_EXIT(env, that, SendEventToEventTarget_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SendEventToEventTargetWithOptions
-JNIEXPORT jint JNICALL OS_NATIVE(SendEventToEventTargetWithOptions)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SendEventToEventTargetWithOptions_FUNC);
- rc = (jint)SendEventToEventTargetWithOptions((EventRef)arg0, (EventTargetRef)arg1, arg2);
- OS_NATIVE_EXIT(env, that, SendEventToEventTargetWithOptions_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetApplicationDockTileImage
-JNIEXPORT jint JNICALL OS_NATIVE(SetApplicationDockTileImage)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetApplicationDockTileImage_FUNC);
- rc = (jint)SetApplicationDockTileImage((CGImageRef)arg0);
- OS_NATIVE_EXIT(env, that, SetApplicationDockTileImage_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetAutomaticControlDragTrackingEnabledForWindow
-JNIEXPORT jint JNICALL OS_NATIVE(SetAutomaticControlDragTrackingEnabledForWindow)
- (JNIEnv *env, jclass that, jint arg0, jboolean arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetAutomaticControlDragTrackingEnabledForWindow_FUNC);
- rc = (jint)SetAutomaticControlDragTrackingEnabledForWindow((WindowRef)arg0, (Boolean)arg1);
- OS_NATIVE_EXIT(env, that, SetAutomaticControlDragTrackingEnabledForWindow_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetBevelButtonContentInfo
-JNIEXPORT jint JNICALL OS_NATIVE(SetBevelButtonContentInfo)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1)
-{
- ControlButtonContentInfo _arg1, *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetBevelButtonContentInfo_FUNC);
- if (arg1) if ((lparg1 = getControlButtonContentInfoFields(env, arg1, &_arg1)) == NULL) goto fail;
- rc = (jint)SetBevelButtonContentInfo((ControlRef)arg0, (ControlButtonContentInfoPtr)lparg1);
-fail:
- if (arg1 && lparg1) setControlButtonContentInfoFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, SetBevelButtonContentInfo_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetClip
-JNIEXPORT void JNICALL OS_NATIVE(SetClip)
- (JNIEnv *env, jclass that, jint arg0)
-{
- OS_NATIVE_ENTER(env, that, SetClip_FUNC);
- SetClip((RgnHandle)arg0);
- OS_NATIVE_EXIT(env, that, SetClip_FUNC);
-}
-#endif
-
-#ifndef NO_SetControl32BitMaximum
-JNIEXPORT void JNICALL OS_NATIVE(SetControl32BitMaximum)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- OS_NATIVE_ENTER(env, that, SetControl32BitMaximum_FUNC);
- SetControl32BitMaximum((ControlRef)arg0, (SInt32)arg1);
- OS_NATIVE_EXIT(env, that, SetControl32BitMaximum_FUNC);
-}
-#endif
-
-#ifndef NO_SetControl32BitMinimum
-JNIEXPORT void JNICALL OS_NATIVE(SetControl32BitMinimum)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- OS_NATIVE_ENTER(env, that, SetControl32BitMinimum_FUNC);
- SetControl32BitMinimum((ControlRef)arg0, (SInt32)arg1);
- OS_NATIVE_EXIT(env, that, SetControl32BitMinimum_FUNC);
-}
-#endif
-
-#ifndef NO_SetControl32BitValue
-JNIEXPORT void JNICALL OS_NATIVE(SetControl32BitValue)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- OS_NATIVE_ENTER(env, that, SetControl32BitValue_FUNC);
- SetControl32BitValue((ControlRef)arg0, (SInt32)arg1);
- OS_NATIVE_EXIT(env, that, SetControl32BitValue_FUNC);
-}
-#endif
-
-#ifndef NO_SetControlAction
-JNIEXPORT void JNICALL OS_NATIVE(SetControlAction)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- OS_NATIVE_ENTER(env, that, SetControlAction_FUNC);
- SetControlAction((ControlRef)arg0, (ControlActionUPP)arg1);
- OS_NATIVE_EXIT(env, that, SetControlAction_FUNC);
-}
-#endif
-
-#ifndef NO_SetControlBounds
-JNIEXPORT void JNICALL OS_NATIVE(SetControlBounds)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1)
-{
- Rect _arg1, *lparg1=NULL;
- OS_NATIVE_ENTER(env, that, SetControlBounds_FUNC);
- if (arg1) if ((lparg1 = getRectFields(env, arg1, &_arg1)) == NULL) goto fail;
- SetControlBounds((ControlRef)arg0, (const Rect *)lparg1);
-fail:
- if (arg1 && lparg1) setRectFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, SetControlBounds_FUNC);
-}
-#endif
-
-#ifndef NO_SetControlColorProc
-JNIEXPORT jint JNICALL OS_NATIVE(SetControlColorProc)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetControlColorProc_FUNC);
- rc = (jint)SetControlColorProc((ControlRef)arg0, (ControlColorUPP)arg1);
- OS_NATIVE_EXIT(env, that, SetControlColorProc_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetControlData__IIIII
-JNIEXPORT jint JNICALL OS_NATIVE(SetControlData__IIIII)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jint arg4)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetControlData__IIIII_FUNC);
- rc = (jint)SetControlData((ControlRef)arg0, (ControlPartCode)arg1, (ResType)arg2, (Size)arg3, (const void *)arg4);
- OS_NATIVE_EXIT(env, that, SetControlData__IIIII_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetControlData__IIIILorg_eclipse_swt_internal_carbon_ControlButtonContentInfo_2
-JNIEXPORT jint JNICALL OS_NATIVE(SetControlData__IIIILorg_eclipse_swt_internal_carbon_ControlButtonContentInfo_2)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jobject arg4)
-{
- ControlButtonContentInfo _arg4, *lparg4=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetControlData__IIIILorg_eclipse_swt_internal_carbon_ControlButtonContentInfo_2_FUNC);
- if (arg4) if ((lparg4 = getControlButtonContentInfoFields(env, arg4, &_arg4)) == NULL) goto fail;
- rc = (jint)SetControlData((ControlRef)arg0, (ControlPartCode)arg1, (ResType)arg2, (Size)arg3, (const void *)lparg4);
-fail:
- if (arg4 && lparg4) setControlButtonContentInfoFields(env, arg4, lparg4);
- OS_NATIVE_EXIT(env, that, SetControlData__IIIILorg_eclipse_swt_internal_carbon_ControlButtonContentInfo_2_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetControlData__IIIILorg_eclipse_swt_internal_carbon_ControlEditTextSelectionRec_2
-JNIEXPORT jint JNICALL OS_NATIVE(SetControlData__IIIILorg_eclipse_swt_internal_carbon_ControlEditTextSelectionRec_2)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jobject arg4)
-{
- ControlEditTextSelectionRec _arg4, *lparg4=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetControlData__IIIILorg_eclipse_swt_internal_carbon_ControlEditTextSelectionRec_2_FUNC);
- if (arg4) if ((lparg4 = getControlEditTextSelectionRecFields(env, arg4, &_arg4)) == NULL) goto fail;
- rc = (jint)SetControlData((ControlRef)arg0, (ControlPartCode)arg1, (ResType)arg2, (Size)arg3, (const void *)lparg4);
-fail:
- if (arg4 && lparg4) setControlEditTextSelectionRecFields(env, arg4, lparg4);
- OS_NATIVE_EXIT(env, that, SetControlData__IIIILorg_eclipse_swt_internal_carbon_ControlEditTextSelectionRec_2_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetControlData__IIIILorg_eclipse_swt_internal_carbon_ControlTabInfoRecV1_2
-JNIEXPORT jint JNICALL OS_NATIVE(SetControlData__IIIILorg_eclipse_swt_internal_carbon_ControlTabInfoRecV1_2)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jobject arg4)
-{
- ControlTabInfoRecV1 _arg4, *lparg4=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetControlData__IIIILorg_eclipse_swt_internal_carbon_ControlTabInfoRecV1_2_FUNC);
- if (arg4) if ((lparg4 = getControlTabInfoRecV1Fields(env, arg4, &_arg4)) == NULL) goto fail;
- rc = (jint)SetControlData((ControlRef)arg0, (ControlPartCode)arg1, (ResType)arg2, (Size)arg3, (const void *)lparg4);
-fail:
- if (arg4 && lparg4) setControlTabInfoRecV1Fields(env, arg4, lparg4);
- OS_NATIVE_EXIT(env, that, SetControlData__IIIILorg_eclipse_swt_internal_carbon_ControlTabInfoRecV1_2_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetControlData__IIIILorg_eclipse_swt_internal_carbon_LongDateRec_2
-JNIEXPORT jint JNICALL OS_NATIVE(SetControlData__IIIILorg_eclipse_swt_internal_carbon_LongDateRec_2)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jobject arg4)
-{
- LongDateRec _arg4, *lparg4=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetControlData__IIIILorg_eclipse_swt_internal_carbon_LongDateRec_2_FUNC);
- if (arg4) if ((lparg4 = getLongDateRecFields(env, arg4, &_arg4)) == NULL) goto fail;
- rc = (jint)SetControlData((ControlRef)arg0, (ControlPartCode)arg1, (ResType)arg2, (Size)arg3, (const void *)lparg4);
-fail:
- if (arg4 && lparg4) setLongDateRecFields(env, arg4, lparg4);
- OS_NATIVE_EXIT(env, that, SetControlData__IIIILorg_eclipse_swt_internal_carbon_LongDateRec_2_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetControlData__IIIILorg_eclipse_swt_internal_carbon_Rect_2
-JNIEXPORT jint JNICALL OS_NATIVE(SetControlData__IIIILorg_eclipse_swt_internal_carbon_Rect_2)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jobject arg4)
-{
- Rect _arg4, *lparg4=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetControlData__IIIILorg_eclipse_swt_internal_carbon_Rect_2_FUNC);
- if (arg4) if ((lparg4 = getRectFields(env, arg4, &_arg4)) == NULL) goto fail;
- rc = (jint)SetControlData((ControlRef)arg0, (ControlPartCode)arg1, (ResType)arg2, (Size)arg3, (const void *)lparg4);
-fail:
- if (arg4 && lparg4) setRectFields(env, arg4, lparg4);
- OS_NATIVE_EXIT(env, that, SetControlData__IIIILorg_eclipse_swt_internal_carbon_Rect_2_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetControlData__IIII_3B
-JNIEXPORT jint JNICALL OS_NATIVE(SetControlData__IIII_3B)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jbyteArray arg4)
-{
- jbyte *lparg4=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetControlData__IIII_3B_FUNC);
- if (arg4) if ((lparg4 = (*env)->GetByteArrayElements(env, arg4, NULL)) == NULL) goto fail;
- rc = (jint)SetControlData((ControlRef)arg0, (ControlPartCode)arg1, (ResType)arg2, (Size)arg3, (const void *)lparg4);
-fail:
- if (arg4 && lparg4) (*env)->ReleaseByteArrayElements(env, arg4, lparg4, 0);
- OS_NATIVE_EXIT(env, that, SetControlData__IIII_3B_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetControlData__IIII_3I
-JNIEXPORT jint JNICALL OS_NATIVE(SetControlData__IIII_3I)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jintArray arg4)
-{
- jint *lparg4=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetControlData__IIII_3I_FUNC);
- if (arg4) if ((lparg4 = (*env)->GetIntArrayElements(env, arg4, NULL)) == NULL) goto fail;
- rc = (jint)SetControlData((ControlRef)arg0, (ControlPartCode)arg1, (ResType)arg2, (Size)arg3, (const void *)lparg4);
-fail:
- if (arg4 && lparg4) (*env)->ReleaseIntArrayElements(env, arg4, lparg4, 0);
- OS_NATIVE_EXIT(env, that, SetControlData__IIII_3I_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetControlData__IIII_3S
-JNIEXPORT jint JNICALL OS_NATIVE(SetControlData__IIII_3S)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jshortArray arg4)
-{
- jshort *lparg4=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetControlData__IIII_3S_FUNC);
- if (arg4) if ((lparg4 = (*env)->GetShortArrayElements(env, arg4, NULL)) == NULL) goto fail;
- rc = (jint)SetControlData((ControlRef)arg0, (ControlPartCode)arg1, (ResType)arg2, (Size)arg3, (const void *)lparg4);
-fail:
- if (arg4 && lparg4) (*env)->ReleaseShortArrayElements(env, arg4, lparg4, 0);
- OS_NATIVE_EXIT(env, that, SetControlData__IIII_3S_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetControlFontStyle
-JNIEXPORT jint JNICALL OS_NATIVE(SetControlFontStyle)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1)
-{
- ControlFontStyleRec _arg1, *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetControlFontStyle_FUNC);
- if (arg1) if ((lparg1 = getControlFontStyleRecFields(env, arg1, &_arg1)) == NULL) goto fail;
- rc = (jint)SetControlFontStyle((ControlRef)arg0, (const ControlFontStyleRec *)lparg1);
-fail:
- if (arg1 && lparg1) setControlFontStyleRecFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, SetControlFontStyle_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetControlPopupMenuHandle
-JNIEXPORT void JNICALL OS_NATIVE(SetControlPopupMenuHandle)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- OS_NATIVE_ENTER(env, that, SetControlPopupMenuHandle_FUNC);
- SetControlPopupMenuHandle((ControlRef)arg0, (MenuRef)arg1);
- OS_NATIVE_EXIT(env, that, SetControlPopupMenuHandle_FUNC);
-}
-#endif
-
-#ifndef NO_SetControlProperty
-JNIEXPORT jint JNICALL OS_NATIVE(SetControlProperty)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jintArray arg4)
-{
- jint *lparg4=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetControlProperty_FUNC);
- if (arg4) if ((lparg4 = (*env)->GetIntArrayElements(env, arg4, NULL)) == NULL) goto fail;
- rc = (jint)SetControlProperty((ControlRef)arg0, arg1, arg2, arg3, (const void *)lparg4);
-fail:
- if (arg4 && lparg4) (*env)->ReleaseIntArrayElements(env, arg4, lparg4, 0);
- OS_NATIVE_EXIT(env, that, SetControlProperty_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetControlReference
-JNIEXPORT void JNICALL OS_NATIVE(SetControlReference)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- OS_NATIVE_ENTER(env, that, SetControlReference_FUNC);
- SetControlReference((ControlRef)arg0, (SInt32)arg1);
- OS_NATIVE_EXIT(env, that, SetControlReference_FUNC);
-}
-#endif
-
-#ifndef NO_SetControlTitleWithCFString
-JNIEXPORT jint JNICALL OS_NATIVE(SetControlTitleWithCFString)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetControlTitleWithCFString_FUNC);
- rc = (jint)SetControlTitleWithCFString((ControlRef)arg0, (CFStringRef)arg1);
- OS_NATIVE_EXIT(env, that, SetControlTitleWithCFString_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetControlViewSize
-JNIEXPORT void JNICALL OS_NATIVE(SetControlViewSize)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- OS_NATIVE_ENTER(env, that, SetControlViewSize_FUNC);
- SetControlViewSize((ControlRef)arg0, (SInt32)arg1);
- OS_NATIVE_EXIT(env, that, SetControlViewSize_FUNC);
-}
-#endif
-
-#ifndef NO_SetControlVisibility
-JNIEXPORT jint JNICALL OS_NATIVE(SetControlVisibility)
- (JNIEnv *env, jclass that, jint arg0, jboolean arg1, jboolean arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetControlVisibility_FUNC);
- rc = (jint)SetControlVisibility((ControlRef)arg0, arg1, arg2);
- OS_NATIVE_EXIT(env, that, SetControlVisibility_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetCursor
-JNIEXPORT void JNICALL OS_NATIVE(SetCursor)
- (JNIEnv *env, jclass that, jint arg0)
-{
- OS_NATIVE_ENTER(env, that, SetCursor_FUNC);
- SetCursor((const Cursor *)arg0);
- OS_NATIVE_EXIT(env, that, SetCursor_FUNC);
-}
-#endif
-
-#ifndef NO_SetDataBrowserCallbacks
-JNIEXPORT jint JNICALL OS_NATIVE(SetDataBrowserCallbacks)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1)
-{
- DataBrowserCallbacks _arg1={0}, *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetDataBrowserCallbacks_FUNC);
- if (arg1) if ((lparg1 = getDataBrowserCallbacksFields(env, arg1, &_arg1)) == NULL) goto fail;
- rc = (jint)SetDataBrowserCallbacks((ControlRef)arg0, (const DataBrowserCallbacks *)lparg1);
-fail:
- if (arg1 && lparg1) setDataBrowserCallbacksFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, SetDataBrowserCallbacks_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetDataBrowserCustomCallbacks
-JNIEXPORT jint JNICALL OS_NATIVE(SetDataBrowserCustomCallbacks)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1)
-{
- DataBrowserCustomCallbacks _arg1, *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetDataBrowserCustomCallbacks_FUNC);
- if (arg1) if ((lparg1 = getDataBrowserCustomCallbacksFields(env, arg1, &_arg1)) == NULL) goto fail;
- rc = (jint)SetDataBrowserCustomCallbacks((ControlRef)arg0, lparg1);
-fail:
- if (arg1 && lparg1) setDataBrowserCustomCallbacksFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, SetDataBrowserCustomCallbacks_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetDataBrowserHasScrollBars
-JNIEXPORT jint JNICALL OS_NATIVE(SetDataBrowserHasScrollBars)
- (JNIEnv *env, jclass that, jint arg0, jboolean arg1, jboolean arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetDataBrowserHasScrollBars_FUNC);
- rc = (jint)SetDataBrowserHasScrollBars((ControlRef)arg0, (Boolean)arg1, (Boolean)arg2);
- OS_NATIVE_EXIT(env, that, SetDataBrowserHasScrollBars_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetDataBrowserItemDataBooleanValue
-JNIEXPORT jint JNICALL OS_NATIVE(SetDataBrowserItemDataBooleanValue)
- (JNIEnv *env, jclass that, jint arg0, jboolean arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetDataBrowserItemDataBooleanValue_FUNC);
- rc = (jint)SetDataBrowserItemDataBooleanValue((DataBrowserItemDataRef)arg0, (Boolean)arg1);
- OS_NATIVE_EXIT(env, that, SetDataBrowserItemDataBooleanValue_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetDataBrowserItemDataButtonValue
-JNIEXPORT jint JNICALL OS_NATIVE(SetDataBrowserItemDataButtonValue)
- (JNIEnv *env, jclass that, jint arg0, jshort arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetDataBrowserItemDataButtonValue_FUNC);
- rc = (jint)SetDataBrowserItemDataButtonValue((DataBrowserItemDataRef)arg0, (ThemeButtonValue)arg1);
- OS_NATIVE_EXIT(env, that, SetDataBrowserItemDataButtonValue_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetDataBrowserItemDataIcon
-JNIEXPORT jint JNICALL OS_NATIVE(SetDataBrowserItemDataIcon)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetDataBrowserItemDataIcon_FUNC);
- rc = (jint)SetDataBrowserItemDataIcon((DataBrowserItemDataRef)arg0, (IconRef)arg1);
- OS_NATIVE_EXIT(env, that, SetDataBrowserItemDataIcon_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetDataBrowserItemDataItemID
-JNIEXPORT jint JNICALL OS_NATIVE(SetDataBrowserItemDataItemID)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetDataBrowserItemDataItemID_FUNC);
- rc = (jint)SetDataBrowserItemDataItemID((DataBrowserItemDataRef)arg0, (DataBrowserItemID)arg1);
- OS_NATIVE_EXIT(env, that, SetDataBrowserItemDataItemID_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetDataBrowserItemDataText
-JNIEXPORT jint JNICALL OS_NATIVE(SetDataBrowserItemDataText)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetDataBrowserItemDataText_FUNC);
- rc = (jint)SetDataBrowserItemDataText((DataBrowserItemDataRef)arg0, (CFStringRef)arg1);
- OS_NATIVE_EXIT(env, that, SetDataBrowserItemDataText_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetDataBrowserListViewDisclosureColumn
-JNIEXPORT jint JNICALL OS_NATIVE(SetDataBrowserListViewDisclosureColumn)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jboolean arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetDataBrowserListViewDisclosureColumn_FUNC);
- rc = (jint)SetDataBrowserListViewDisclosureColumn((ControlRef)arg0, (DataBrowserTableViewColumnID)arg1, (Boolean)arg2);
- OS_NATIVE_EXIT(env, that, SetDataBrowserListViewDisclosureColumn_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetDataBrowserListViewHeaderBtnHeight
-JNIEXPORT jint JNICALL OS_NATIVE(SetDataBrowserListViewHeaderBtnHeight)
- (JNIEnv *env, jclass that, jint arg0, jshort arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetDataBrowserListViewHeaderBtnHeight_FUNC);
- rc = (jint)SetDataBrowserListViewHeaderBtnHeight((ControlRef)arg0, (UInt16)arg1);
- OS_NATIVE_EXIT(env, that, SetDataBrowserListViewHeaderBtnHeight_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetDataBrowserListViewHeaderDesc
-JNIEXPORT jint JNICALL OS_NATIVE(SetDataBrowserListViewHeaderDesc)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jobject arg2)
-{
- DataBrowserListViewHeaderDesc _arg2, *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetDataBrowserListViewHeaderDesc_FUNC);
- if (arg2) if ((lparg2 = getDataBrowserListViewHeaderDescFields(env, arg2, &_arg2)) == NULL) goto fail;
- rc = (jint)SetDataBrowserListViewHeaderDesc((ControlRef)arg0, arg1, lparg2);
-fail:
- if (arg2 && lparg2) setDataBrowserListViewHeaderDescFields(env, arg2, lparg2);
- OS_NATIVE_EXIT(env, that, SetDataBrowserListViewHeaderDesc_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetDataBrowserPropertyFlags
-JNIEXPORT jint JNICALL OS_NATIVE(SetDataBrowserPropertyFlags)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetDataBrowserPropertyFlags_FUNC);
- rc = (jint)SetDataBrowserPropertyFlags((ControlRef)arg0, (DataBrowserPropertyID)arg1, (DataBrowserPropertyFlags)arg2);
- OS_NATIVE_EXIT(env, that, SetDataBrowserPropertyFlags_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetDataBrowserScrollPosition
-JNIEXPORT jint JNICALL OS_NATIVE(SetDataBrowserScrollPosition)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetDataBrowserScrollPosition_FUNC);
- rc = (jint)SetDataBrowserScrollPosition((ControlRef)arg0, (UInt32)arg1, (UInt32)arg2);
- OS_NATIVE_EXIT(env, that, SetDataBrowserScrollPosition_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetDataBrowserSelectedItems
-JNIEXPORT jint JNICALL OS_NATIVE(SetDataBrowserSelectedItems)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jintArray arg2, jint arg3)
-{
- jint *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetDataBrowserSelectedItems_FUNC);
- if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail;
- rc = (jint)SetDataBrowserSelectedItems((ControlRef)arg0, (UInt32)arg1, (const DataBrowserItemID *)lparg2, (DataBrowserSetOption)arg3);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- OS_NATIVE_EXIT(env, that, SetDataBrowserSelectedItems_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetDataBrowserSelectionFlags
-JNIEXPORT jint JNICALL OS_NATIVE(SetDataBrowserSelectionFlags)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetDataBrowserSelectionFlags_FUNC);
- rc = (jint)SetDataBrowserSelectionFlags((ControlRef)arg0, (DataBrowserSelectionFlags)arg1);
- OS_NATIVE_EXIT(env, that, SetDataBrowserSelectionFlags_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetDataBrowserSortOrder
-JNIEXPORT jint JNICALL OS_NATIVE(SetDataBrowserSortOrder)
- (JNIEnv *env, jclass that, jint arg0, jshort arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetDataBrowserSortOrder_FUNC);
- rc = (jint)SetDataBrowserSortOrder((ControlRef)arg0, arg1);
- OS_NATIVE_EXIT(env, that, SetDataBrowserSortOrder_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetDataBrowserSortProperty
-JNIEXPORT jint JNICALL OS_NATIVE(SetDataBrowserSortProperty)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetDataBrowserSortProperty_FUNC);
- rc = (jint)SetDataBrowserSortProperty((ControlRef)arg0, (DataBrowserPropertyID)arg1);
- OS_NATIVE_EXIT(env, that, SetDataBrowserSortProperty_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetDataBrowserTableViewColumnPosition
-JNIEXPORT jint JNICALL OS_NATIVE(SetDataBrowserTableViewColumnPosition)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetDataBrowserTableViewColumnPosition_FUNC);
- rc = (jint)SetDataBrowserTableViewColumnPosition((ControlRef)arg0, arg1, arg2);
- OS_NATIVE_EXIT(env, that, SetDataBrowserTableViewColumnPosition_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetDataBrowserTableViewHiliteStyle
-JNIEXPORT jint JNICALL OS_NATIVE(SetDataBrowserTableViewHiliteStyle)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetDataBrowserTableViewHiliteStyle_FUNC);
- rc = (jint)SetDataBrowserTableViewHiliteStyle((ControlRef)arg0, arg1);
- OS_NATIVE_EXIT(env, that, SetDataBrowserTableViewHiliteStyle_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetDataBrowserTableViewItemRow
-JNIEXPORT jint JNICALL OS_NATIVE(SetDataBrowserTableViewItemRow)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetDataBrowserTableViewItemRow_FUNC);
- rc = (jint)SetDataBrowserTableViewItemRow((ControlRef)arg0, arg1, arg2);
- OS_NATIVE_EXIT(env, that, SetDataBrowserTableViewItemRow_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetDataBrowserTableViewNamedColumnWidth
-JNIEXPORT jint JNICALL OS_NATIVE(SetDataBrowserTableViewNamedColumnWidth)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jshort arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetDataBrowserTableViewNamedColumnWidth_FUNC);
- rc = (jint)SetDataBrowserTableViewNamedColumnWidth((ControlRef)arg0, (DataBrowserTableViewColumnID)arg1, (UInt16)arg2);
- OS_NATIVE_EXIT(env, that, SetDataBrowserTableViewNamedColumnWidth_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetDataBrowserTableViewRowHeight
-JNIEXPORT jint JNICALL OS_NATIVE(SetDataBrowserTableViewRowHeight)
- (JNIEnv *env, jclass that, jint arg0, jshort arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetDataBrowserTableViewRowHeight_FUNC);
- rc = (jint)SetDataBrowserTableViewRowHeight((ControlRef)arg0, arg1);
- OS_NATIVE_EXIT(env, that, SetDataBrowserTableViewRowHeight_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetDataBrowserTarget
-JNIEXPORT jint JNICALL OS_NATIVE(SetDataBrowserTarget)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetDataBrowserTarget_FUNC);
- rc = (jint)SetDataBrowserTarget((ControlRef)arg0, (DataBrowserItemID)arg1);
- OS_NATIVE_EXIT(env, that, SetDataBrowserTarget_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetDragAllowableActions
-JNIEXPORT jint JNICALL OS_NATIVE(SetDragAllowableActions)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jboolean arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetDragAllowableActions_FUNC);
- rc = (jint)SetDragAllowableActions((DragRef)arg0, (DragActions)arg1, (Boolean)arg2);
- OS_NATIVE_EXIT(env, that, SetDragAllowableActions_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetDragDropAction
-JNIEXPORT jint JNICALL OS_NATIVE(SetDragDropAction)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetDragDropAction_FUNC);
- rc = (jint)SetDragDropAction((DragRef)arg0, (DragActions)arg1);
- OS_NATIVE_EXIT(env, that, SetDragDropAction_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetDragImageWithCGImage
-JNIEXPORT jint JNICALL OS_NATIVE(SetDragImageWithCGImage)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jobject arg2, jint arg3)
-{
- CGPoint _arg2, *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetDragImageWithCGImage_FUNC);
- if (arg2) if ((lparg2 = getCGPointFields(env, arg2, &_arg2)) == NULL) goto fail;
- rc = (jint)SetDragImageWithCGImage((DragRef)arg0, (CGImageRef)arg1, (HIPoint *)lparg2, (DragImageFlags)arg3);
-fail:
- if (arg2 && lparg2) setCGPointFields(env, arg2, lparg2);
- OS_NATIVE_EXIT(env, that, SetDragImageWithCGImage_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetDragInputProc
-JNIEXPORT jint JNICALL OS_NATIVE(SetDragInputProc)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetDragInputProc_FUNC);
- rc = (jint)SetDragInputProc((DragRef)arg0, (DragInputUPP)arg1, (void *)arg2);
- OS_NATIVE_EXIT(env, that, SetDragInputProc_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetDragItemFlavorData
-JNIEXPORT jint JNICALL OS_NATIVE(SetDragItemFlavorData)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jbyteArray arg3, jint arg4, jint arg5)
-{
- jbyte *lparg3=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetDragItemFlavorData_FUNC);
- if (arg3) if ((lparg3 = (*env)->GetByteArrayElements(env, arg3, NULL)) == NULL) goto fail;
- rc = (jint)SetDragItemFlavorData((DragRef)arg0, (DragItemRef)arg1, (FlavorType)arg2, (const void *)lparg3, (Size)arg4, (UInt32)arg5);
-fail:
- if (arg3 && lparg3) (*env)->ReleaseByteArrayElements(env, arg3, lparg3, 0);
- OS_NATIVE_EXIT(env, that, SetDragItemFlavorData_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetDragSendProc
-JNIEXPORT jint JNICALL OS_NATIVE(SetDragSendProc)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetDragSendProc_FUNC);
- rc = (jint)SetDragSendProc((DragRef)arg0, (DragSendDataUPP)arg1, (void *)arg2);
- OS_NATIVE_EXIT(env, that, SetDragSendProc_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetEventLoopTimerNextFireTime
-JNIEXPORT jint JNICALL OS_NATIVE(SetEventLoopTimerNextFireTime)
- (JNIEnv *env, jclass that, jint arg0, jdouble arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetEventLoopTimerNextFireTime_FUNC);
- rc = (jint)SetEventLoopTimerNextFireTime((EventLoopTimerRef)arg0, (EventTimerInterval)arg1);
- OS_NATIVE_EXIT(env, that, SetEventLoopTimerNextFireTime_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetEventParameter__IIIILorg_eclipse_swt_internal_carbon_CGPoint_2
-JNIEXPORT jint JNICALL OS_NATIVE(SetEventParameter__IIIILorg_eclipse_swt_internal_carbon_CGPoint_2)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jobject arg4)
-{
- CGPoint _arg4, *lparg4=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetEventParameter__IIIILorg_eclipse_swt_internal_carbon_CGPoint_2_FUNC);
- if (arg4) if ((lparg4 = getCGPointFields(env, arg4, &_arg4)) == NULL) goto fail;
- rc = (jint)SetEventParameter((EventRef)arg0, (EventParamName)arg1, (EventParamType)arg2, (UInt32)arg3, (const void *)lparg4);
-fail:
- if (arg4 && lparg4) setCGPointFields(env, arg4, lparg4);
- OS_NATIVE_EXIT(env, that, SetEventParameter__IIIILorg_eclipse_swt_internal_carbon_CGPoint_2_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetEventParameter__IIIILorg_eclipse_swt_internal_carbon_HICommand_2
-JNIEXPORT jint JNICALL OS_NATIVE(SetEventParameter__IIIILorg_eclipse_swt_internal_carbon_HICommand_2)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jobject arg4)
-{
- HICommand _arg4, *lparg4=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetEventParameter__IIIILorg_eclipse_swt_internal_carbon_HICommand_2_FUNC);
- if (arg4) if ((lparg4 = getHICommandFields(env, arg4, &_arg4)) == NULL) goto fail;
- rc = (jint)SetEventParameter((EventRef)arg0, (EventParamName)arg1, (EventParamType)arg2, (UInt32)arg3, (const void *)lparg4);
-fail:
- if (arg4 && lparg4) setHICommandFields(env, arg4, lparg4);
- OS_NATIVE_EXIT(env, that, SetEventParameter__IIIILorg_eclipse_swt_internal_carbon_HICommand_2_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetEventParameter__IIIILorg_eclipse_swt_internal_carbon_Point_2
-JNIEXPORT jint JNICALL OS_NATIVE(SetEventParameter__IIIILorg_eclipse_swt_internal_carbon_Point_2)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jobject arg4)
-{
- Point _arg4, *lparg4=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetEventParameter__IIIILorg_eclipse_swt_internal_carbon_Point_2_FUNC);
- if (arg4) if ((lparg4 = getPointFields(env, arg4, &_arg4)) == NULL) goto fail;
- rc = (jint)SetEventParameter((EventRef)arg0, (EventParamName)arg1, (EventParamType)arg2, (UInt32)arg3, (const void *)lparg4);
-fail:
- if (arg4 && lparg4) setPointFields(env, arg4, lparg4);
- OS_NATIVE_EXIT(env, that, SetEventParameter__IIIILorg_eclipse_swt_internal_carbon_Point_2_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetEventParameter__IIII_3C
-JNIEXPORT jint JNICALL OS_NATIVE(SetEventParameter__IIII_3C)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jcharArray arg4)
-{
- jchar *lparg4=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetEventParameter__IIII_3C_FUNC);
- if (arg4) if ((lparg4 = (*env)->GetCharArrayElements(env, arg4, NULL)) == NULL) goto fail;
- rc = (jint)SetEventParameter((EventRef)arg0, (EventParamName)arg1, (EventParamType)arg2, (UInt32)arg3, (const void *)lparg4);
-fail:
- if (arg4 && lparg4) (*env)->ReleaseCharArrayElements(env, arg4, lparg4, 0);
- OS_NATIVE_EXIT(env, that, SetEventParameter__IIII_3C_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetEventParameter__IIII_3I
-JNIEXPORT jint JNICALL OS_NATIVE(SetEventParameter__IIII_3I)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jintArray arg4)
-{
- jint *lparg4=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetEventParameter__IIII_3I_FUNC);
- if (arg4) if ((lparg4 = (*env)->GetIntArrayElements(env, arg4, NULL)) == NULL) goto fail;
- rc = (jint)SetEventParameter((EventRef)arg0, (EventParamName)arg1, (EventParamType)arg2, (UInt32)arg3, (const void *)lparg4);
-fail:
- if (arg4 && lparg4) (*env)->ReleaseIntArrayElements(env, arg4, lparg4, 0);
- OS_NATIVE_EXIT(env, that, SetEventParameter__IIII_3I_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetEventParameter__IIII_3S
-JNIEXPORT jint JNICALL OS_NATIVE(SetEventParameter__IIII_3S)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jshortArray arg4)
-{
- jshort *lparg4=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetEventParameter__IIII_3S_FUNC);
- if (arg4) if ((lparg4 = (*env)->GetShortArrayElements(env, arg4, NULL)) == NULL) goto fail;
- rc = (jint)SetEventParameter((EventRef)arg0, (EventParamName)arg1, (EventParamType)arg2, (UInt32)arg3, (const void *)lparg4);
-fail:
- if (arg4 && lparg4) (*env)->ReleaseShortArrayElements(env, arg4, lparg4, 0);
- OS_NATIVE_EXIT(env, that, SetEventParameter__IIII_3S_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetEventParameter__IIII_3Z
-JNIEXPORT jint JNICALL OS_NATIVE(SetEventParameter__IIII_3Z)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jbooleanArray arg4)
-{
- jboolean *lparg4=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetEventParameter__IIII_3Z_FUNC);
- if (arg4) if ((lparg4 = (*env)->GetBooleanArrayElements(env, arg4, NULL)) == NULL) goto fail;
- rc = (jint)SetEventParameter((EventRef)arg0, (EventParamName)arg1, (EventParamType)arg2, (UInt32)arg3, (const void *)lparg4);
-fail:
- if (arg4 && lparg4) (*env)->ReleaseBooleanArrayElements(env, arg4, lparg4, 0);
- OS_NATIVE_EXIT(env, that, SetEventParameter__IIII_3Z_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetFontInfoForSelection
-JNIEXPORT jint JNICALL OS_NATIVE(SetFontInfoForSelection)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetFontInfoForSelection_FUNC);
- rc = (jint)SetFontInfoForSelection((OSType)arg0, (UInt32)arg1, (void *)arg2, (void *)arg3);
- OS_NATIVE_EXIT(env, that, SetFontInfoForSelection_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetFrontProcess
-JNIEXPORT jint JNICALL OS_NATIVE(SetFrontProcess)
- (JNIEnv *env, jclass that, jintArray arg0)
-{
- jint *lparg0=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetFrontProcess_FUNC);
- if (arg0) if ((lparg0 = (*env)->GetIntArrayElements(env, arg0, NULL)) == NULL) goto fail;
- rc = (jint)SetFrontProcess((const ProcessSerialNumber *)lparg0);
-fail:
- if (arg0 && lparg0) (*env)->ReleaseIntArrayElements(env, arg0, lparg0, 0);
- OS_NATIVE_EXIT(env, that, SetFrontProcess_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetFrontProcessWithOptions
-JNIEXPORT jint JNICALL OS_NATIVE(SetFrontProcessWithOptions)
- (JNIEnv *env, jclass that, jintArray arg0, jint arg1)
-{
- jint *lparg0=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetFrontProcessWithOptions_FUNC);
- if (arg0) if ((lparg0 = (*env)->GetIntArrayElements(env, arg0, NULL)) == NULL) goto fail;
- rc = (jint)SetFrontProcessWithOptions((const ProcessSerialNumber *)lparg0, arg1);
-fail:
- if (arg0 && lparg0) (*env)->ReleaseIntArrayElements(env, arg0, lparg0, 0);
- OS_NATIVE_EXIT(env, that, SetFrontProcessWithOptions_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetGWorld
-JNIEXPORT void JNICALL OS_NATIVE(SetGWorld)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- OS_NATIVE_ENTER(env, that, SetGWorld_FUNC);
- SetGWorld((CGrafPtr)arg0, (GDHandle)arg1);
- OS_NATIVE_EXIT(env, that, SetGWorld_FUNC);
-}
-#endif
-
-#ifndef NO_SetHandleSize
-JNIEXPORT void JNICALL OS_NATIVE(SetHandleSize)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- OS_NATIVE_ENTER(env, that, SetHandleSize_FUNC);
- SetHandleSize((Handle)arg0, arg1);
- OS_NATIVE_EXIT(env, that, SetHandleSize_FUNC);
-}
-#endif
-
-#ifndef NO_SetIconFamilyData
-JNIEXPORT jint JNICALL OS_NATIVE(SetIconFamilyData)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetIconFamilyData_FUNC);
- rc = (jint)SetIconFamilyData((IconFamilyHandle)arg0, (OSType)arg1, (Handle)arg2);
- OS_NATIVE_EXIT(env, that, SetIconFamilyData_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetItemMark
-JNIEXPORT void JNICALL OS_NATIVE(SetItemMark)
- (JNIEnv *env, jclass that, jint arg0, jshort arg1, jshort arg2)
-{
- OS_NATIVE_ENTER(env, that, SetItemMark_FUNC);
- SetItemMark((MenuRef)arg0, arg1, arg2);
- OS_NATIVE_EXIT(env, that, SetItemMark_FUNC);
-}
-#endif
-
-#ifndef NO_SetKeyboardFocus
-JNIEXPORT jint JNICALL OS_NATIVE(SetKeyboardFocus)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jshort arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetKeyboardFocus_FUNC);
- rc = (jint)SetKeyboardFocus((WindowRef)arg0, (ControlRef)arg1, (ControlFocusPart)arg2);
- OS_NATIVE_EXIT(env, that, SetKeyboardFocus_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetMenuCommandMark
-JNIEXPORT jint JNICALL OS_NATIVE(SetMenuCommandMark)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jchar arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetMenuCommandMark_FUNC);
- rc = (jint)SetMenuCommandMark((MenuRef)arg0, (MenuCommand)arg1, (UniChar)arg2);
- OS_NATIVE_EXIT(env, that, SetMenuCommandMark_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetMenuFont
-JNIEXPORT jint JNICALL OS_NATIVE(SetMenuFont)
- (JNIEnv *env, jclass that, jint arg0, jshort arg1, jshort arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetMenuFont_FUNC);
- rc = (jint)SetMenuFont((MenuRef)arg0, (SInt16)arg1, (UInt16)arg2);
- OS_NATIVE_EXIT(env, that, SetMenuFont_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetMenuItemCommandKey
-JNIEXPORT jint JNICALL OS_NATIVE(SetMenuItemCommandKey)
- (JNIEnv *env, jclass that, jint arg0, jshort arg1, jboolean arg2, jchar arg3)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetMenuItemCommandKey_FUNC);
- rc = (jint)SetMenuItemCommandKey((MenuRef)arg0, (MenuItemIndex)arg1, (Boolean)arg2, (UInt16)arg3);
- OS_NATIVE_EXIT(env, that, SetMenuItemCommandKey_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetMenuItemHierarchicalMenu
-JNIEXPORT jint JNICALL OS_NATIVE(SetMenuItemHierarchicalMenu)
- (JNIEnv *env, jclass that, jint arg0, jshort arg1, jint arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetMenuItemHierarchicalMenu_FUNC);
- rc = (jint)SetMenuItemHierarchicalMenu((MenuRef)arg0, (MenuItemIndex)arg1, (MenuRef)arg2);
- OS_NATIVE_EXIT(env, that, SetMenuItemHierarchicalMenu_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetMenuItemIconHandle
-JNIEXPORT jint JNICALL OS_NATIVE(SetMenuItemIconHandle)
- (JNIEnv *env, jclass that, jint arg0, jshort arg1, jbyte arg2, jint arg3)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetMenuItemIconHandle_FUNC);
- rc = (jint)SetMenuItemIconHandle((MenuRef)arg0, (SInt16)arg1, (UInt8)arg2, (Handle)arg3);
- OS_NATIVE_EXIT(env, that, SetMenuItemIconHandle_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetMenuItemKeyGlyph
-JNIEXPORT jint JNICALL OS_NATIVE(SetMenuItemKeyGlyph)
- (JNIEnv *env, jclass that, jint arg0, jshort arg1, jshort arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetMenuItemKeyGlyph_FUNC);
- rc = (jint)SetMenuItemKeyGlyph((MenuRef)arg0, (SInt16)arg1, (SInt16)arg2);
- OS_NATIVE_EXIT(env, that, SetMenuItemKeyGlyph_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetMenuItemModifiers
-JNIEXPORT jint JNICALL OS_NATIVE(SetMenuItemModifiers)
- (JNIEnv *env, jclass that, jint arg0, jshort arg1, jbyte arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetMenuItemModifiers_FUNC);
- rc = (jint)SetMenuItemModifiers((MenuRef)arg0, (SInt16)arg1, (UInt8)arg2);
- OS_NATIVE_EXIT(env, that, SetMenuItemModifiers_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetMenuItemRefCon
-JNIEXPORT jint JNICALL OS_NATIVE(SetMenuItemRefCon)
- (JNIEnv *env, jclass that, jint arg0, jshort arg1, jint arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetMenuItemRefCon_FUNC);
- rc = (jint)SetMenuItemRefCon((MenuRef)arg0, (SInt16)arg1, (UInt32)arg2);
- OS_NATIVE_EXIT(env, that, SetMenuItemRefCon_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetMenuItemTextWithCFString
-JNIEXPORT jint JNICALL OS_NATIVE(SetMenuItemTextWithCFString)
- (JNIEnv *env, jclass that, jint arg0, jshort arg1, jint arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetMenuItemTextWithCFString_FUNC);
- rc = (jint)SetMenuItemTextWithCFString((MenuRef)arg0, (MenuItemIndex)arg1, (CFStringRef)arg2);
- OS_NATIVE_EXIT(env, that, SetMenuItemTextWithCFString_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetMenuTitleWithCFString
-JNIEXPORT jint JNICALL OS_NATIVE(SetMenuTitleWithCFString)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetMenuTitleWithCFString_FUNC);
- rc = (jint)SetMenuTitleWithCFString((MenuRef)arg0, (CFStringRef)arg1);
- OS_NATIVE_EXIT(env, that, SetMenuTitleWithCFString_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetPort
-JNIEXPORT void JNICALL OS_NATIVE(SetPort)
- (JNIEnv *env, jclass that, jint arg0)
-{
- OS_NATIVE_ENTER(env, that, SetPort_FUNC);
- SetPort((GrafPtr)arg0);
- OS_NATIVE_EXIT(env, that, SetPort_FUNC);
-}
-#endif
-
-#ifndef NO_SetPt
-JNIEXPORT void JNICALL OS_NATIVE(SetPt)
- (JNIEnv *env, jclass that, jobject arg0, jshort arg1, jshort arg2)
-{
- Point _arg0, *lparg0=NULL;
- OS_NATIVE_ENTER(env, that, SetPt_FUNC);
- if (arg0) if ((lparg0 = getPointFields(env, arg0, &_arg0)) == NULL) goto fail;
- SetPt((Point *)lparg0, (short)arg1, (short)arg2);
-fail:
- if (arg0 && lparg0) setPointFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, SetPt_FUNC);
-}
-#endif
-
-#ifndef NO_SetRect
-JNIEXPORT void JNICALL OS_NATIVE(SetRect)
- (JNIEnv *env, jclass that, jobject arg0, jshort arg1, jshort arg2, jshort arg3, jshort arg4)
-{
- Rect _arg0, *lparg0=NULL;
- OS_NATIVE_ENTER(env, that, SetRect_FUNC);
- if (arg0) if ((lparg0 = getRectFields(env, arg0, &_arg0)) == NULL) goto fail;
- SetRect((Rect *)lparg0, (short)arg1, (short)arg2, (short)arg3, (short)arg4);
-fail:
- if (arg0 && lparg0) setRectFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, SetRect_FUNC);
-}
-#endif
-
-#ifndef NO_SetRectRgn
-JNIEXPORT void JNICALL OS_NATIVE(SetRectRgn)
- (JNIEnv *env, jclass that, jint arg0, jshort arg1, jshort arg2, jshort arg3, jshort arg4)
-{
- OS_NATIVE_ENTER(env, that, SetRectRgn_FUNC);
- SetRectRgn((RgnHandle)arg0, (short)arg1, (short)arg2, (short)arg3, (short)arg4);
- OS_NATIVE_EXIT(env, that, SetRectRgn_FUNC);
-}
-#endif
-
-#ifndef NO_SetRootMenu
-JNIEXPORT jint JNICALL OS_NATIVE(SetRootMenu)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetRootMenu_FUNC);
- rc = (jint)SetRootMenu((MenuRef)arg0);
- OS_NATIVE_EXIT(env, that, SetRootMenu_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetSystemUIMode
-JNIEXPORT jint JNICALL OS_NATIVE(SetSystemUIMode)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetSystemUIMode_FUNC);
- rc = (jint)SetSystemUIMode((SystemUIMode)arg0, (SystemUIOptions)arg1);
- OS_NATIVE_EXIT(env, that, SetSystemUIMode_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetThemeBackground
-JNIEXPORT jint JNICALL OS_NATIVE(SetThemeBackground)
- (JNIEnv *env, jclass that, jshort arg0, jshort arg1, jboolean arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetThemeBackground_FUNC);
- rc = (jint)SetThemeBackground((ThemeBrush)arg0, (SInt16)arg1, (Boolean)arg2);
- OS_NATIVE_EXIT(env, that, SetThemeBackground_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetThemeCursor
-JNIEXPORT jint JNICALL OS_NATIVE(SetThemeCursor)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetThemeCursor_FUNC);
- rc = (jint)SetThemeCursor((ThemeCursor)arg0);
- OS_NATIVE_EXIT(env, that, SetThemeCursor_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetThemeDrawingState
-JNIEXPORT jint JNICALL OS_NATIVE(SetThemeDrawingState)
- (JNIEnv *env, jclass that, jint arg0, jboolean arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetThemeDrawingState_FUNC);
- rc = (jint)SetThemeDrawingState((ThemeDrawingState)arg0, (Boolean)arg1);
- OS_NATIVE_EXIT(env, that, SetThemeDrawingState_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetThemeTextColor
-JNIEXPORT jint JNICALL OS_NATIVE(SetThemeTextColor)
- (JNIEnv *env, jclass that, jshort arg0, jshort arg1, jboolean arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetThemeTextColor_FUNC);
- rc = (jint)SetThemeTextColor(arg0, arg1, arg2);
- OS_NATIVE_EXIT(env, that, SetThemeTextColor_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetThemeWindowBackground
-JNIEXPORT jint JNICALL OS_NATIVE(SetThemeWindowBackground)
- (JNIEnv *env, jclass that, jint arg0, jshort arg1, jboolean arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetThemeWindowBackground_FUNC);
- rc = (jint)SetThemeWindowBackground((WindowRef)arg0, (ThemeBrush)arg1, (Boolean)arg2);
- OS_NATIVE_EXIT(env, that, SetThemeWindowBackground_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetUpControlBackground
-JNIEXPORT jint JNICALL OS_NATIVE(SetUpControlBackground)
- (JNIEnv *env, jclass that, jint arg0, jshort arg1, jboolean arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetUpControlBackground_FUNC);
- rc = (jint)SetUpControlBackground((ControlRef)arg0, (SInt16)arg1, (Boolean)arg2);
- OS_NATIVE_EXIT(env, that, SetUpControlBackground_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetUserFocusWindow
-JNIEXPORT jint JNICALL OS_NATIVE(SetUserFocusWindow)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetUserFocusWindow_FUNC);
- rc = (jint)SetUserFocusWindow((WindowRef)arg0);
- OS_NATIVE_EXIT(env, that, SetUserFocusWindow_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetWindowActivationScope
-JNIEXPORT jint JNICALL OS_NATIVE(SetWindowActivationScope)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetWindowActivationScope_FUNC);
- rc = (jint)SetWindowActivationScope((WindowRef)arg0, (WindowActivationScope)arg1);
- OS_NATIVE_EXIT(env, that, SetWindowActivationScope_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetWindowAlpha
-JNIEXPORT jint JNICALL OS_NATIVE(SetWindowAlpha)
- (JNIEnv *env, jclass that, jint arg0, jfloat arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetWindowAlpha_FUNC);
- rc = (jint)SetWindowAlpha((WindowRef)arg0, arg1);
- OS_NATIVE_EXIT(env, that, SetWindowAlpha_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetWindowBounds
-JNIEXPORT void JNICALL OS_NATIVE(SetWindowBounds)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jobject arg2)
-{
- Rect _arg2, *lparg2=NULL;
- OS_NATIVE_ENTER(env, that, SetWindowBounds_FUNC);
- if (arg2) if ((lparg2 = getRectFields(env, arg2, &_arg2)) == NULL) goto fail;
- SetWindowBounds((WindowRef)arg0, (WindowRegionCode)arg1, (Rect *)lparg2);
-fail:
- if (arg2 && lparg2) setRectFields(env, arg2, lparg2);
- OS_NATIVE_EXIT(env, that, SetWindowBounds_FUNC);
-}
-#endif
-
-#ifndef NO_SetWindowDefaultButton
-JNIEXPORT jint JNICALL OS_NATIVE(SetWindowDefaultButton)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetWindowDefaultButton_FUNC);
- rc = (jint)SetWindowDefaultButton((WindowRef)arg0, (ControlRef)arg1);
- OS_NATIVE_EXIT(env, that, SetWindowDefaultButton_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetWindowGroup
-JNIEXPORT jint JNICALL OS_NATIVE(SetWindowGroup)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetWindowGroup_FUNC);
- rc = (jint)SetWindowGroup((WindowRef)arg0, (WindowGroupRef)arg1);
- OS_NATIVE_EXIT(env, that, SetWindowGroup_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetWindowGroupOwner
-JNIEXPORT jint JNICALL OS_NATIVE(SetWindowGroupOwner)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetWindowGroupOwner_FUNC);
- rc = (jint)SetWindowGroupOwner((WindowGroupRef)arg0, (WindowRef)arg1);
- OS_NATIVE_EXIT(env, that, SetWindowGroupOwner_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetWindowGroupParent
-JNIEXPORT jint JNICALL OS_NATIVE(SetWindowGroupParent)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetWindowGroupParent_FUNC);
- rc = (jint)SetWindowGroupParent((WindowGroupRef)arg0, (WindowGroupRef)arg1);
- OS_NATIVE_EXIT(env, that, SetWindowGroupParent_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetWindowModality
-JNIEXPORT jint JNICALL OS_NATIVE(SetWindowModality)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetWindowModality_FUNC);
- rc = (jint)SetWindowModality((WindowRef)arg0, (WindowModality)arg1, (WindowRef)arg2);
- OS_NATIVE_EXIT(env, that, SetWindowModality_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetWindowModified
-JNIEXPORT jint JNICALL OS_NATIVE(SetWindowModified)
- (JNIEnv *env, jclass that, jint arg0, jboolean arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetWindowModified_FUNC);
- rc = (jint)SetWindowModified((WindowRef)arg0, arg1);
- OS_NATIVE_EXIT(env, that, SetWindowModified_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetWindowResizeLimits
-JNIEXPORT jint JNICALL OS_NATIVE(SetWindowResizeLimits)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1, jobject arg2)
-{
- CGPoint _arg1, *lparg1=NULL;
- CGPoint _arg2, *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetWindowResizeLimits_FUNC);
- if (arg1) if ((lparg1 = getCGPointFields(env, arg1, &_arg1)) == NULL) goto fail;
- if (arg2) if ((lparg2 = getCGPointFields(env, arg2, &_arg2)) == NULL) goto fail;
- rc = (jint)SetWindowResizeLimits((WindowRef)arg0, (HISize *)lparg1, (HISize *)lparg2);
-fail:
- if (arg2 && lparg2) setCGPointFields(env, arg2, lparg2);
- if (arg1 && lparg1) setCGPointFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, SetWindowResizeLimits_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SetWindowTitleWithCFString
-JNIEXPORT jint JNICALL OS_NATIVE(SetWindowTitleWithCFString)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, SetWindowTitleWithCFString_FUNC);
- rc = (jint)SetWindowTitleWithCFString((WindowRef)arg0, (CFStringRef)arg1);
- OS_NATIVE_EXIT(env, that, SetWindowTitleWithCFString_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ShowWindow
-JNIEXPORT void JNICALL OS_NATIVE(ShowWindow)
- (JNIEnv *env, jclass that, jint arg0)
-{
- OS_NATIVE_ENTER(env, that, ShowWindow_FUNC);
- ShowWindow((WindowRef)arg0);
- OS_NATIVE_EXIT(env, that, ShowWindow_FUNC);
-}
-#endif
-
-#ifndef NO_SizeControl
-JNIEXPORT void JNICALL OS_NATIVE(SizeControl)
- (JNIEnv *env, jclass that, jint arg0, jshort arg1, jshort arg2)
-{
- OS_NATIVE_ENTER(env, that, SizeControl_FUNC);
- SizeControl((ControlRef)arg0, (SInt16)arg1, (SInt16)arg2);
- OS_NATIVE_EXIT(env, that, SizeControl_FUNC);
-}
-#endif
-
-#ifndef NO_SizeWindow
-JNIEXPORT void JNICALL OS_NATIVE(SizeWindow)
- (JNIEnv *env, jclass that, jint arg0, jshort arg1, jshort arg2, jboolean arg3)
-{
- OS_NATIVE_ENTER(env, that, SizeWindow_FUNC);
- SizeWindow((WindowRef)arg0, (short)arg1, (short)arg2, (Boolean)arg3);
- OS_NATIVE_EXIT(env, that, SizeWindow_FUNC);
-}
-#endif
-
-#ifndef NO_StillDown
-JNIEXPORT jboolean JNICALL OS_NATIVE(StillDown)
- (JNIEnv *env, jclass that)
-{
- jboolean rc = 0;
- OS_NATIVE_ENTER(env, that, StillDown_FUNC);
- rc = (jboolean)StillDown();
- OS_NATIVE_EXIT(env, that, StillDown_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_SysBeep
-JNIEXPORT void JNICALL OS_NATIVE(SysBeep)
- (JNIEnv *env, jclass that, jshort arg0)
-{
- OS_NATIVE_ENTER(env, that, SysBeep_FUNC);
- SysBeep((short)arg0);
- OS_NATIVE_EXIT(env, that, SysBeep_FUNC);
-}
-#endif
-
-#ifndef NO_TXNCopy
-JNIEXPORT jint JNICALL OS_NATIVE(TXNCopy)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, TXNCopy_FUNC);
- rc = (jint)TXNCopy((TXNObject)arg0);
- OS_NATIVE_EXIT(env, that, TXNCopy_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_TXNCut
-JNIEXPORT jint JNICALL OS_NATIVE(TXNCut)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, TXNCut_FUNC);
- rc = (jint)TXNCut((TXNObject)arg0);
- OS_NATIVE_EXIT(env, that, TXNCut_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_TXNDataSize
-JNIEXPORT jint JNICALL OS_NATIVE(TXNDataSize)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, TXNDataSize_FUNC);
- rc = (jint)TXNDataSize((TXNObject)arg0);
- OS_NATIVE_EXIT(env, that, TXNDataSize_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_TXNDeleteObject
-JNIEXPORT void JNICALL OS_NATIVE(TXNDeleteObject)
- (JNIEnv *env, jclass that, jint arg0)
-{
- OS_NATIVE_ENTER(env, that, TXNDeleteObject_FUNC);
- TXNDeleteObject((TXNObject)arg0);
- OS_NATIVE_EXIT(env, that, TXNDeleteObject_FUNC);
-}
-#endif
-
-#ifndef NO_TXNEchoMode
-JNIEXPORT jint JNICALL OS_NATIVE(TXNEchoMode)
- (JNIEnv *env, jclass that, jint arg0, jchar arg1, jint arg2, jboolean arg3)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, TXNEchoMode_FUNC);
- rc = (jint)TXNEchoMode((TXNObject)arg0, (UniChar)arg1, (TextEncoding)arg2, (Boolean)arg3);
- OS_NATIVE_EXIT(env, that, TXNEchoMode_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_TXNGetData
-JNIEXPORT jint JNICALL OS_NATIVE(TXNGetData)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jintArray arg3)
-{
- jint *lparg3=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, TXNGetData_FUNC);
- if (arg3) if ((lparg3 = (*env)->GetIntArrayElements(env, arg3, NULL)) == NULL) goto fail;
- rc = (jint)TXNGetData((TXNObject)arg0, (TXNOffset)arg1, (TXNOffset)arg2, (Handle *)lparg3);
-fail:
- if (arg3 && lparg3) (*env)->ReleaseIntArrayElements(env, arg3, lparg3, 0);
- OS_NATIVE_EXIT(env, that, TXNGetData_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_TXNGetHIRect
-JNIEXPORT jint JNICALL OS_NATIVE(TXNGetHIRect)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jobject arg2)
-{
- CGRect _arg2, *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, TXNGetHIRect_FUNC);
- if (arg2) if ((lparg2 = getCGRectFields(env, arg2, &_arg2)) == NULL) goto fail;
- rc = (jint)TXNGetHIRect((TXNObject)arg0, arg1, lparg2);
-fail:
- if (arg2 && lparg2) setCGRectFields(env, arg2, lparg2);
- OS_NATIVE_EXIT(env, that, TXNGetHIRect_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_TXNGetLineCount
-JNIEXPORT jint JNICALL OS_NATIVE(TXNGetLineCount)
- (JNIEnv *env, jclass that, jint arg0, jintArray arg1)
-{
- jint *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, TXNGetLineCount_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL)) == NULL) goto fail;
- rc = (jint)TXNGetLineCount((TXNObject)arg0, (ItemCount *)lparg1);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, TXNGetLineCount_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_TXNGetLineMetrics
-JNIEXPORT jint JNICALL OS_NATIVE(TXNGetLineMetrics)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jintArray arg2, jintArray arg3)
-{
- jint *lparg2=NULL;
- jint *lparg3=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, TXNGetLineMetrics_FUNC);
- if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail;
- if (arg3) if ((lparg3 = (*env)->GetIntArrayElements(env, arg3, NULL)) == NULL) goto fail;
- rc = (jint)TXNGetLineMetrics((TXNObject)arg0, (UInt32)arg1, (Fixed *)lparg2, (Fixed *)lparg3);
-fail:
- if (arg3 && lparg3) (*env)->ReleaseIntArrayElements(env, arg3, lparg3, 0);
- if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- OS_NATIVE_EXIT(env, that, TXNGetLineMetrics_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_TXNGetSelection
-JNIEXPORT void JNICALL OS_NATIVE(TXNGetSelection)
- (JNIEnv *env, jclass that, jint arg0, jintArray arg1, jintArray arg2)
-{
- jint *lparg1=NULL;
- jint *lparg2=NULL;
- OS_NATIVE_ENTER(env, that, TXNGetSelection_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL)) == NULL) goto fail;
- if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail;
- TXNGetSelection((TXNObject)arg0, (TXNOffset *)lparg1, (TXNOffset *)lparg2);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- if (arg1 && lparg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, TXNGetSelection_FUNC);
-}
-#endif
-
-#ifndef NO_TXNGetTXNObjectControls
-JNIEXPORT jint JNICALL OS_NATIVE(TXNGetTXNObjectControls)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jintArray arg2, jintArray arg3)
-{
- jint *lparg2=NULL;
- jint *lparg3=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, TXNGetTXNObjectControls_FUNC);
- if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail;
- if (arg3) if ((lparg3 = (*env)->GetIntArrayElements(env, arg3, NULL)) == NULL) goto fail;
- rc = (jint)TXNGetTXNObjectControls((TXNObject)arg0, (ItemCount)arg1, (const TXNControlTag *)lparg2, (TXNControlData *)lparg3);
-fail:
- if (arg3 && lparg3) (*env)->ReleaseIntArrayElements(env, arg3, lparg3, 0);
- if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- OS_NATIVE_EXIT(env, that, TXNGetTXNObjectControls_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_TXNGetViewRect
-JNIEXPORT void JNICALL OS_NATIVE(TXNGetViewRect)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1)
-{
- Rect _arg1, *lparg1=NULL;
- OS_NATIVE_ENTER(env, that, TXNGetViewRect_FUNC);
- if (arg1) if ((lparg1 = getRectFields(env, arg1, &_arg1)) == NULL) goto fail;
- TXNGetViewRect((TXNObject)arg0, lparg1);
-fail:
- if (arg1 && lparg1) setRectFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, TXNGetViewRect_FUNC);
-}
-#endif
-
-#ifndef NO_TXNHIPointToOffset
-JNIEXPORT jint JNICALL OS_NATIVE(TXNHIPointToOffset)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1, jintArray arg2)
-{
- CGPoint _arg1, *lparg1=NULL;
- jint *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, TXNHIPointToOffset_FUNC);
- if (arg1) if ((lparg1 = getCGPointFields(env, arg1, &_arg1)) == NULL) goto fail;
- if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail;
- rc = (jint)TXNHIPointToOffset((TXNObject)arg0, (HIPoint *)lparg1, (TXNOffset *)lparg2);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- if (arg1 && lparg1) setCGPointFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, TXNHIPointToOffset_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_TXNInitTextension
-JNIEXPORT jint JNICALL OS_NATIVE(TXNInitTextension)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, TXNInitTextension_FUNC);
- rc = (jint)TXNInitTextension((const TXNMacOSPreferredFontDescription *)arg0, (ItemCount)arg1, (TXNInitOptions)arg2);
- OS_NATIVE_EXIT(env, that, TXNInitTextension_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_TXNOffsetToHIPoint
-JNIEXPORT jint JNICALL OS_NATIVE(TXNOffsetToHIPoint)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jobject arg2)
-{
- CGPoint _arg2, *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, TXNOffsetToHIPoint_FUNC);
- if (arg2) if ((lparg2 = getCGPointFields(env, arg2, &_arg2)) == NULL) goto fail;
- rc = (jint)TXNOffsetToHIPoint((TXNObject)arg0, (TXNOffset)arg1, (HIPoint *)lparg2);
-fail:
- if (arg2 && lparg2) setCGPointFields(env, arg2, lparg2);
- OS_NATIVE_EXIT(env, that, TXNOffsetToHIPoint_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_TXNPaste
-JNIEXPORT jint JNICALL OS_NATIVE(TXNPaste)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, TXNPaste_FUNC);
- rc = (jint)TXNPaste((TXNObject)arg0);
- OS_NATIVE_EXIT(env, that, TXNPaste_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_TXNSelectAll
-JNIEXPORT void JNICALL OS_NATIVE(TXNSelectAll)
- (JNIEnv *env, jclass that, jint arg0)
-{
- OS_NATIVE_ENTER(env, that, TXNSelectAll_FUNC);
- TXNSelectAll((TXNObject)arg0);
- OS_NATIVE_EXIT(env, that, TXNSelectAll_FUNC);
-}
-#endif
-
-#ifndef NO_TXNSetBackground
-JNIEXPORT jint JNICALL OS_NATIVE(TXNSetBackground)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1)
-{
- TXNBackground _arg1, *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, TXNSetBackground_FUNC);
- if (arg1) if ((lparg1 = getTXNBackgroundFields(env, arg1, &_arg1)) == NULL) goto fail;
- rc = (jint)TXNSetBackground((TXNObject)arg0, (const TXNBackground *)lparg1);
-fail:
- if (arg1 && lparg1) setTXNBackgroundFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, TXNSetBackground_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_TXNSetData
-JNIEXPORT jint JNICALL OS_NATIVE(TXNSetData)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jcharArray arg2, jint arg3, jint arg4, jint arg5)
-{
- jchar *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, TXNSetData_FUNC);
- if (arg2) if ((lparg2 = (*env)->GetCharArrayElements(env, arg2, NULL)) == NULL) goto fail;
- rc = (jint)TXNSetData((TXNObject)arg0, (TXNDataType)arg1, (const void *)lparg2, (ByteCount)arg3, (TXNOffset)arg4, (TXNOffset)arg5);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseCharArrayElements(env, arg2, lparg2, 0);
- OS_NATIVE_EXIT(env, that, TXNSetData_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_TXNSetFrameBounds
-JNIEXPORT void JNICALL OS_NATIVE(TXNSetFrameBounds)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jint arg4, jint arg5)
-{
- OS_NATIVE_ENTER(env, that, TXNSetFrameBounds_FUNC);
- TXNSetFrameBounds((TXNObject)arg0, (SInt32)arg1, (SInt32)arg2, (SInt32)arg3, (SInt32)arg4, (TXNFrameID)arg5);
- OS_NATIVE_EXIT(env, that, TXNSetFrameBounds_FUNC);
-}
-#endif
-
-#ifndef NO_TXNSetSelection
-JNIEXPORT jint JNICALL OS_NATIVE(TXNSetSelection)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, TXNSetSelection_FUNC);
- rc = (jint)TXNSetSelection((TXNObject)arg0, (TXNOffset)arg1, (TXNOffset)arg2);
- OS_NATIVE_EXIT(env, that, TXNSetSelection_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_TXNSetTXNObjectControls
-JNIEXPORT jint JNICALL OS_NATIVE(TXNSetTXNObjectControls)
- (JNIEnv *env, jclass that, jint arg0, jboolean arg1, jint arg2, jintArray arg3, jintArray arg4)
-{
- jint *lparg3=NULL;
- jint *lparg4=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, TXNSetTXNObjectControls_FUNC);
- if (arg3) if ((lparg3 = (*env)->GetIntArrayElements(env, arg3, NULL)) == NULL) goto fail;
- if (arg4) if ((lparg4 = (*env)->GetIntArrayElements(env, arg4, NULL)) == NULL) goto fail;
- rc = (jint)TXNSetTXNObjectControls((TXNObject)arg0, (Boolean)arg1, (ItemCount)arg2, (const TXNControlTag *)lparg3, (const TXNControlData *)lparg4);
-fail:
- if (arg4 && lparg4) (*env)->ReleaseIntArrayElements(env, arg4, lparg4, 0);
- if (arg3 && lparg3) (*env)->ReleaseIntArrayElements(env, arg3, lparg3, 0);
- OS_NATIVE_EXIT(env, that, TXNSetTXNObjectControls_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_TXNSetTypeAttributes
-JNIEXPORT jint JNICALL OS_NATIVE(TXNSetTypeAttributes)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jint arg4)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, TXNSetTypeAttributes_FUNC);
- rc = (jint)TXNSetTypeAttributes((TXNObject)arg0, (ItemCount)arg1, (const TXNTypeAttributes *)arg2, (TXNOffset)arg3, (TXNOffset)arg4);
- OS_NATIVE_EXIT(env, that, TXNSetTypeAttributes_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_TXNShowSelection
-JNIEXPORT void JNICALL OS_NATIVE(TXNShowSelection)
- (JNIEnv *env, jclass that, jint arg0, jboolean arg1)
-{
- OS_NATIVE_ENTER(env, that, TXNShowSelection_FUNC);
- TXNShowSelection((TXNObject)arg0, (Boolean)arg1);
- OS_NATIVE_EXIT(env, that, TXNShowSelection_FUNC);
-}
-#endif
-
-#ifndef NO_TextFace
-JNIEXPORT void JNICALL OS_NATIVE(TextFace)
- (JNIEnv *env, jclass that, jshort arg0)
-{
- OS_NATIVE_ENTER(env, that, TextFace_FUNC);
- TextFace((StyleParameter)arg0);
- OS_NATIVE_EXIT(env, that, TextFace_FUNC);
-}
-#endif
-
-#ifndef NO_TextFont
-JNIEXPORT void JNICALL OS_NATIVE(TextFont)
- (JNIEnv *env, jclass that, jshort arg0)
-{
- OS_NATIVE_ENTER(env, that, TextFont_FUNC);
- TextFont((short)arg0);
- OS_NATIVE_EXIT(env, that, TextFont_FUNC);
-}
-#endif
-
-#ifndef NO_TextSize
-JNIEXPORT void JNICALL OS_NATIVE(TextSize)
- (JNIEnv *env, jclass that, jshort arg0)
-{
- OS_NATIVE_ENTER(env, that, TextSize_FUNC);
- TextSize((short)arg0);
- OS_NATIVE_EXIT(env, that, TextSize_FUNC);
-}
-#endif
-
-#ifndef NO_TrackDrag
-JNIEXPORT jint JNICALL OS_NATIVE(TrackDrag)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1, jint arg2)
-{
- EventRecord _arg1, *lparg1=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, TrackDrag_FUNC);
- if (arg1) if ((lparg1 = getEventRecordFields(env, arg1, &_arg1)) == NULL) goto fail;
- rc = (jint)TrackDrag((DragRef)arg0, (const EventRecord *)lparg1, (RgnHandle)arg2);
-fail:
- if (arg1 && lparg1) setEventRecordFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, TrackDrag_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_TrackMouseLocationWithOptions
-JNIEXPORT jint JNICALL OS_NATIVE(TrackMouseLocationWithOptions)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jdouble arg2, jobject arg3, jintArray arg4, jshortArray arg5)
-{
- Point _arg3, *lparg3=NULL;
- jint *lparg4=NULL;
- jshort *lparg5=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, TrackMouseLocationWithOptions_FUNC);
- if (arg3) if ((lparg3 = getPointFields(env, arg3, &_arg3)) == NULL) goto fail;
- if (arg4) if ((lparg4 = (*env)->GetIntArrayElements(env, arg4, NULL)) == NULL) goto fail;
- if (arg5) if ((lparg5 = (*env)->GetShortArrayElements(env, arg5, NULL)) == NULL) goto fail;
- rc = (jint)TrackMouseLocationWithOptions((GrafPtr)arg0, (OptionBits)arg1, (EventTimeout)arg2, (Point *)lparg3, (UInt32 *)lparg4, (MouseTrackingResult *)lparg5);
-fail:
- if (arg5 && lparg5) (*env)->ReleaseShortArrayElements(env, arg5, lparg5, 0);
- if (arg4 && lparg4) (*env)->ReleaseIntArrayElements(env, arg4, lparg4, 0);
- if (arg3 && lparg3) setPointFields(env, arg3, lparg3);
- OS_NATIVE_EXIT(env, that, TrackMouseLocationWithOptions_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_UCKeyTranslate
-JNIEXPORT jint JNICALL OS_NATIVE(UCKeyTranslate)
- (JNIEnv *env, jclass that, jint arg0, jshort arg1, jshort arg2, jint arg3, jint arg4, jint arg5, jintArray arg6, jint arg7, jintArray arg8, jcharArray arg9)
-{
- jint *lparg6=NULL;
- jint *lparg8=NULL;
- jchar *lparg9=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, UCKeyTranslate_FUNC);
- if (arg6) if ((lparg6 = (*env)->GetIntArrayElements(env, arg6, NULL)) == NULL) goto fail;
- if (arg8) if ((lparg8 = (*env)->GetIntArrayElements(env, arg8, NULL)) == NULL) goto fail;
- if (arg9) if ((lparg9 = (*env)->GetCharArrayElements(env, arg9, NULL)) == NULL) goto fail;
- rc = (jint)UCKeyTranslate((const UCKeyboardLayout *)arg0, (UInt16)arg1, (UInt16)arg2, (UInt32)arg3, (UInt32)arg4, (OptionBits)arg5, (UInt32 *)lparg6, (UniCharCount)arg7, (UniCharCount *)lparg8, (UniChar *)lparg9);
-fail:
- if (arg9 && lparg9) (*env)->ReleaseCharArrayElements(env, arg9, lparg9, 0);
- if (arg8 && lparg8) (*env)->ReleaseIntArrayElements(env, arg8, lparg8, 0);
- if (arg6 && lparg6) (*env)->ReleaseIntArrayElements(env, arg6, lparg6, 0);
- OS_NATIVE_EXIT(env, that, UCKeyTranslate_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_UTTypeCreateAllIdentifiersForTag
-JNIEXPORT jint JNICALL OS_NATIVE(UTTypeCreateAllIdentifiersForTag)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, UTTypeCreateAllIdentifiersForTag_FUNC);
- rc = (jint)UTTypeCreateAllIdentifiersForTag((CFStringRef)arg0, (CFStringRef)arg1, (CFStringRef)arg2);
- OS_NATIVE_EXIT(env, that, UTTypeCreateAllIdentifiersForTag_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_UTTypeCreatePreferredIdentifierForTag
-JNIEXPORT jint JNICALL OS_NATIVE(UTTypeCreatePreferredIdentifierForTag)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, UTTypeCreatePreferredIdentifierForTag_FUNC);
- rc = (jint)UTTypeCreatePreferredIdentifierForTag((CFStringRef)arg0, (CFStringRef)arg1, (CFStringRef)arg2);
- OS_NATIVE_EXIT(env, that, UTTypeCreatePreferredIdentifierForTag_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_UnionRect
-JNIEXPORT void JNICALL OS_NATIVE(UnionRect)
- (JNIEnv *env, jclass that, jobject arg0, jobject arg1, jobject arg2)
-{
- Rect _arg0, *lparg0=NULL;
- Rect _arg1, *lparg1=NULL;
- Rect _arg2, *lparg2=NULL;
- OS_NATIVE_ENTER(env, that, UnionRect_FUNC);
- if (arg0) if ((lparg0 = getRectFields(env, arg0, &_arg0)) == NULL) goto fail;
- if (arg1) if ((lparg1 = getRectFields(env, arg1, &_arg1)) == NULL) goto fail;
- if (arg2) if ((lparg2 = &_arg2) == NULL) goto fail;
- UnionRect(lparg0, lparg1, lparg2);
-fail:
- if (arg2 && lparg2) setRectFields(env, arg2, lparg2);
- OS_NATIVE_EXIT(env, that, UnionRect_FUNC);
-}
-#endif
-
-#ifndef NO_UnionRgn
-JNIEXPORT void JNICALL OS_NATIVE(UnionRgn)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- OS_NATIVE_ENTER(env, that, UnionRgn_FUNC);
- UnionRgn((RgnHandle)arg0, (RgnHandle)arg1, (RgnHandle)arg2);
- OS_NATIVE_EXIT(env, that, UnionRgn_FUNC);
-}
-#endif
-
-#ifndef NO_UpdateDataBrowserItems
-JNIEXPORT jint JNICALL OS_NATIVE(UpdateDataBrowserItems)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jintArray arg3, jint arg4, jint arg5)
-{
- jint *lparg3=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, UpdateDataBrowserItems_FUNC);
- if (arg3) if ((lparg3 = (*env)->GetIntArrayElements(env, arg3, NULL)) == NULL) goto fail;
- rc = (jint)UpdateDataBrowserItems((ControlRef)arg0, (DataBrowserItemID)arg1, (UInt32)arg2, (const DataBrowserItemID *)lparg3, (DataBrowserPropertyID)arg4, (DataBrowserPropertyID)arg5);
-fail:
- if (arg3 && lparg3) (*env)->ReleaseIntArrayElements(env, arg3, lparg3, 0);
- OS_NATIVE_EXIT(env, that, UpdateDataBrowserItems_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_UpgradeScriptInfoToTextEncoding
-JNIEXPORT jint JNICALL OS_NATIVE(UpgradeScriptInfoToTextEncoding)
- (JNIEnv *env, jclass that, jshort arg0, jshort arg1, jshort arg2, jbyteArray arg3, jintArray arg4)
-{
- jbyte *lparg3=NULL;
- jint *lparg4=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, UpgradeScriptInfoToTextEncoding_FUNC);
- if (arg3) if ((lparg3 = (*env)->GetByteArrayElements(env, arg3, NULL)) == NULL) goto fail;
- if (arg4) if ((lparg4 = (*env)->GetIntArrayElements(env, arg4, NULL)) == NULL) goto fail;
- rc = (jint)UpgradeScriptInfoToTextEncoding((ScriptCode)arg0, (LangCode)arg1, (RegionCode)arg2, (ConstStr255Param)lparg3, (TextEncoding *)lparg4);
-fail:
- if (arg4 && lparg4) (*env)->ReleaseIntArrayElements(env, arg4, lparg4, 0);
- if (arg3 && lparg3) (*env)->ReleaseByteArrayElements(env, arg3, lparg3, 0);
- OS_NATIVE_EXIT(env, that, UpgradeScriptInfoToTextEncoding_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_UseInputWindow
-JNIEXPORT jint JNICALL OS_NATIVE(UseInputWindow)
- (JNIEnv *env, jclass that, jint arg0, jboolean arg1)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, UseInputWindow_FUNC);
- rc = (jint)UseInputWindow((TSMDocumentID)arg0, arg1);
- OS_NATIVE_EXIT(env, that, UseInputWindow_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_WaitMouseMoved
-JNIEXPORT jboolean JNICALL OS_NATIVE(WaitMouseMoved)
- (JNIEnv *env, jclass that, jobject arg0)
-{
- Point _arg0, *lparg0=NULL;
- jboolean rc = 0;
- OS_NATIVE_ENTER(env, that, WaitMouseMoved_FUNC);
- if (arg0) if ((lparg0 = getPointFields(env, arg0, &_arg0)) == NULL) goto fail;
- rc = (jboolean)WaitMouseMoved(*lparg0);
-fail:
- if (arg0 && lparg0) setPointFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, WaitMouseMoved_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_X2Fix
-JNIEXPORT jint JNICALL OS_NATIVE(X2Fix)
- (JNIEnv *env, jclass that, jdouble arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, X2Fix_FUNC);
- rc = (jint)X2Fix(arg0);
- OS_NATIVE_EXIT(env, that, X2Fix_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_ZoomWindowIdeal
-JNIEXPORT jint JNICALL OS_NATIVE(ZoomWindowIdeal)
- (JNIEnv *env, jclass that, jint arg0, jshort arg1, jobject arg2)
-{
- Point _arg2, *lparg2=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, ZoomWindowIdeal_FUNC);
- if (arg2) if ((lparg2 = getPointFields(env, arg2, &_arg2)) == NULL) goto fail;
- rc = (jint)ZoomWindowIdeal((WindowRef)arg0, (WindowPartCode)arg1, (Point *)lparg2);
-fail:
- if (arg2 && lparg2) setPointFields(env, arg2, lparg2);
- OS_NATIVE_EXIT(env, that, ZoomWindowIdeal_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_getpid
-JNIEXPORT jint JNICALL OS_NATIVE(getpid)
- (JNIEnv *env, jclass that)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, getpid_FUNC);
- rc = (jint)getpid();
- OS_NATIVE_EXIT(env, that, getpid_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_kCFNumberFormatterDecimalSeparator
-JNIEXPORT jint JNICALL OS_NATIVE(kCFNumberFormatterDecimalSeparator)
- (JNIEnv *env, jclass that)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, kCFNumberFormatterDecimalSeparator_FUNC);
- rc = (jint)kCFNumberFormatterDecimalSeparator;
- OS_NATIVE_EXIT(env, that, kCFNumberFormatterDecimalSeparator_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_kCFRunLoopCommonModes
-JNIEXPORT jint JNICALL OS_NATIVE(kCFRunLoopCommonModes)
- (JNIEnv *env, jclass that)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, kCFRunLoopCommonModes_FUNC);
- rc = (jint)kCFRunLoopCommonModes;
- OS_NATIVE_EXIT(env, that, kCFRunLoopCommonModes_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_kCFRunLoopDefaultMode
-JNIEXPORT jint JNICALL OS_NATIVE(kCFRunLoopDefaultMode)
- (JNIEnv *env, jclass that)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, kCFRunLoopDefaultMode_FUNC);
- rc = (jint)kCFRunLoopDefaultMode;
- OS_NATIVE_EXIT(env, that, kCFRunLoopDefaultMode_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_kFontPanelAttributeSizesKey
-JNIEXPORT jint JNICALL OS_NATIVE(kFontPanelAttributeSizesKey)
- (JNIEnv *env, jclass that)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, kFontPanelAttributeSizesKey_FUNC);
- rc = (jint)kFontPanelAttributeSizesKey;
- OS_NATIVE_EXIT(env, that, kFontPanelAttributeSizesKey_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_kFontPanelAttributeTagsKey
-JNIEXPORT jint JNICALL OS_NATIVE(kFontPanelAttributeTagsKey)
- (JNIEnv *env, jclass that)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, kFontPanelAttributeTagsKey_FUNC);
- rc = (jint)kFontPanelAttributeTagsKey;
- OS_NATIVE_EXIT(env, that, kFontPanelAttributeTagsKey_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_kFontPanelAttributeValuesKey
-JNIEXPORT jint JNICALL OS_NATIVE(kFontPanelAttributeValuesKey)
- (JNIEnv *env, jclass that)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, kFontPanelAttributeValuesKey_FUNC);
- rc = (jint)kFontPanelAttributeValuesKey;
- OS_NATIVE_EXIT(env, that, kFontPanelAttributeValuesKey_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_kFontPanelAttributesKey
-JNIEXPORT jint JNICALL OS_NATIVE(kFontPanelAttributesKey)
- (JNIEnv *env, jclass that)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, kFontPanelAttributesKey_FUNC);
- rc = (jint)kFontPanelAttributesKey;
- OS_NATIVE_EXIT(env, that, kFontPanelAttributesKey_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_kHIViewWindowContentID
-JNIEXPORT jint JNICALL OS_NATIVE(kHIViewWindowContentID)
- (JNIEnv *env, jclass that)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, kHIViewWindowContentID_FUNC);
- rc = (jint)&kHIViewWindowContentID;
- OS_NATIVE_EXIT(env, that, kHIViewWindowContentID_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_kPMDocumentFormatPDF
-JNIEXPORT jint JNICALL OS_NATIVE(kPMDocumentFormatPDF)
- (JNIEnv *env, jclass that)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, kPMDocumentFormatPDF_FUNC);
- rc = (jint)kPMDocumentFormatPDF;
- OS_NATIVE_EXIT(env, that, kPMDocumentFormatPDF_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_kPMGraphicsContextCoreGraphics
-JNIEXPORT jint JNICALL OS_NATIVE(kPMGraphicsContextCoreGraphics)
- (JNIEnv *env, jclass that)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, kPMGraphicsContextCoreGraphics_FUNC);
- rc = (jint)kPMGraphicsContextCoreGraphics;
- OS_NATIVE_EXIT(env, that, kPMGraphicsContextCoreGraphics_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_kUTTagClassFilenameExtension
-JNIEXPORT jint JNICALL OS_NATIVE(kUTTagClassFilenameExtension)
- (JNIEnv *env, jclass that)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, kUTTagClassFilenameExtension_FUNC);
- rc = (jint)kUTTagClassFilenameExtension;
- OS_NATIVE_EXIT(env, that, kUTTagClassFilenameExtension_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_memmove__ILorg_eclipse_swt_internal_carbon_ATSUTab_2I
-JNIEXPORT void JNICALL OS_NATIVE(memmove__ILorg_eclipse_swt_internal_carbon_ATSUTab_2I)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1, jint arg2)
-{
- ATSUTab _arg1, *lparg1=NULL;
- OS_NATIVE_ENTER(env, that, memmove__ILorg_eclipse_swt_internal_carbon_ATSUTab_2I_FUNC);
- if (arg1) if ((lparg1 = getATSUTabFields(env, arg1, &_arg1)) == NULL) goto fail;
- memmove((void *)arg0, (const void *)lparg1, (size_t)arg2);
-fail:
- OS_NATIVE_EXIT(env, that, memmove__ILorg_eclipse_swt_internal_carbon_ATSUTab_2I_FUNC);
-}
-#endif
-
-#ifndef NO_memmove__ILorg_eclipse_swt_internal_carbon_BitMap_2I
-JNIEXPORT void JNICALL OS_NATIVE(memmove__ILorg_eclipse_swt_internal_carbon_BitMap_2I)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1, jint arg2)
-{
- BitMap _arg1, *lparg1=NULL;
- OS_NATIVE_ENTER(env, that, memmove__ILorg_eclipse_swt_internal_carbon_BitMap_2I_FUNC);
- if (arg1) if ((lparg1 = getBitMapFields(env, arg1, &_arg1)) == NULL) goto fail;
- memmove((void *)arg0, (const void *)lparg1, (size_t)arg2);
-fail:
- OS_NATIVE_EXIT(env, that, memmove__ILorg_eclipse_swt_internal_carbon_BitMap_2I_FUNC);
-}
-#endif
-
-#ifndef NO_memmove__ILorg_eclipse_swt_internal_carbon_Cursor_2I
-JNIEXPORT void JNICALL OS_NATIVE(memmove__ILorg_eclipse_swt_internal_carbon_Cursor_2I)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1, jint arg2)
-{
- Cursor _arg1, *lparg1=NULL;
- OS_NATIVE_ENTER(env, that, memmove__ILorg_eclipse_swt_internal_carbon_Cursor_2I_FUNC);
- if (arg1) if ((lparg1 = getCursorFields(env, arg1, &_arg1)) == NULL) goto fail;
- memmove((void *)arg0, (const void *)lparg1, (size_t)arg2);
-fail:
- OS_NATIVE_EXIT(env, that, memmove__ILorg_eclipse_swt_internal_carbon_Cursor_2I_FUNC);
-}
-#endif
-
-#ifndef NO_memmove__ILorg_eclipse_swt_internal_carbon_HMHelpContentRec_2I
-JNIEXPORT void JNICALL OS_NATIVE(memmove__ILorg_eclipse_swt_internal_carbon_HMHelpContentRec_2I)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1, jint arg2)
-{
- HMHelpContentRec _arg1, *lparg1=NULL;
- OS_NATIVE_ENTER(env, that, memmove__ILorg_eclipse_swt_internal_carbon_HMHelpContentRec_2I_FUNC);
- if (arg1) if ((lparg1 = getHMHelpContentRecFields(env, arg1, &_arg1)) == NULL) goto fail;
- memmove((void *)arg0, (const void *)lparg1, (size_t)arg2);
-fail:
- OS_NATIVE_EXIT(env, that, memmove__ILorg_eclipse_swt_internal_carbon_HMHelpContentRec_2I_FUNC);
-}
-#endif
-
-#ifndef NO_memmove__ILorg_eclipse_swt_internal_carbon_PixMap_2I
-JNIEXPORT void JNICALL OS_NATIVE(memmove__ILorg_eclipse_swt_internal_carbon_PixMap_2I)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1, jint arg2)
-{
- PixMap _arg1, *lparg1=NULL;
- OS_NATIVE_ENTER(env, that, memmove__ILorg_eclipse_swt_internal_carbon_PixMap_2I_FUNC);
- if (arg1) if ((lparg1 = getPixMapFields(env, arg1, &_arg1)) == NULL) goto fail;
- memmove((void *)arg0, (const void *)lparg1, (size_t)arg2);
-fail:
- OS_NATIVE_EXIT(env, that, memmove__ILorg_eclipse_swt_internal_carbon_PixMap_2I_FUNC);
-}
-#endif
-
-#ifndef NO_memmove__ILorg_eclipse_swt_internal_carbon_RGBColor_2I
-JNIEXPORT void JNICALL OS_NATIVE(memmove__ILorg_eclipse_swt_internal_carbon_RGBColor_2I)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1, jint arg2)
-{
- RGBColor _arg1, *lparg1=NULL;
- OS_NATIVE_ENTER(env, that, memmove__ILorg_eclipse_swt_internal_carbon_RGBColor_2I_FUNC);
- if (arg1) if ((lparg1 = getRGBColorFields(env, arg1, &_arg1)) == NULL) goto fail;
- memmove((void *)arg0, (const void *)lparg1, (size_t)arg2);
-fail:
- OS_NATIVE_EXIT(env, that, memmove__ILorg_eclipse_swt_internal_carbon_RGBColor_2I_FUNC);
-}
-#endif
-
-#ifndef NO_memmove__ILorg_eclipse_swt_internal_carbon_Rect_2I
-JNIEXPORT void JNICALL OS_NATIVE(memmove__ILorg_eclipse_swt_internal_carbon_Rect_2I)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1, jint arg2)
-{
- Rect _arg1, *lparg1=NULL;
- OS_NATIVE_ENTER(env, that, memmove__ILorg_eclipse_swt_internal_carbon_Rect_2I_FUNC);
- if (arg1) if ((lparg1 = getRectFields(env, arg1, &_arg1)) == NULL) goto fail;
- memmove((void *)arg0, (const void *)lparg1, (size_t)arg2);
-fail:
- OS_NATIVE_EXIT(env, that, memmove__ILorg_eclipse_swt_internal_carbon_Rect_2I_FUNC);
-}
-#endif
-
-#ifndef NO_memmove__Lorg_eclipse_swt_internal_carbon_ATSLayoutRecord_2II
-JNIEXPORT void JNICALL OS_NATIVE(memmove__Lorg_eclipse_swt_internal_carbon_ATSLayoutRecord_2II)
- (JNIEnv *env, jclass that, jobject arg0, jint arg1, jint arg2)
-{
- ATSLayoutRecord _arg0, *lparg0=NULL;
- OS_NATIVE_ENTER(env, that, memmove__Lorg_eclipse_swt_internal_carbon_ATSLayoutRecord_2II_FUNC);
- if (arg0) if ((lparg0 = &_arg0) == NULL) goto fail;
- memmove((void *)lparg0, (const void *)arg1, (size_t)arg2);
-fail:
- if (arg0 && lparg0) setATSLayoutRecordFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, memmove__Lorg_eclipse_swt_internal_carbon_ATSLayoutRecord_2II_FUNC);
-}
-#endif
-
-#ifndef NO_memmove__Lorg_eclipse_swt_internal_carbon_ATSTrapezoid_2II
-JNIEXPORT void JNICALL OS_NATIVE(memmove__Lorg_eclipse_swt_internal_carbon_ATSTrapezoid_2II)
- (JNIEnv *env, jclass that, jobject arg0, jint arg1, jint arg2)
-{
- ATSTrapezoid _arg0, *lparg0=NULL;
- OS_NATIVE_ENTER(env, that, memmove__Lorg_eclipse_swt_internal_carbon_ATSTrapezoid_2II_FUNC);
- if (arg0) if ((lparg0 = &_arg0) == NULL) goto fail;
- memmove((void *)lparg0, (const void *)arg1, (size_t)arg2);
-fail:
- if (arg0 && lparg0) setATSTrapezoidFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, memmove__Lorg_eclipse_swt_internal_carbon_ATSTrapezoid_2II_FUNC);
-}
-#endif
-
-#ifndef NO_memmove__Lorg_eclipse_swt_internal_carbon_CGPathElement_2II
-JNIEXPORT void JNICALL OS_NATIVE(memmove__Lorg_eclipse_swt_internal_carbon_CGPathElement_2II)
- (JNIEnv *env, jclass that, jobject arg0, jint arg1, jint arg2)
-{
- CGPathElement _arg0, *lparg0=NULL;
- OS_NATIVE_ENTER(env, that, memmove__Lorg_eclipse_swt_internal_carbon_CGPathElement_2II_FUNC);
- if (arg0) if ((lparg0 = &_arg0) == NULL) goto fail;
- memmove((void *)lparg0, (const void *)arg1, (size_t)arg2);
-fail:
- if (arg0 && lparg0) setCGPathElementFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, memmove__Lorg_eclipse_swt_internal_carbon_CGPathElement_2II_FUNC);
-}
-#endif
-
-#ifndef NO_memmove__Lorg_eclipse_swt_internal_carbon_GDevice_2II
-JNIEXPORT void JNICALL OS_NATIVE(memmove__Lorg_eclipse_swt_internal_carbon_GDevice_2II)
- (JNIEnv *env, jclass that, jobject arg0, jint arg1, jint arg2)
-{
- GDevice _arg0, *lparg0=NULL;
- OS_NATIVE_ENTER(env, that, memmove__Lorg_eclipse_swt_internal_carbon_GDevice_2II_FUNC);
- if (arg0) if ((lparg0 = &_arg0) == NULL) goto fail;
- memmove((void *)lparg0, (const void *)arg1, (size_t)arg2);
-fail:
- if (arg0 && lparg0) setGDeviceFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, memmove__Lorg_eclipse_swt_internal_carbon_GDevice_2II_FUNC);
-}
-#endif
-
-#ifndef NO_memmove__Lorg_eclipse_swt_internal_carbon_HMHelpContentRec_2II
-JNIEXPORT void JNICALL OS_NATIVE(memmove__Lorg_eclipse_swt_internal_carbon_HMHelpContentRec_2II)
- (JNIEnv *env, jclass that, jobject arg0, jint arg1, jint arg2)
-{
- HMHelpContentRec _arg0, *lparg0=NULL;
- OS_NATIVE_ENTER(env, that, memmove__Lorg_eclipse_swt_internal_carbon_HMHelpContentRec_2II_FUNC);
- if (arg0) if ((lparg0 = &_arg0) == NULL) goto fail;
- memmove((void *)lparg0, (const void *)arg1, (size_t)arg2);
-fail:
- if (arg0 && lparg0) setHMHelpContentRecFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, memmove__Lorg_eclipse_swt_internal_carbon_HMHelpContentRec_2II_FUNC);
-}
-#endif
-
-#ifndef NO_memmove__Lorg_eclipse_swt_internal_carbon_NavCBRec_2II
-JNIEXPORT void JNICALL OS_NATIVE(memmove__Lorg_eclipse_swt_internal_carbon_NavCBRec_2II)
- (JNIEnv *env, jclass that, jobject arg0, jint arg1, jint arg2)
-{
- NavCBRec _arg0, *lparg0=NULL;
- OS_NATIVE_ENTER(env, that, memmove__Lorg_eclipse_swt_internal_carbon_NavCBRec_2II_FUNC);
- if (arg0) if ((lparg0 = getNavCBRecFields(env, arg0, &_arg0)) == NULL) goto fail;
- memmove((void *)lparg0, (const void *)arg1, (size_t)arg2);
-fail:
- if (arg0 && lparg0) setNavCBRecFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, memmove__Lorg_eclipse_swt_internal_carbon_NavCBRec_2II_FUNC);
-}
-#endif
-
-#ifndef NO_memmove__Lorg_eclipse_swt_internal_carbon_NavFileOrFolderInfo_2II
-JNIEXPORT void JNICALL OS_NATIVE(memmove__Lorg_eclipse_swt_internal_carbon_NavFileOrFolderInfo_2II)
- (JNIEnv *env, jclass that, jobject arg0, jint arg1, jint arg2)
-{
- NavFileOrFolderInfo _arg0, *lparg0=NULL;
- OS_NATIVE_ENTER(env, that, memmove__Lorg_eclipse_swt_internal_carbon_NavFileOrFolderInfo_2II_FUNC);
- if (arg0) if ((lparg0 = getNavFileOrFolderInfoFields(env, arg0, &_arg0)) == NULL) goto fail;
- memmove((void *)lparg0, (const void *)arg1, (size_t)arg2);
-fail:
- if (arg0 && lparg0) setNavFileOrFolderInfoFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, memmove__Lorg_eclipse_swt_internal_carbon_NavFileOrFolderInfo_2II_FUNC);
-}
-#endif
-
-#ifndef NO_memmove__Lorg_eclipse_swt_internal_carbon_NavMenuItemSpec_2II
-JNIEXPORT void JNICALL OS_NATIVE(memmove__Lorg_eclipse_swt_internal_carbon_NavMenuItemSpec_2II)
- (JNIEnv *env, jclass that, jobject arg0, jint arg1, jint arg2)
-{
- NavMenuItemSpec _arg0, *lparg0=NULL;
- OS_NATIVE_ENTER(env, that, memmove__Lorg_eclipse_swt_internal_carbon_NavMenuItemSpec_2II_FUNC);
- if (arg0) if ((lparg0 = getNavMenuItemSpecFields(env, arg0, &_arg0)) == NULL) goto fail;
- memmove((void *)lparg0, (const void *)arg1, (size_t)arg2);
-fail:
- if (arg0 && lparg0) setNavMenuItemSpecFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, memmove__Lorg_eclipse_swt_internal_carbon_NavMenuItemSpec_2II_FUNC);
-}
-#endif
-
-#ifndef NO_memmove__Lorg_eclipse_swt_internal_carbon_PixMap_2II
-JNIEXPORT void JNICALL OS_NATIVE(memmove__Lorg_eclipse_swt_internal_carbon_PixMap_2II)
- (JNIEnv *env, jclass that, jobject arg0, jint arg1, jint arg2)
-{
- PixMap _arg0, *lparg0=NULL;
- OS_NATIVE_ENTER(env, that, memmove__Lorg_eclipse_swt_internal_carbon_PixMap_2II_FUNC);
- if (arg0) if ((lparg0 = &_arg0) == NULL) goto fail;
- memmove((void *)lparg0, (const void *)arg1, (size_t)arg2);
-fail:
- if (arg0 && lparg0) setPixMapFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, memmove__Lorg_eclipse_swt_internal_carbon_PixMap_2II_FUNC);
-}
-#endif
-
-#ifndef NO_memmove__Lorg_eclipse_swt_internal_carbon_Point_2_3II
-JNIEXPORT void JNICALL OS_NATIVE(memmove__Lorg_eclipse_swt_internal_carbon_Point_2_3II)
- (JNIEnv *env, jclass that, jobject arg0, jintArray arg1, jint arg2)
-{
- Point _arg0, *lparg0=NULL;
- jint *lparg1=NULL;
- OS_NATIVE_ENTER(env, that, memmove__Lorg_eclipse_swt_internal_carbon_Point_2_3II_FUNC);
- if (arg0) if ((lparg0 = &_arg0) == NULL) goto fail;
-#ifdef JNI_VERSION_1_2
- if (IS_JNI_1_2) {
- if (arg1) if ((lparg1 = (*env)->GetPrimitiveArrayCritical(env, arg1, NULL)) == NULL) goto fail;
- } else
-#endif
- {
- if (arg1) if ((lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL)) == NULL) goto fail;
- }
- memmove((void *)lparg0, (const void *)lparg1, (size_t)arg2);
-fail:
-#ifdef JNI_VERSION_1_2
- if (IS_JNI_1_2) {
- if (arg1 && lparg1) (*env)->ReleasePrimitiveArrayCritical(env, arg1, lparg1, JNI_ABORT);
- } else
-#endif
- {
- if (arg1 && lparg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, JNI_ABORT);
- }
- if (arg0 && lparg0) setPointFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, memmove__Lorg_eclipse_swt_internal_carbon_Point_2_3II_FUNC);
-}
-#endif
-
-#ifndef NO_memmove__Lorg_eclipse_swt_internal_carbon_RGBColor_2II
-JNIEXPORT void JNICALL OS_NATIVE(memmove__Lorg_eclipse_swt_internal_carbon_RGBColor_2II)
- (JNIEnv *env, jclass that, jobject arg0, jint arg1, jint arg2)
-{
- RGBColor _arg0, *lparg0=NULL;
- OS_NATIVE_ENTER(env, that, memmove__Lorg_eclipse_swt_internal_carbon_RGBColor_2II_FUNC);
- if (arg0) if ((lparg0 = getRGBColorFields(env, arg0, &_arg0)) == NULL) goto fail;
- memmove((void *)lparg0, (const void *)arg1, (size_t)arg2);
-fail:
- if (arg0 && lparg0) setRGBColorFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, memmove__Lorg_eclipse_swt_internal_carbon_RGBColor_2II_FUNC);
-}
-#endif
-
-#ifndef NO_memmove__Lorg_eclipse_swt_internal_carbon_Rect_2II
-JNIEXPORT void JNICALL OS_NATIVE(memmove__Lorg_eclipse_swt_internal_carbon_Rect_2II)
- (JNIEnv *env, jclass that, jobject arg0, jint arg1, jint arg2)
-{
- Rect _arg0, *lparg0=NULL;
- OS_NATIVE_ENTER(env, that, memmove__Lorg_eclipse_swt_internal_carbon_Rect_2II_FUNC);
- if (arg0) if ((lparg0 = &_arg0) == NULL) goto fail;
- memmove((void *)lparg0, (const void *)arg1, (size_t)arg2);
-fail:
- if (arg0 && lparg0) setRectFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, memmove__Lorg_eclipse_swt_internal_carbon_Rect_2II_FUNC);
-}
-#endif
-
-#ifndef NO_memmove__Lorg_eclipse_swt_internal_carbon_TextRange_2II
-JNIEXPORT void JNICALL OS_NATIVE(memmove__Lorg_eclipse_swt_internal_carbon_TextRange_2II)
- (JNIEnv *env, jclass that, jobject arg0, jint arg1, jint arg2)
-{
- TextRange _arg0, *lparg0=NULL;
- OS_NATIVE_ENTER(env, that, memmove__Lorg_eclipse_swt_internal_carbon_TextRange_2II_FUNC);
- if (arg0) if ((lparg0 = &_arg0) == NULL) goto fail;
- memmove((void *)lparg0, (const void *)arg1, (size_t)arg2);
-fail:
- if (arg0 && lparg0) setTextRangeFields(env, arg0, lparg0);
- OS_NATIVE_EXIT(env, that, memmove__Lorg_eclipse_swt_internal_carbon_TextRange_2II_FUNC);
-}
-#endif
-
-#ifndef NO_memmove___3C_3BI
-JNIEXPORT void JNICALL OS_NATIVE(memmove___3C_3BI)
- (JNIEnv *env, jclass that, jcharArray arg0, jbyteArray arg1, jint arg2)
-{
- jchar *lparg0=NULL;
- jbyte *lparg1=NULL;
- OS_NATIVE_ENTER(env, that, memmove___3C_3BI_FUNC);
-#ifdef JNI_VERSION_1_2
- if (IS_JNI_1_2) {
- if (arg0) if ((lparg0 = (*env)->GetPrimitiveArrayCritical(env, arg0, NULL)) == NULL) goto fail;
- if (arg1) if ((lparg1 = (*env)->GetPrimitiveArrayCritical(env, arg1, NULL)) == NULL) goto fail;
- } else
-#endif
- {
- if (arg0) if ((lparg0 = (*env)->GetCharArrayElements(env, arg0, NULL)) == NULL) goto fail;
- if (arg1) if ((lparg1 = (*env)->GetByteArrayElements(env, arg1, NULL)) == NULL) goto fail;
- }
- memmove((void *)lparg0, (const void *)lparg1, (size_t)arg2);
-fail:
-#ifdef JNI_VERSION_1_2
- if (IS_JNI_1_2) {
- if (arg1 && lparg1) (*env)->ReleasePrimitiveArrayCritical(env, arg1, lparg1, JNI_ABORT);
- if (arg0 && lparg0) (*env)->ReleasePrimitiveArrayCritical(env, arg0, lparg0, 0);
- } else
-#endif
- {
- if (arg1 && lparg1) (*env)->ReleaseByteArrayElements(env, arg1, lparg1, JNI_ABORT);
- if (arg0 && lparg0) (*env)->ReleaseCharArrayElements(env, arg0, lparg0, 0);
- }
- OS_NATIVE_EXIT(env, that, memmove___3C_3BI_FUNC);
-}
-#endif
-
-#ifndef NO_memmove___3ILorg_eclipse_swt_internal_carbon_TXNTab_2I
-JNIEXPORT void JNICALL OS_NATIVE(memmove___3ILorg_eclipse_swt_internal_carbon_TXNTab_2I)
- (JNIEnv *env, jclass that, jintArray arg0, jobject arg1, jint arg2)
-{
- jint *lparg0=NULL;
- TXNTab _arg1, *lparg1=NULL;
- OS_NATIVE_ENTER(env, that, memmove___3ILorg_eclipse_swt_internal_carbon_TXNTab_2I_FUNC);
- if (arg1) if ((lparg1 = getTXNTabFields(env, arg1, &_arg1)) == NULL) goto fail;
-#ifdef JNI_VERSION_1_2
- if (IS_JNI_1_2) {
- if (arg0) if ((lparg0 = (*env)->GetPrimitiveArrayCritical(env, arg0, NULL)) == NULL) goto fail;
- } else
-#endif
- {
- if (arg0) if ((lparg0 = (*env)->GetIntArrayElements(env, arg0, NULL)) == NULL) goto fail;
- }
- memmove((void *)lparg0, (const void *)lparg1, (size_t)arg2);
-fail:
-#ifdef JNI_VERSION_1_2
- if (IS_JNI_1_2) {
- if (arg0 && lparg0) (*env)->ReleasePrimitiveArrayCritical(env, arg0, lparg0, 0);
- } else
-#endif
- {
- if (arg0 && lparg0) (*env)->ReleaseIntArrayElements(env, arg0, lparg0, 0);
- }
- OS_NATIVE_EXIT(env, that, memmove___3ILorg_eclipse_swt_internal_carbon_TXNTab_2I_FUNC);
-}
-#endif
-
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os.h b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os.h
deleted file mode 100644
index d236f83a91..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os.h
+++ /dev/null
@@ -1,26 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2006 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-
-#ifndef INC_os_H
-#define INC_os_H
-
-/*#define NDEBUG*/
-
-#include <Carbon/Carbon.h>
-#include <sys/types.h>
-#include <unistd.h>
-
-#include "os_custom.h"
-
-extern jint CPSEnableForegroundOperation(jint *, jint, jint, jint, jint);
-extern jint CPSSetProcessName(jint *, jbyte *);
-
-#endif /* INC_os_H */
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os_custom.c b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os_custom.c
deleted file mode 100644
index 0006bf458e..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os_custom.c
+++ /dev/null
@@ -1,304 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2008 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-
-#include "swt.h"
-#include "os_structs.h"
-#include "os_stats.h"
-
-#define OS_NATIVE(func) Java_org_eclipse_swt_internal_carbon_OS_##func
-
-#ifndef NO_NewGlobalRef
-JNIEXPORT jint JNICALL OS_NATIVE(NewGlobalRef)
- (JNIEnv *env, jclass that, jobject arg0)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, NewGlobalRef_FUNC);
- rc = (jint)(*env)->NewGlobalRef(env, arg0);
- OS_NATIVE_EXIT(env, that, NewGlobalRef_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_DeleteGlobalRef
-JNIEXPORT void JNICALL OS_NATIVE(DeleteGlobalRef)
- (JNIEnv *env, jclass that, jint arg0)
-{
- OS_NATIVE_ENTER(env, that, DeleteGlobalRef_FUNC);
- (*env)->DeleteGlobalRef(env, (jobject)arg0);
- OS_NATIVE_EXIT(env, that, DeleteGlobalRef_FUNC);
-}
-#endif
-
-#ifndef NO_JNIGetObject
-JNIEXPORT jobject JNICALL OS_NATIVE(JNIGetObject)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jobject rc = 0;
- OS_NATIVE_ENTER(env, that, JNIGetObject_FUNC);
- rc = (jobject)arg0;
- OS_NATIVE_EXIT(env, that, JNIGetObject_FUNC);
- return rc;
-}
-#endif
-
-#ifndef NO_CGAffineTransformConcat
-JNIEXPORT void JNICALL OS_NATIVE(CGAffineTransformConcat)
- (JNIEnv *env, jclass that, jfloatArray arg0, jfloatArray arg1, jfloatArray arg2)
-{
- jfloat *lparg0=NULL;
- jfloat *lparg1=NULL;
- jfloat *lparg2=NULL;
- OS_NATIVE_ENTER(env, that, CGAffineTransformConcat_FUNC);
- if (arg0) if ((lparg0 = (*env)->GetFloatArrayElements(env, arg0, NULL)) == NULL) goto fail;
- if (arg1) if ((lparg1 = (*env)->GetFloatArrayElements(env, arg1, NULL)) == NULL) goto fail;
- if (arg2) if ((lparg2 = (*env)->GetFloatArrayElements(env, arg2, NULL)) == NULL) goto fail;
- *(CGAffineTransform *)lparg2 = CGAffineTransformConcat(*(CGAffineTransform *)lparg0, *(CGAffineTransform *)lparg1);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseFloatArrayElements(env, arg2, lparg2, 0);
- if (arg1 && lparg1) (*env)->ReleaseFloatArrayElements(env, arg1, lparg1, JNI_ABORT);
- if (arg0 && lparg0) (*env)->ReleaseFloatArrayElements(env, arg0, lparg0, JNI_ABORT);
- OS_NATIVE_EXIT(env, that, CGAffineTransformConcat_FUNC);
-}
-#endif
-
-#ifndef NO_CGAffineTransformInvert
-JNIEXPORT void JNICALL OS_NATIVE(CGAffineTransformInvert)
- (JNIEnv *env, jclass that, jfloatArray arg0, jfloatArray arg1)
-{
- jfloat *lparg0=NULL;
- jfloat *lparg1=NULL;
- OS_NATIVE_ENTER(env, that, CGAffineTransformInvert_FUNC);
- if (arg0) if ((lparg0 = (*env)->GetFloatArrayElements(env, arg0, NULL)) == NULL) goto fail;
- if (arg1) if ((lparg1 = (*env)->GetFloatArrayElements(env, arg1, NULL)) == NULL) goto fail;
- *(CGAffineTransform *)lparg1 = CGAffineTransformInvert(*(CGAffineTransform *)lparg0);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseFloatArrayElements(env, arg1, lparg1, 0);
- if (arg0 && lparg0) (*env)->ReleaseFloatArrayElements(env, arg0, lparg0, JNI_ABORT);
- OS_NATIVE_EXIT(env, that, CGAffineTransformInvert_FUNC);
-}
-#endif
-
-#ifndef NO_CGAffineTransformMake
-JNIEXPORT void JNICALL OS_NATIVE(CGAffineTransformMake)
- (JNIEnv *env, jclass that, jfloat arg0, jfloat arg1, jfloat arg2, jfloat arg3, jfloat arg4, jfloat arg5, jfloatArray arg6)
-{
- jfloat *lparg6=NULL;
- OS_NATIVE_ENTER(env, that, CGAffineTransformMake_FUNC);
- if (arg6) if ((lparg6 = (*env)->GetFloatArrayElements(env, arg6, NULL)) == NULL) goto fail;
- *(CGAffineTransform *)lparg6 = CGAffineTransformMake(arg0, arg1, arg2, arg3, arg4, arg5);
-fail:
- if (arg6 && lparg6) (*env)->ReleaseFloatArrayElements(env, arg6, lparg6, 0);
- OS_NATIVE_EXIT(env, that, CGAffineTransformMake_FUNC);
-}
-#endif
-
-#ifndef NO_CGAffineTransformRotate
-JNIEXPORT void JNICALL OS_NATIVE(CGAffineTransformRotate)
- (JNIEnv *env, jclass that, jfloatArray arg0, jfloat arg1, jfloatArray arg2)
-{
- jfloat *lparg0=NULL;
- jfloat *lparg2=NULL;
- OS_NATIVE_ENTER(env, that, CGAffineTransformRotate_FUNC);
- if (arg0) if ((lparg0 = (*env)->GetFloatArrayElements(env, arg0, NULL)) == NULL) goto fail;
- if (arg2) if ((lparg2 = (*env)->GetFloatArrayElements(env, arg2, NULL)) == NULL) goto fail;
- *(CGAffineTransform *)lparg2 = CGAffineTransformRotate(*(CGAffineTransform *)lparg0, arg1);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseFloatArrayElements(env, arg2, lparg2, 0);
- if (arg0 && lparg0) (*env)->ReleaseFloatArrayElements(env, arg0, lparg0, JNI_ABORT);
- OS_NATIVE_EXIT(env, that, CGAffineTransformRotate_FUNC);
-}
-#endif
-
-#ifndef NO_CGAffineTransformScale
-JNIEXPORT void JNICALL OS_NATIVE(CGAffineTransformScale)
- (JNIEnv *env, jclass that, jfloatArray arg0, jfloat arg1, jfloat arg2, jfloatArray arg3)
-{
- jfloat *lparg0=NULL;
- jfloat *lparg3=NULL;
- OS_NATIVE_ENTER(env, that, CGAffineTransformScale_FUNC);
- if (arg0) if ((lparg0 = (*env)->GetFloatArrayElements(env, arg0, NULL)) == NULL) goto fail;
- if (arg3) if ((lparg3 = (*env)->GetFloatArrayElements(env, arg3, NULL)) == NULL) goto fail;
- *(CGAffineTransform *)lparg3 = CGAffineTransformScale(*(CGAffineTransform *)lparg0, arg1, arg2);
-fail:
- if (arg3 && lparg3) (*env)->ReleaseFloatArrayElements(env, arg3, lparg3, 0);
- if (arg0 && lparg0) (*env)->ReleaseFloatArrayElements(env, arg0, lparg0, JNI_ABORT);
- OS_NATIVE_EXIT(env, that, CGAffineTransformScale_FUNC);
-}
-#endif
-
-#ifndef NO_CGAffineTransformTranslate
-JNIEXPORT void JNICALL OS_NATIVE(CGAffineTransformTranslate)
- (JNIEnv *env, jclass that, jfloatArray arg0, jfloat arg1, jfloat arg2, jfloatArray arg3)
-{
- jfloat *lparg0=NULL;
- jfloat *lparg3=NULL;
- OS_NATIVE_ENTER(env, that, CGAffineTransformTranslate_FUNC);
- if (arg0) if ((lparg0 = (*env)->GetFloatArrayElements(env, arg0, NULL)) == NULL) goto fail;
- if (arg3) if ((lparg3 = (*env)->GetFloatArrayElements(env, arg3, NULL)) == NULL) goto fail;
- *(CGAffineTransform *)lparg3 = CGAffineTransformTranslate(*(CGAffineTransform *)lparg0, arg1, arg2);
-fail:
- if (arg3 && lparg3) (*env)->ReleaseFloatArrayElements(env, arg3, lparg3, 0);
- if (arg0 && lparg0) (*env)->ReleaseFloatArrayElements(env, arg0, lparg0, JNI_ABORT);
- OS_NATIVE_EXIT(env, that, CGAffineTransformTranslate_FUNC);
-}
-#endif
-
-#ifndef NO_CGContextGetCTM
-JNIEXPORT void JNICALL OS_NATIVE(CGContextGetCTM)
- (JNIEnv *env, jclass that, jint arg0, jfloatArray arg1)
-{
- jfloat *lparg1=NULL;
- OS_NATIVE_ENTER(env, that, CGContextGetCTM_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetFloatArrayElements(env, arg1, NULL)) == NULL) goto fail;
- *(CGAffineTransform *)lparg1 = CGContextGetCTM((CGContextRef)arg0);
-fail:
- if (arg1 && lparg1) (*env)->ReleaseFloatArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, CGContextGetCTM_FUNC);
-}
-#endif
-
-#ifndef NO_CGContextGetPathBoundingBox
-JNIEXPORT void JNICALL OS_NATIVE(CGContextGetPathBoundingBox)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1)
-{
- CGRect _arg1, *lparg1=NULL;
- OS_NATIVE_ENTER(env, that, CGContextGetPathBoundingBox_FUNC);
- if (arg1) if ((lparg1 = getCGRectFields(env, arg1, &_arg1)) == NULL) goto fail;
- *lparg1 = CGContextGetPathBoundingBox((CGContextRef)arg0);
-fail:
- if (arg1 && lparg1) setCGRectFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, CGContextGetPathBoundingBox_FUNC);
-}
-#endif
-
-#ifndef NO_CGContextGetTextPosition
-JNIEXPORT void JNICALL OS_NATIVE(CGContextGetTextPosition)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1)
-{
- CGPoint _arg1, *lparg1=NULL;
- OS_NATIVE_ENTER(env, that, CGContextGetTextPosition_FUNC)
- if (arg1) if ((lparg1 = getCGPointFields(env, arg1, &_arg1)) == NULL) goto failTag;
- *lparg1 = CGContextGetTextPosition((CGContextRef)arg0);
-failTag:
- if (arg1 && lparg1) setCGPointFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, CGContextGetTextPosition_FUNC)
-}
-#endif
-
-#ifndef NO_CGDisplayBounds
-JNIEXPORT void JNICALL OS_NATIVE(CGDisplayBounds)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1)
-{
- CGRect _arg1, *lparg1=NULL;
- OS_NATIVE_ENTER(env, that, CGDisplayBounds_FUNC);
- if (arg1) if ((lparg1 = getCGRectFields(env, arg1, &_arg1)) == NULL) goto fail;
- *lparg1 = CGDisplayBounds((CGDirectDisplayID)arg0);
-fail:
- if (arg1 && lparg1) setCGRectFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, CGDisplayBounds_FUNC);
-}
-#endif
-
-#ifndef NO_CGPathGetBoundingBox
-JNIEXPORT void JNICALL OS_NATIVE(CGPathGetBoundingBox)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1)
-{
- CGRect _arg1, *lparg1=NULL;
- OS_NATIVE_ENTER(env, that, CGPathGetBoundingBox_FUNC);
- if (arg1) if ((lparg1 = getCGRectFields(env, arg1, &_arg1)) == NULL) goto fail;
- *lparg1 = CGPathGetBoundingBox((CGPathRef)arg0);
-fail:
- if (arg1 && lparg1) setCGRectFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, CGPathGetBoundingBox_FUNC);
-}
-#endif
-
-#ifndef NO_CGPathGetCurrentPoint
-JNIEXPORT void JNICALL OS_NATIVE(CGPathGetCurrentPoint)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1)
-{
- CGPoint _arg1, *lparg1=NULL;
- OS_NATIVE_ENTER(env, that, CGPathGetCurrentPoint_FUNC);
- if (arg1) if ((lparg1 = getCGPointFields(env, arg1, &_arg1)) == NULL) goto fail;
- *lparg1 = CGPathGetCurrentPoint((CGPathRef)arg0);
-fail:
- if (arg1 && lparg1) setCGPointFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, CGPathGetCurrentPoint_FUNC);
-}
-#endif
-
-#ifndef NO_CGPointApplyAffineTransform
-JNIEXPORT void JNICALL OS_NATIVE(CGPointApplyAffineTransform)
- (JNIEnv *env, jclass that, jobject arg0, jfloatArray arg1, jobject arg2)
-{
- CGPoint _arg0, *lparg0=NULL;
- jfloat *lparg1=NULL;
- CGPoint _arg2, *lparg2=NULL;
- OS_NATIVE_ENTER(env, that, CGPointApplyAffineTransform_FUNC);
- if (arg0) if ((lparg0 = getCGPointFields(env, arg0, &_arg0)) == NULL) goto fail;
- if (arg1) if ((lparg1 = (*env)->GetFloatArrayElements(env, arg1, NULL)) == NULL) goto fail;
- if (arg2) if ((lparg2 = getCGPointFields(env, arg2, &_arg2)) == NULL) goto fail;
- *(CGPoint *)lparg2 = CGPointApplyAffineTransform(*(CGPoint *)lparg0, *(CGAffineTransform *)lparg1);
-fail:
- if (arg2 && lparg2) setCGPointFields(env, arg2, lparg2);
- if (arg1 && lparg1) (*env)->ReleaseFloatArrayElements(env, arg1, lparg1, JNI_ABORT);
- OS_NATIVE_EXIT(env, that, CGPointApplyAffineTransform_FUNC);
-}
-#endif
-
-#ifndef NO_CGSizeApplyAffineTransform
-JNIEXPORT void JNICALL OS_NATIVE(CGSizeApplyAffineTransform)
- (JNIEnv *env, jclass that, jobject arg0, jfloatArray arg1, jobject arg2)
-{
- CGSize _arg0, *lparg0=NULL;
- jfloat *lparg1=NULL;
- CGSize _arg2, *lparg2=NULL;
- OS_NATIVE_ENTER(env, that, CGSizeApplyAffineTransform_FUNC);
- if (arg0) if ((lparg0 = getCGSizeFields(env, arg0, &_arg0)) == NULL) goto fail;
- if (arg1) if ((lparg1 = (*env)->GetFloatArrayElements(env, arg1, NULL)) == NULL) goto fail;
- if (arg2) if ((lparg2 = getCGSizeFields(env, arg2, &_arg2)) == NULL) goto fail;
- *(CGSize *)lparg2 = CGSizeApplyAffineTransform(*(CGSize *)lparg0, *(CGAffineTransform *)lparg1);
-fail:
- if (arg2 && lparg2) setCGSizeFields(env, arg2, lparg2);
- if (arg1 && lparg1) (*env)->ReleaseFloatArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, CGSizeApplyAffineTransform_FUNC);
-}
-#endif
-
-#ifndef NO__1_1BIG_1ENDIAN_1_1
-JNIEXPORT jboolean JNICALL OS_NATIVE(_1_1BIG_1ENDIAN_1_1)
- (JNIEnv *env, jclass that)
-{
- jboolean rc;
- OS_NATIVE_ENTER(env, that, _1_1BIG_1ENDIAN_1_1_FUNC)
-#ifdef __BIG_ENDIAN__
- rc = (jboolean)TRUE;
-#else
- rc = (jboolean)FALSE;
-#endif
- OS_NATIVE_EXIT(env, that, _1_1BIG_1ENDIAN_1_1_FUNC)
- return rc;
-}
-#endif
-
-#ifndef QDPictGetBounds
-JNIEXPORT void JNICALL OS_NATIVE(QDPictGetBounds)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1)
-{
- CGRect _arg1, *lparg1=NULL;
- OS_NATIVE_ENTER(env, that, QDPictGetBounds_FUNC);
- if (arg1) if ((lparg1 = getCGRectFields(env, arg1, &_arg1)) == NULL) goto fail;
- *lparg1 = QDPictGetBounds((QDPictRef)arg0);
-fail:
- if (arg1 && lparg1) setCGRectFields(env, arg1, lparg1);
- OS_NATIVE_EXIT(env, that, QDPictGetBounds_FUNC);
-}
-#endif \ No newline at end of file
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os_custom.h b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os_custom.h
deleted file mode 100644
index c94b2fb581..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os_custom.h
+++ /dev/null
@@ -1,34 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2008 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-
-/* Libraries for dynamic loaded functions */
-#define CGBitmapContextCreateImage_LIB "com.apple.Carbon"
-#define CGImageCreateWithImageInRect_LIB "com.apple.Carbon"
-#define CGContextSetBlendMode_LIB "com.apple.Carbon"
-#define DataBrowserChangeAttributes_LIB "com.apple.Carbon"
-#define DataBrowserGetAttributes_LIB "com.apple.Carbon"
-#define DataBrowserGetMetric_LIB "com.apple.Carbon"
-#define DataBrowserSetMetric_LIB "com.apple.Carbon"
-#define GetIconRefFromIconFamilyPtr_LIB "com.apple.Carbon"
-#define HIComboBoxSetListVisible_LIB "com.apple.Carbon"
-#define HIComboBoxIsListVisible_LIB "com.apple.Carbon"
-#define HICreateTransformedCGImage_LIB "com.apple.Carbon"
-#define HIThemeSetFill_LIB "com.apple.Carbon"
-#define HIThemeSetTextFill_LIB "com.apple.Carbon"
-#define LSCopyAllRoleHandlersForContentType_LIB "com.apple.Carbon"
-#define LSOpenItemsWithRole_LIB "com.apple.Carbon"
-#define NavDialogSetFilterTypeIdentifiers_LIB "com.apple.Carbon"
-#define HIShapeCreateWithQDRgn_LIB "com.apple.Carbon"
-#define HIShapeReplacePathInCGContext_LIB "com.apple.Carbon"
-#define AXUIElementGetDataBrowserItemInfo_LIB "com.apple.Carbon"
-#define AXUIElementCreateWithDataBrowserAndItemInfo_LIB "com.apple.Carbon"
-#define PMPrinterGetOutputResolution_LIB "com.apple.Carbon"
-#define PMShowPrintDialogWithOptions_LIB "com.apple.Carbon"
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os_stats.c b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os_stats.c
deleted file mode 100644
index a085d6876b..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os_stats.c
+++ /dev/null
@@ -1,1027 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2009 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-
-#include "swt.h"
-#include "os_stats.h"
-
-#ifdef NATIVE_STATS
-
-int OS_nativeFunctionCount = 985;
-int OS_nativeFunctionCallCount[985];
-char * OS_nativeFunctionNames[] = {
- "AECoerceDesc",
- "AECountItems",
- "AECreateDesc",
- "AEDisposeDesc",
- "AEGetDescData",
- "AEGetNthPtr",
- "AEInstallEventHandler",
- "AEProcessAppleEvent",
- "ATSFontActivateFromFileSpecification",
- "ATSFontDeactivate",
- "ATSFontFindFromName",
- "ATSFontGetHorizontalMetrics",
- "ATSFontGetName",
- "ATSFontGetPostScriptName",
- "ATSFontGetVerticalMetrics",
- "ATSFontIteratorCreate",
- "ATSFontIteratorNext",
- "ATSFontIteratorRelease",
- "ATSUBatchBreakLines",
- "ATSUCreateStyle",
- "ATSUCreateTextLayout",
- "ATSUCreateTextLayoutWithTextPtr",
- "ATSUDirectGetLayoutDataArrayPtrFromTextLayout",
- "ATSUDirectReleaseLayoutDataArrayPtr",
- "ATSUDisposeStyle",
- "ATSUDisposeTextLayout",
- "ATSUDrawText",
- "ATSUFindFontFromName",
- "ATSUFindFontName",
- "ATSUGetFontIDs",
- "ATSUGetGlyphBounds__IIIIISII_3I",
- "ATSUGetGlyphBounds__IIIIISILorg_eclipse_swt_internal_carbon_ATSTrapezoid_2_3I",
- "ATSUGetLayoutControl",
- "ATSUGetLineControl",
- "ATSUGetSoftLineBreaks",
- "ATSUGetTextHighlight",
- "ATSUGetUnjustifiedBounds",
- "ATSUGlyphGetQuadraticPaths",
- "ATSUHighlightText",
- "ATSUNextCursorPosition",
- "ATSUOffsetToPosition",
- "ATSUPositionToOffset",
- "ATSUPreviousCursorPosition",
- "ATSUSetAttributes",
- "ATSUSetFontFeatures",
- "ATSUSetHighlightingMethod",
- "ATSUSetLayoutControls",
- "ATSUSetLineControls",
- "ATSUSetRunStyle",
- "ATSUSetSoftLineBreak",
- "ATSUSetTabArray",
- "ATSUSetTextPointerLocation",
- "ATSUSetTransientFontMatching",
- "ATSUTextDeleted",
- "ATSUTextInserted",
- "AXNotificationHIObjectNotify",
- "AXUIElementCopyAttributeValue",
- "AXUIElementCreateWithDataBrowserAndItemInfo",
- "AXUIElementCreateWithHIObjectAndIdentifier",
- "AXUIElementGetDataBrowserItemInfo",
- "AXUIElementGetHIObject",
- "AXUIElementGetIdentifier",
- "AXValueCreate",
- "AXValueGetValue",
- "AcquireFirstMatchingEventInQueue",
- "ActivateTSMDocument",
- "ActiveNonFloatingWindow",
- "AddDataBrowserItems",
- "AddDataBrowserListViewColumn",
- "AddDragItemFlavor",
- "AppendMenuItemTextWithCFString",
- "AutoSizeDataBrowserListViewColumns",
- "BringToFront",
- "CFArrayAppendValue",
- "CFArrayCreateMutable",
- "CFArrayGetCount",
- "CFArrayGetValueAtIndex",
- "CFDataGetBytePtr",
- "CFDataGetBytes",
- "CFDataGetLength",
- "CFDictionaryGetValueIfPresent",
- "CFEqual",
- "CFLocaleCopyCurrent",
- "CFNumberFormatterCopyProperty",
- "CFNumberFormatterCreate",
- "CFRelease",
- "CFRetain",
- "CFRunLoopAddObserver",
- "CFRunLoopAddSource",
- "CFRunLoopObserverCreate",
- "CFRunLoopObserverInvalidate",
- "CFRunLoopRunInMode",
- "CFRunLoopSourceCreate",
- "CFRunLoopSourceInvalidate",
- "CFRunLoopSourceSignal",
- "CFRunLoopStop",
- "CFRunLoopWakeUp",
- "CFStringCreateWithBytes",
- "CFStringCreateWithCharacters__III",
- "CFStringCreateWithCharacters__I_3CI",
- "CFStringGetBytes",
- "CFStringGetCharacters",
- "CFStringGetLength",
- "CFStringGetSystemEncoding",
- "CFURLCopyFileSystemPath",
- "CFURLCopyLastPathComponent",
- "CFURLCopyPathExtension",
- "CFURLCreateCopyAppendingPathComponent",
- "CFURLCreateCopyDeletingLastPathComponent",
- "CFURLCreateData",
- "CFURLCreateFromFSRef",
- "CFURLCreateFromFileSystemRepresentation",
- "CFURLCreateStringByAddingPercentEscapes",
- "CFURLCreateStringByReplacingPercentEscapes",
- "CFURLCreateWithBytes",
- "CFURLCreateWithFileSystemPath",
- "CFURLCreateWithString",
- "CFURLGetFSRef",
- "CGAffineTransformConcat",
- "CGAffineTransformInvert",
- "CGAffineTransformMake",
- "CGAffineTransformRotate",
- "CGAffineTransformScale",
- "CGAffineTransformTranslate",
- "CGBitmapContextCreate",
- "CGBitmapContextCreateImage",
- "CGColorCreate",
- "CGColorRelease",
- "CGColorSpaceCreateDeviceRGB",
- "CGColorSpaceCreatePattern",
- "CGColorSpaceRelease",
- "CGContextAddArc",
- "CGContextAddArcToPoint",
- "CGContextAddLineToPoint",
- "CGContextAddLines",
- "CGContextAddPath",
- "CGContextAddRect",
- "CGContextBeginPath",
- "CGContextClearRect",
- "CGContextClip",
- "CGContextClosePath",
- "CGContextConcatCTM",
- "CGContextDrawImage",
- "CGContextDrawShading",
- "CGContextEOClip",
- "CGContextEOFillPath",
- "CGContextFillPath",
- "CGContextFillRect",
- "CGContextFlush",
- "CGContextGetCTM",
- "CGContextGetInterpolationQuality",
- "CGContextGetPathBoundingBox",
- "CGContextGetTextPosition",
- "CGContextMoveToPoint",
- "CGContextRelease",
- "CGContextRestoreGState",
- "CGContextRotateCTM",
- "CGContextSaveGState",
- "CGContextScaleCTM",
- "CGContextSelectFont",
- "CGContextSetAlpha",
- "CGContextSetBlendMode",
- "CGContextSetFillColor",
- "CGContextSetFillColorSpace",
- "CGContextSetFillPattern",
- "CGContextSetFont",
- "CGContextSetFontSize",
- "CGContextSetInterpolationQuality",
- "CGContextSetLineCap",
- "CGContextSetLineDash",
- "CGContextSetLineJoin",
- "CGContextSetLineWidth",
- "CGContextSetMiterLimit",
- "CGContextSetRGBFillColor",
- "CGContextSetRGBStrokeColor",
- "CGContextSetRenderingIntent",
- "CGContextSetShouldAntialias",
- "CGContextSetShouldSmoothFonts",
- "CGContextSetStrokeColor",
- "CGContextSetStrokeColorSpace",
- "CGContextSetStrokePattern",
- "CGContextSetTextDrawingMode",
- "CGContextSetTextMatrix",
- "CGContextSetTextPosition",
- "CGContextShowText",
- "CGContextShowTextAtPoint",
- "CGContextStrokePath",
- "CGContextStrokeRect",
- "CGContextSynchronize",
- "CGContextTranslateCTM",
- "CGCursorIsVisible",
- "CGDataProviderCreateWithData",
- "CGDataProviderCreateWithURL",
- "CGDataProviderRelease",
- "CGDisplayBaseAddress",
- "CGDisplayBitsPerPixel",
- "CGDisplayBitsPerSample",
- "CGDisplayBounds",
- "CGDisplayBytesPerRow",
- "CGDisplayHideCursor",
- "CGDisplayPixelsHigh",
- "CGDisplayPixelsWide",
- "CGDisplayShowCursor",
- "CGFontCreateWithPlatformFont",
- "CGFontRelease",
- "CGFunctionCreate",
- "CGFunctionRelease",
- "CGGetDisplaysWithRect",
- "CGImageCreate",
- "CGImageCreateWithImageInRect",
- "CGImageCreateWithJPEGDataProvider",
- "CGImageCreateWithPNGDataProvider",
- "CGImageGetAlphaInfo",
- "CGImageGetBitsPerComponent",
- "CGImageGetBitsPerPixel",
- "CGImageGetBytesPerRow",
- "CGImageGetColorSpace",
- "CGImageGetDataProvider",
- "CGImageGetHeight",
- "CGImageGetWidth",
- "CGImageRelease",
- "CGMainDisplayID",
- "CGPathAddArc",
- "CGPathAddCurveToPoint",
- "CGPathAddLineToPoint",
- "CGPathAddPath",
- "CGPathAddQuadCurveToPoint",
- "CGPathAddRect",
- "CGPathApply",
- "CGPathCloseSubpath",
- "CGPathCreateMutable",
- "CGPathCreateMutableCopy",
- "CGPathGetBoundingBox",
- "CGPathGetCurrentPoint",
- "CGPathIsEmpty",
- "CGPathMoveToPoint",
- "CGPathRelease",
- "CGPatternCreate",
- "CGPatternRelease",
- "CGPointApplyAffineTransform",
- "CGPostKeyboardEvent",
- "CGPostMouseEvent",
- "CGPostScrollWheelEvent",
- "CGRectContainsPoint",
- "CGShadingCreateAxial",
- "CGShadingCreateRadial",
- "CGShadingRelease",
- "CGSizeApplyAffineTransform",
- "CGWarpMouseCursorPosition",
- "CPSEnableForegroundOperation",
- "CPSSetProcessName",
- "CalcMenuSize",
- "Call",
- "CallNextEventHandler",
- "CancelMenuTracking",
- "ChangeMenuItemAttributes",
- "ChangeWindowAttributes",
- "ClearCurrentScrap",
- "ClearKeyboardFocus",
- "ClearMenuBar",
- "ClipCGContextToRegion",
- "CloseDataBrowserContainer",
- "ClosePicture",
- "CloseRgn",
- "CollapseWindow",
- "ContextualMenuSelect",
- "ConvertEventRefToEventRecord",
- "ConvertFromPStringToUnicode",
- "ConvertFromUnicodeToPString",
- "CopyBits",
- "CopyControlTitleAsCFString",
- "CopyMenuItemTextAsCFString",
- "CopyRgn",
- "CountDragItemFlavors",
- "CountDragItems",
- "CountMenuItems",
- "CountSubControls",
- "CreateBevelButtonControl",
- "CreateCGContextForPort",
- "CreateCheckBoxControl",
- "CreateClockControl",
- "CreateDataBrowserControl",
- "CreateEditUnicodeTextControl",
- "CreateEvent",
- "CreateGroupBoxControl",
- "CreateIconControl",
- "CreateLittleArrowsControl",
- "CreateNewMenu",
- "CreateNewWindow",
- "CreatePopupArrowControl",
- "CreatePopupButtonControl",
- "CreateProgressBarControl",
- "CreatePushButtonControl",
- "CreatePushButtonWithIconControl",
- "CreateRadioButtonControl",
- "CreateRootControl",
- "CreateScrollBarControl",
- "CreateSeparatorControl",
- "CreateSliderControl",
- "CreateStandardAlert",
- "CreateStaticTextControl",
- "CreateTabsControl",
- "CreateTextToUnicodeInfoByEncoding",
- "CreateUnicodeToTextInfoByEncoding",
- "CreateUserPaneControl",
- "CreateWindowGroup",
- "DataBrowserChangeAttributes",
- "DataBrowserGetAttributes",
- "DataBrowserGetMetric",
- "DataBrowserSetMetric",
- "DeactivateTSMDocument",
- "DeleteGlobalRef",
- "DeleteMenu",
- "DeleteMenuItem",
- "DeleteMenuItems",
- "DeleteTSMDocument",
- "DiffRgn",
- "DisableControl",
- "DisableMenuCommand",
- "DisableMenuItem",
- "DisposeControl",
- "DisposeDrag",
- "DisposeGWorld",
- "DisposeHandle",
- "DisposeMenu",
- "DisposePtr",
- "DisposeRgn",
- "DisposeTextToUnicodeInfo",
- "DisposeUnicodeToTextInfo",
- "DisposeWindow",
- "DrawControlInCurrentPort",
- "DrawMenuBar",
- "DrawPicture",
- "DrawThemeButton",
- "DrawThemeEditTextFrame",
- "DrawThemeFocusRect",
- "DrawThemePopupArrow",
- "DrawThemeSeparator",
- "DrawThemeTextBox",
- "EmbedControl",
- "EmptyRect",
- "EmptyRgn",
- "EnableControl",
- "EnableMenuCommand",
- "EnableMenuItem",
- "EraseRect",
- "FMGetATSFontRefFromFont",
- "FMGetFontFamilyFromName",
- "FMGetFontFamilyInstanceFromFont",
- "FMGetFontFromATSFontRef",
- "FMGetFontFromFontFamilyInstance",
- "FPIsFontPanelVisible",
- "FPShowHideFontPanel",
- "FSGetCatalogInfo",
- "FSpGetFInfo",
- "FSpMakeFSRef",
- "FindSpecificEventInQueue",
- "FindWindow",
- "Fix2Long",
- "Fix2X",
- "FixTSMDocument",
- "FrontWindow",
- "Gestalt",
- "GetApplicationEventTarget",
- "GetAvailableWindowAttributes",
- "GetAvailableWindowPositioningBounds",
- "GetBestControlRect",
- "GetCFRunLoopFromEventLoop",
- "GetCaretTime",
- "GetClip",
- "GetControl32BitMaximum",
- "GetControl32BitMinimum",
- "GetControl32BitValue",
- "GetControlAction",
- "GetControlBounds",
- "GetControlData__ISIILorg_eclipse_swt_internal_carbon_ControlEditTextSelectionRec_2_3I",
- "GetControlData__ISIILorg_eclipse_swt_internal_carbon_ControlFontStyleRec_2_3I",
- "GetControlData__ISIILorg_eclipse_swt_internal_carbon_LongDateRec_2_3I",
- "GetControlData__ISIILorg_eclipse_swt_internal_carbon_Rect_2_3I",
- "GetControlData__ISII_3B_3I",
- "GetControlData__ISII_3I_3I",
- "GetControlData__ISII_3S_3I",
- "GetControlEventTarget",
- "GetControlFeatures",
- "GetControlKind",
- "GetControlOwner",
- "GetControlProperty",
- "GetControlReference",
- "GetControlRegion",
- "GetControlValue",
- "GetControlViewSize",
- "GetCurrentEventButtonState",
- "GetCurrentEventKeyModifiers",
- "GetCurrentEventLoop",
- "GetCurrentEventQueue",
- "GetCurrentProcess",
- "GetCurrentScrap",
- "GetDataBrowserCallbacks",
- "GetDataBrowserHasScrollBars",
- "GetDataBrowserItemCount",
- "GetDataBrowserItemDataButtonValue",
- "GetDataBrowserItemPartBounds",
- "GetDataBrowserItemState",
- "GetDataBrowserItems",
- "GetDataBrowserListViewDisclosureColumn",
- "GetDataBrowserListViewHeaderBtnHeight",
- "GetDataBrowserListViewHeaderDesc",
- "GetDataBrowserPropertyFlags",
- "GetDataBrowserScrollBarInset",
- "GetDataBrowserScrollPosition",
- "GetDataBrowserSelectionAnchor",
- "GetDataBrowserSelectionFlags",
- "GetDataBrowserSortProperty",
- "GetDataBrowserTableViewColumnPosition",
- "GetDataBrowserTableViewItemID",
- "GetDataBrowserTableViewItemRow",
- "GetDataBrowserTableViewNamedColumnWidth",
- "GetDataBrowserTableViewRowHeight",
- "GetDblTime",
- "GetDeviceList",
- "GetDragAllowableActions",
- "GetDragDropAction",
- "GetDragItemReferenceNumber",
- "GetDragModifiers",
- "GetDragMouse",
- "GetEventClass",
- "GetEventDispatcherTarget",
- "GetEventKind",
- "GetEventParameter__III_3II_3II",
- "GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_CGPoint_2",
- "GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_CGRect_2",
- "GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_HICommand_2",
- "GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_Point_2",
- "GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_RGBColor_2",
- "GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_Rect_2",
- "GetEventParameter__III_3II_3I_3B",
- "GetEventParameter__III_3II_3I_3C",
- "GetEventParameter__III_3II_3I_3I",
- "GetEventParameter__III_3II_3I_3S",
- "GetEventParameter__III_3II_3I_3Z",
- "GetEventTime",
- "GetFlavorData",
- "GetFlavorDataSize",
- "GetFlavorType",
- "GetFrontProcess",
- "GetGWorld",
- "GetGlobalMouse",
- "GetHandleSize",
- "GetIconFamilyData",
- "GetIconRef",
- "GetIconRefFromFileInfo",
- "GetIconRefFromIconFamilyPtr",
- "GetIndMenuItemWithCommandID",
- "GetIndexedSubControl",
- "GetItemMark",
- "GetKeyboardFocus",
- "GetLastUserEventTime",
- "GetMBarHeight",
- "GetMainDevice",
- "GetMainEventQueue",
- "GetMenuCommandMark",
- "GetMenuEventTarget",
- "GetMenuFont",
- "GetMenuHeight",
- "GetMenuID",
- "GetMenuItemCommandID",
- "GetMenuItemHierarchicalMenu",
- "GetMenuItemRefCon",
- "GetMenuTrackingData",
- "GetMenuWidth",
- "GetMouse",
- "GetNextDevice",
- "GetNextWindow",
- "GetPixDepth",
- "GetPort",
- "GetPortBitMapForCopyBits",
- "GetPortBounds",
- "GetPreviousWindow",
- "GetPtrSize",
- "GetRegionBounds",
- "GetRootControl",
- "GetScrapFlavorCount",
- "GetScrapFlavorData__II_3I_3B",
- "GetScrapFlavorData__II_3I_3C",
- "GetScrapFlavorInfoList",
- "GetScrapFlavorSize",
- "GetScriptManagerVariable",
- "GetSuperControl",
- "GetSystemUIMode",
- "GetTabContentRect",
- "GetThemeBrushAsColor",
- "GetThemeButtonContentBounds",
- "GetThemeButtonRegion",
- "GetThemeDrawingState",
- "GetThemeFont",
- "GetThemeMenuItemExtra",
- "GetThemeMetric",
- "GetThemeTextColor",
- "GetThemeTextDimensions",
- "GetUserFocusEventTarget",
- "GetUserFocusWindow",
- "GetWindowActivationScope",
- "GetWindowAlpha",
- "GetWindowBounds",
- "GetWindowClass",
- "GetWindowDefaultButton",
- "GetWindowEventTarget",
- "GetWindowFromPort",
- "GetWindowGroupOfClass",
- "GetWindowList",
- "GetWindowModality",
- "GetWindowPort",
- "GetWindowRegion",
- "GetWindowResizeLimits",
- "GetWindowStructureWidths",
- "HIComboBoxAppendTextItem",
- "HIComboBoxCopyTextItemAtIndex",
- "HIComboBoxCreate",
- "HIComboBoxGetItemCount",
- "HIComboBoxInsertTextItemAtIndex",
- "HIComboBoxIsListVisible",
- "HIComboBoxRemoveItemAtIndex",
- "HIComboBoxSetListVisible",
- "HICopyAccessibilityRoleDescription",
- "HICreateTransformedCGImage",
- "HIObjectCopyClassID",
- "HIObjectCreate",
- "HIObjectRegisterSubclass",
- "HIObjectSetAccessibilityIgnored",
- "HIObjectSetAuxiliaryAccessibilityAttribute",
- "HIScrollViewCreate",
- "HIScrollViewSetScrollBarAutoHide",
- "HISearchFieldChangeAttributes",
- "HISearchFieldCopyDescriptiveText",
- "HISearchFieldCreate",
- "HISearchFieldGetAttributes",
- "HISearchFieldSetDescriptiveText",
- "HIShapeCreateWithQDRgn",
- "HIShapeReplacePathInCGContext",
- "HITextViewCreate",
- "HITextViewGetTXNObject",
- "HITextViewSetBackgroundColor",
- "HIThemeDrawBackground",
- "HIThemeDrawButton",
- "HIThemeDrawFocusRect",
- "HIThemeDrawFrame",
- "HIThemeDrawGenericWell",
- "HIThemeDrawGroupBox",
- "HIThemeDrawGrowBox",
- "HIThemeDrawPopupArrow",
- "HIThemeDrawSeparator",
- "HIThemeDrawTab",
- "HIThemeDrawTabPane",
- "HIThemeDrawTextBox",
- "HIThemeDrawTrack",
- "HIThemeGetButtonBackgroundBounds",
- "HIThemeGetButtonContentBounds",
- "HIThemeGetScrollBarTrackRect",
- "HIThemeGetTextDimensions",
- "HIThemeGetTrackBounds",
- "HIThemeGetTrackLiveValue",
- "HIThemeGetTrackPartBounds",
- "HIThemeGetTrackThumbPositionFromBounds",
- "HIThemeGetTrackThumbPositionFromOffset",
- "HIThemeHitTestScrollBarArrows",
- "HIThemeHitTestTrack",
- "HIThemeSetFill",
- "HIThemeSetTextFill",
- "HIViewAddSubview",
- "HIViewChangeAttributes",
- "HIViewChangeFeatures",
- "HIViewClick",
- "HIViewConvertPoint",
- "HIViewConvertRect",
- "HIViewConvertRegion",
- "HIViewCreateOffscreenImage",
- "HIViewDrawCGImage",
- "HIViewFindByID",
- "HIViewGetBounds",
- "HIViewGetFeatures",
- "HIViewGetFirstSubview",
- "HIViewGetFrame",
- "HIViewGetLastSubview",
- "HIViewGetLayoutInfo",
- "HIViewGetNeedsDisplay",
- "HIViewGetNextView",
- "HIViewGetRoot",
- "HIViewGetSizeConstraints",
- "HIViewGetSubviewHit",
- "HIViewGetSuperview",
- "HIViewGetViewForMouseEvent",
- "HIViewIsDrawingEnabled",
- "HIViewIsVisible",
- "HIViewRegionChanged",
- "HIViewRemoveFromSuperview",
- "HIViewRender",
- "HIViewScrollRect",
- "HIViewSetBoundsOrigin",
- "HIViewSetDrawingEnabled",
- "HIViewSetFrame",
- "HIViewSetLayoutInfo",
- "HIViewSetNeedsDisplay",
- "HIViewSetNeedsDisplayInRegion",
- "HIViewSetVisible",
- "HIViewSetZOrder",
- "HIViewSimulateClick",
- "HIWindowFlush",
- "HIWindowIsDocumentModalTarget",
- "HLock",
- "HMDisplayTag",
- "HMGetTagDelay",
- "HMHideTag",
- "HMInstallControlContentCallback",
- "HMSetTagDelay",
- "HUnlock",
- "HandleControlClick",
- "HandleControlSetCursor",
- "HiWord",
- "HideWindow",
- "HiliteMenu",
- "IconRefToIconFamily",
- "InitContextualMenus",
- "InitCursor",
- "InitDataBrowserCallbacks",
- "InitDataBrowserCustomCallbacks",
- "InsertMenu",
- "InsertMenuItemTextWithCFString",
- "InstallEventHandler",
- "InstallEventLoopIdleTimer",
- "InstallEventLoopTimer",
- "InstallReceiveHandler",
- "InstallTrackingHandler",
- "InvalWindowRect",
- "InvalWindowRgn",
- "InvertRect",
- "IsControlActive",
- "IsControlEnabled",
- "IsControlVisible",
- "IsDataBrowserItemSelected",
- "IsEventInQueue",
- "IsMenuCommandEnabled",
- "IsMenuItemEnabled",
- "IsMenuKeyEvent",
- "IsValidControlHandle",
- "IsValidMenu",
- "IsValidWindowPtr",
- "IsWindowActive",
- "IsWindowCollapsed",
- "IsWindowModified",
- "IsWindowVisible",
- "JNIGetObject",
- "KLGetCurrentKeyboardLayout",
- "KLGetKeyboardLayoutProperty",
- "KeyTranslate",
- "KillPicture",
- "LMGetKbdType",
- "LSCopyAllRoleHandlersForContentType",
- "LSCopyDisplayNameForRef",
- "LSFindApplicationForInfo",
- "LSGetApplicationForInfo",
- "LSOpenApplication",
- "LSOpenCFURLRef",
- "LSOpenURLsWithRole",
- "LineTo",
- "LoWord",
- "Long2Fix",
- "MenuSelect",
- "MoveControl",
- "MoveTo",
- "MoveWindow",
- "NavCreateChooseFolderDialog",
- "NavCreateGetFileDialog",
- "NavCreatePutFileDialog",
- "NavCustomControl__IILorg_eclipse_swt_internal_carbon_AEDesc_2",
- "NavCustomControl__IILorg_eclipse_swt_internal_carbon_NavMenuItemSpec_2",
- "NavDialogDispose",
- "NavDialogGetReply",
- "NavDialogGetSaveFileName",
- "NavDialogGetUserAction",
- "NavDialogRun",
- "NavDialogSetFilterTypeIdentifiers",
- "NavDialogSetSaveFileName",
- "NavDisposeReply",
- "NavGetDefaultDialogCreationOptions",
- "NewControl",
- "NewDrag",
- "NewGWorldFromPtr",
- "NewGlobalRef",
- "NewHandle",
- "NewHandleClear",
- "NewPtr",
- "NewPtrClear",
- "NewRgn",
- "NewTSMDocument",
- "OffsetRect",
- "OffsetRgn",
- "OpenDataBrowserContainer",
- "OpenPicture",
- "OpenRgn",
- "PMCreatePageFormat",
- "PMCreatePrintSettings",
- "PMCreateSession",
- "PMFlattenPageFormat",
- "PMFlattenPrintSettings",
- "PMGetAdjustedPageRect",
- "PMGetAdjustedPaperRect",
- "PMGetCollate",
- "PMGetCopies",
- "PMGetFirstPage",
- "PMGetJobNameCFString",
- "PMGetLastPage",
- "PMGetOrientation",
- "PMGetPageRange",
- "PMGetResolution",
- "PMPrinterGetOutputResolution",
- "PMRelease",
- "PMSessionBeginDocumentNoDialog",
- "PMSessionBeginPageNoDialog",
- "PMSessionCopyDestinationLocation",
- "PMSessionCreatePrinterList",
- "PMSessionDefaultPageFormat",
- "PMSessionDefaultPrintSettings",
- "PMSessionEndDocumentNoDialog",
- "PMSessionEndPageNoDialog",
- "PMSessionError",
- "PMSessionGetCurrentPrinter",
- "PMSessionGetDestinationType",
- "PMSessionGetGraphicsContext",
- "PMSessionPageSetupDialog",
- "PMSessionPrintDialog",
- "PMSessionSetCurrentPrinter",
- "PMSessionSetDestination",
- "PMSessionSetDocumentFormatGeneration",
- "PMSessionSetError",
- "PMSessionUseSheets",
- "PMSessionValidatePageFormat",
- "PMSessionValidatePrintSettings",
- "PMSetCollate",
- "PMSetCopies",
- "PMSetFirstPage",
- "PMSetJobNameCFString",
- "PMSetLastPage",
- "PMSetOrientation",
- "PMSetPageRange",
- "PMShowPrintDialogWithOptions",
- "PMUnflattenPageFormat",
- "PMUnflattenPrintSettings",
- "PickColor",
- "PopUpMenuSelect",
- "PostEvent",
- "PostEventToQueue",
- "PtInRect",
- "PtInRgn",
- "PutScrapFlavor__IIII_3B",
- "PutScrapFlavor__IIII_3C",
- "QDBeginCGContext",
- "QDEndCGContext",
- "QDFlushPortBuffer",
- "QDPictCreateWithProvider",
- "QDPictDrawToCGContext",
- "QDPictGetBounds",
- "QDPictRelease",
- "QDRegionToRects",
- "RGBBackColor",
- "RGBForeColor",
- "ReadIconFile",
- "ReceiveNextEvent",
- "RectInRgn",
- "RectRgn",
- "RegisterAppearanceClient",
- "ReleaseEvent",
- "ReleaseIconRef",
- "ReleaseMenu",
- "ReleaseWindow",
- "ReleaseWindowGroup",
- "RemoveControlProperty",
- "RemoveDataBrowserItems",
- "RemoveDataBrowserTableViewColumn",
- "RemoveEventFromQueue",
- "RemoveEventHandler",
- "RemoveEventLoopTimer",
- "RemoveReceiveHandler",
- "RemoveTrackingHandler",
- "RepositionWindow",
- "ReshapeCustomWindow",
- "RestoreApplicationDockTileImage",
- "RetainEvent",
- "RetainMenu",
- "RetainWindow",
- "RevealDataBrowserItem",
- "RunStandardAlert",
- "SameProcess",
- "ScrollRect",
- "SectRect",
- "SectRgn",
- "SelectWindow",
- "SendBehind",
- "SendEventToEventTarget",
- "SendEventToEventTargetWithOptions",
- "SetApplicationDockTileImage",
- "SetAutomaticControlDragTrackingEnabledForWindow",
- "SetBevelButtonContentInfo",
- "SetClip",
- "SetControl32BitMaximum",
- "SetControl32BitMinimum",
- "SetControl32BitValue",
- "SetControlAction",
- "SetControlBounds",
- "SetControlColorProc",
- "SetControlData__IIIII",
- "SetControlData__IIIILorg_eclipse_swt_internal_carbon_ControlButtonContentInfo_2",
- "SetControlData__IIIILorg_eclipse_swt_internal_carbon_ControlEditTextSelectionRec_2",
- "SetControlData__IIIILorg_eclipse_swt_internal_carbon_ControlTabInfoRecV1_2",
- "SetControlData__IIIILorg_eclipse_swt_internal_carbon_LongDateRec_2",
- "SetControlData__IIIILorg_eclipse_swt_internal_carbon_Rect_2",
- "SetControlData__IIII_3B",
- "SetControlData__IIII_3I",
- "SetControlData__IIII_3S",
- "SetControlFontStyle",
- "SetControlPopupMenuHandle",
- "SetControlProperty",
- "SetControlReference",
- "SetControlTitleWithCFString",
- "SetControlViewSize",
- "SetControlVisibility",
- "SetCursor",
- "SetDataBrowserCallbacks",
- "SetDataBrowserCustomCallbacks",
- "SetDataBrowserHasScrollBars",
- "SetDataBrowserItemDataBooleanValue",
- "SetDataBrowserItemDataButtonValue",
- "SetDataBrowserItemDataIcon",
- "SetDataBrowserItemDataItemID",
- "SetDataBrowserItemDataText",
- "SetDataBrowserListViewDisclosureColumn",
- "SetDataBrowserListViewHeaderBtnHeight",
- "SetDataBrowserListViewHeaderDesc",
- "SetDataBrowserPropertyFlags",
- "SetDataBrowserScrollPosition",
- "SetDataBrowserSelectedItems",
- "SetDataBrowserSelectionFlags",
- "SetDataBrowserSortOrder",
- "SetDataBrowserSortProperty",
- "SetDataBrowserTableViewColumnPosition",
- "SetDataBrowserTableViewHiliteStyle",
- "SetDataBrowserTableViewItemRow",
- "SetDataBrowserTableViewNamedColumnWidth",
- "SetDataBrowserTableViewRowHeight",
- "SetDataBrowserTarget",
- "SetDragAllowableActions",
- "SetDragDropAction",
- "SetDragImageWithCGImage",
- "SetDragInputProc",
- "SetDragItemFlavorData",
- "SetDragSendProc",
- "SetEventLoopTimerNextFireTime",
- "SetEventParameter__IIIILorg_eclipse_swt_internal_carbon_CGPoint_2",
- "SetEventParameter__IIIILorg_eclipse_swt_internal_carbon_HICommand_2",
- "SetEventParameter__IIIILorg_eclipse_swt_internal_carbon_Point_2",
- "SetEventParameter__IIII_3C",
- "SetEventParameter__IIII_3I",
- "SetEventParameter__IIII_3S",
- "SetEventParameter__IIII_3Z",
- "SetFontInfoForSelection",
- "SetFrontProcess",
- "SetFrontProcessWithOptions",
- "SetGWorld",
- "SetHandleSize",
- "SetIconFamilyData",
- "SetItemMark",
- "SetKeyboardFocus",
- "SetMenuCommandMark",
- "SetMenuFont",
- "SetMenuItemCommandKey",
- "SetMenuItemHierarchicalMenu",
- "SetMenuItemIconHandle",
- "SetMenuItemKeyGlyph",
- "SetMenuItemModifiers",
- "SetMenuItemRefCon",
- "SetMenuItemTextWithCFString",
- "SetMenuTitleWithCFString",
- "SetPort",
- "SetPt",
- "SetRect",
- "SetRectRgn",
- "SetRootMenu",
- "SetSystemUIMode",
- "SetThemeBackground",
- "SetThemeCursor",
- "SetThemeDrawingState",
- "SetThemeTextColor",
- "SetThemeWindowBackground",
- "SetUpControlBackground",
- "SetUserFocusWindow",
- "SetWindowActivationScope",
- "SetWindowAlpha",
- "SetWindowBounds",
- "SetWindowDefaultButton",
- "SetWindowGroup",
- "SetWindowGroupOwner",
- "SetWindowGroupParent",
- "SetWindowModality",
- "SetWindowModified",
- "SetWindowResizeLimits",
- "SetWindowTitleWithCFString",
- "ShowWindow",
- "SizeControl",
- "SizeWindow",
- "StillDown",
- "SysBeep",
- "TXNCopy",
- "TXNCut",
- "TXNDataSize",
- "TXNDeleteObject",
- "TXNEchoMode",
- "TXNGetData",
- "TXNGetHIRect",
- "TXNGetLineCount",
- "TXNGetLineMetrics",
- "TXNGetSelection",
- "TXNGetTXNObjectControls",
- "TXNGetViewRect",
- "TXNHIPointToOffset",
- "TXNInitTextension",
- "TXNOffsetToHIPoint",
- "TXNPaste",
- "TXNSelectAll",
- "TXNSetBackground",
- "TXNSetData",
- "TXNSetFrameBounds",
- "TXNSetSelection",
- "TXNSetTXNObjectControls",
- "TXNSetTypeAttributes",
- "TXNShowSelection",
- "TextFace",
- "TextFont",
- "TextSize",
- "TrackDrag",
- "TrackMouseLocationWithOptions",
- "UCKeyTranslate",
- "UTTypeCreateAllIdentifiersForTag",
- "UTTypeCreatePreferredIdentifierForTag",
- "UnionRect",
- "UnionRgn",
- "UpdateDataBrowserItems",
- "UpgradeScriptInfoToTextEncoding",
- "UseInputWindow",
- "WaitMouseMoved",
- "X2Fix",
- "ZoomWindowIdeal",
- "_1_1BIG_1ENDIAN_1_1",
- "getpid",
- "kCFNumberFormatterDecimalSeparator",
- "kCFRunLoopCommonModes",
- "kCFRunLoopDefaultMode",
- "kFontPanelAttributeSizesKey",
- "kFontPanelAttributeTagsKey",
- "kFontPanelAttributeValuesKey",
- "kFontPanelAttributesKey",
- "kHIViewWindowContentID",
- "kPMDocumentFormatPDF",
- "kPMGraphicsContextCoreGraphics",
- "kUTTagClassFilenameExtension",
- "memmove__ILorg_eclipse_swt_internal_carbon_ATSUTab_2I",
- "memmove__ILorg_eclipse_swt_internal_carbon_BitMap_2I",
- "memmove__ILorg_eclipse_swt_internal_carbon_Cursor_2I",
- "memmove__ILorg_eclipse_swt_internal_carbon_HMHelpContentRec_2I",
- "memmove__ILorg_eclipse_swt_internal_carbon_PixMap_2I",
- "memmove__ILorg_eclipse_swt_internal_carbon_RGBColor_2I",
- "memmove__ILorg_eclipse_swt_internal_carbon_Rect_2I",
- "memmove__Lorg_eclipse_swt_internal_carbon_ATSLayoutRecord_2II",
- "memmove__Lorg_eclipse_swt_internal_carbon_ATSTrapezoid_2II",
- "memmove__Lorg_eclipse_swt_internal_carbon_CGPathElement_2II",
- "memmove__Lorg_eclipse_swt_internal_carbon_GDevice_2II",
- "memmove__Lorg_eclipse_swt_internal_carbon_HMHelpContentRec_2II",
- "memmove__Lorg_eclipse_swt_internal_carbon_NavCBRec_2II",
- "memmove__Lorg_eclipse_swt_internal_carbon_NavFileOrFolderInfo_2II",
- "memmove__Lorg_eclipse_swt_internal_carbon_NavMenuItemSpec_2II",
- "memmove__Lorg_eclipse_swt_internal_carbon_PixMap_2II",
- "memmove__Lorg_eclipse_swt_internal_carbon_Point_2_3II",
- "memmove__Lorg_eclipse_swt_internal_carbon_RGBColor_2II",
- "memmove__Lorg_eclipse_swt_internal_carbon_Rect_2II",
- "memmove__Lorg_eclipse_swt_internal_carbon_TextRange_2II",
- "memmove___3C_3BI",
- "memmove___3ILorg_eclipse_swt_internal_carbon_TXNTab_2I",
-};
-
-#define STATS_NATIVE(func) Java_org_eclipse_swt_tools_internal_NativeStats_##func
-
-JNIEXPORT jint JNICALL STATS_NATIVE(OS_1GetFunctionCount)
- (JNIEnv *env, jclass that)
-{
- return OS_nativeFunctionCount;
-}
-
-JNIEXPORT jstring JNICALL STATS_NATIVE(OS_1GetFunctionName)
- (JNIEnv *env, jclass that, jint index)
-{
- return (*env)->NewStringUTF(env, OS_nativeFunctionNames[index]);
-}
-
-JNIEXPORT jint JNICALL STATS_NATIVE(OS_1GetFunctionCallCount)
- (JNIEnv *env, jclass that, jint index)
-{
- return OS_nativeFunctionCallCount[index];
-}
-
-#endif
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os_stats.h b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os_stats.h
deleted file mode 100644
index 682e38b0df..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os_stats.h
+++ /dev/null
@@ -1,1013 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2009 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-
-#ifdef NATIVE_STATS
-extern int OS_nativeFunctionCount;
-extern int OS_nativeFunctionCallCount[];
-extern char* OS_nativeFunctionNames[];
-#define OS_NATIVE_ENTER(env, that, func) OS_nativeFunctionCallCount[func]++;
-#define OS_NATIVE_EXIT(env, that, func)
-#else
-#ifndef OS_NATIVE_ENTER
-#define OS_NATIVE_ENTER(env, that, func)
-#endif
-#ifndef OS_NATIVE_EXIT
-#define OS_NATIVE_EXIT(env, that, func)
-#endif
-#endif
-
-typedef enum {
- AECoerceDesc_FUNC,
- AECountItems_FUNC,
- AECreateDesc_FUNC,
- AEDisposeDesc_FUNC,
- AEGetDescData_FUNC,
- AEGetNthPtr_FUNC,
- AEInstallEventHandler_FUNC,
- AEProcessAppleEvent_FUNC,
- ATSFontActivateFromFileSpecification_FUNC,
- ATSFontDeactivate_FUNC,
- ATSFontFindFromName_FUNC,
- ATSFontGetHorizontalMetrics_FUNC,
- ATSFontGetName_FUNC,
- ATSFontGetPostScriptName_FUNC,
- ATSFontGetVerticalMetrics_FUNC,
- ATSFontIteratorCreate_FUNC,
- ATSFontIteratorNext_FUNC,
- ATSFontIteratorRelease_FUNC,
- ATSUBatchBreakLines_FUNC,
- ATSUCreateStyle_FUNC,
- ATSUCreateTextLayout_FUNC,
- ATSUCreateTextLayoutWithTextPtr_FUNC,
- ATSUDirectGetLayoutDataArrayPtrFromTextLayout_FUNC,
- ATSUDirectReleaseLayoutDataArrayPtr_FUNC,
- ATSUDisposeStyle_FUNC,
- ATSUDisposeTextLayout_FUNC,
- ATSUDrawText_FUNC,
- ATSUFindFontFromName_FUNC,
- ATSUFindFontName_FUNC,
- ATSUGetFontIDs_FUNC,
- ATSUGetGlyphBounds__IIIIISII_3I_FUNC,
- ATSUGetGlyphBounds__IIIIISILorg_eclipse_swt_internal_carbon_ATSTrapezoid_2_3I_FUNC,
- ATSUGetLayoutControl_FUNC,
- ATSUGetLineControl_FUNC,
- ATSUGetSoftLineBreaks_FUNC,
- ATSUGetTextHighlight_FUNC,
- ATSUGetUnjustifiedBounds_FUNC,
- ATSUGlyphGetQuadraticPaths_FUNC,
- ATSUHighlightText_FUNC,
- ATSUNextCursorPosition_FUNC,
- ATSUOffsetToPosition_FUNC,
- ATSUPositionToOffset_FUNC,
- ATSUPreviousCursorPosition_FUNC,
- ATSUSetAttributes_FUNC,
- ATSUSetFontFeatures_FUNC,
- ATSUSetHighlightingMethod_FUNC,
- ATSUSetLayoutControls_FUNC,
- ATSUSetLineControls_FUNC,
- ATSUSetRunStyle_FUNC,
- ATSUSetSoftLineBreak_FUNC,
- ATSUSetTabArray_FUNC,
- ATSUSetTextPointerLocation_FUNC,
- ATSUSetTransientFontMatching_FUNC,
- ATSUTextDeleted_FUNC,
- ATSUTextInserted_FUNC,
- AXNotificationHIObjectNotify_FUNC,
- AXUIElementCopyAttributeValue_FUNC,
- AXUIElementCreateWithDataBrowserAndItemInfo_FUNC,
- AXUIElementCreateWithHIObjectAndIdentifier_FUNC,
- AXUIElementGetDataBrowserItemInfo_FUNC,
- AXUIElementGetHIObject_FUNC,
- AXUIElementGetIdentifier_FUNC,
- AXValueCreate_FUNC,
- AXValueGetValue_FUNC,
- AcquireFirstMatchingEventInQueue_FUNC,
- ActivateTSMDocument_FUNC,
- ActiveNonFloatingWindow_FUNC,
- AddDataBrowserItems_FUNC,
- AddDataBrowserListViewColumn_FUNC,
- AddDragItemFlavor_FUNC,
- AppendMenuItemTextWithCFString_FUNC,
- AutoSizeDataBrowserListViewColumns_FUNC,
- BringToFront_FUNC,
- CFArrayAppendValue_FUNC,
- CFArrayCreateMutable_FUNC,
- CFArrayGetCount_FUNC,
- CFArrayGetValueAtIndex_FUNC,
- CFDataGetBytePtr_FUNC,
- CFDataGetBytes_FUNC,
- CFDataGetLength_FUNC,
- CFDictionaryGetValueIfPresent_FUNC,
- CFEqual_FUNC,
- CFLocaleCopyCurrent_FUNC,
- CFNumberFormatterCopyProperty_FUNC,
- CFNumberFormatterCreate_FUNC,
- CFRelease_FUNC,
- CFRetain_FUNC,
- CFRunLoopAddObserver_FUNC,
- CFRunLoopAddSource_FUNC,
- CFRunLoopObserverCreate_FUNC,
- CFRunLoopObserverInvalidate_FUNC,
- CFRunLoopRunInMode_FUNC,
- CFRunLoopSourceCreate_FUNC,
- CFRunLoopSourceInvalidate_FUNC,
- CFRunLoopSourceSignal_FUNC,
- CFRunLoopStop_FUNC,
- CFRunLoopWakeUp_FUNC,
- CFStringCreateWithBytes_FUNC,
- CFStringCreateWithCharacters__III_FUNC,
- CFStringCreateWithCharacters__I_3CI_FUNC,
- CFStringGetBytes_FUNC,
- CFStringGetCharacters_FUNC,
- CFStringGetLength_FUNC,
- CFStringGetSystemEncoding_FUNC,
- CFURLCopyFileSystemPath_FUNC,
- CFURLCopyLastPathComponent_FUNC,
- CFURLCopyPathExtension_FUNC,
- CFURLCreateCopyAppendingPathComponent_FUNC,
- CFURLCreateCopyDeletingLastPathComponent_FUNC,
- CFURLCreateData_FUNC,
- CFURLCreateFromFSRef_FUNC,
- CFURLCreateFromFileSystemRepresentation_FUNC,
- CFURLCreateStringByAddingPercentEscapes_FUNC,
- CFURLCreateStringByReplacingPercentEscapes_FUNC,
- CFURLCreateWithBytes_FUNC,
- CFURLCreateWithFileSystemPath_FUNC,
- CFURLCreateWithString_FUNC,
- CFURLGetFSRef_FUNC,
- CGAffineTransformConcat_FUNC,
- CGAffineTransformInvert_FUNC,
- CGAffineTransformMake_FUNC,
- CGAffineTransformRotate_FUNC,
- CGAffineTransformScale_FUNC,
- CGAffineTransformTranslate_FUNC,
- CGBitmapContextCreate_FUNC,
- CGBitmapContextCreateImage_FUNC,
- CGColorCreate_FUNC,
- CGColorRelease_FUNC,
- CGColorSpaceCreateDeviceRGB_FUNC,
- CGColorSpaceCreatePattern_FUNC,
- CGColorSpaceRelease_FUNC,
- CGContextAddArc_FUNC,
- CGContextAddArcToPoint_FUNC,
- CGContextAddLineToPoint_FUNC,
- CGContextAddLines_FUNC,
- CGContextAddPath_FUNC,
- CGContextAddRect_FUNC,
- CGContextBeginPath_FUNC,
- CGContextClearRect_FUNC,
- CGContextClip_FUNC,
- CGContextClosePath_FUNC,
- CGContextConcatCTM_FUNC,
- CGContextDrawImage_FUNC,
- CGContextDrawShading_FUNC,
- CGContextEOClip_FUNC,
- CGContextEOFillPath_FUNC,
- CGContextFillPath_FUNC,
- CGContextFillRect_FUNC,
- CGContextFlush_FUNC,
- CGContextGetCTM_FUNC,
- CGContextGetInterpolationQuality_FUNC,
- CGContextGetPathBoundingBox_FUNC,
- CGContextGetTextPosition_FUNC,
- CGContextMoveToPoint_FUNC,
- CGContextRelease_FUNC,
- CGContextRestoreGState_FUNC,
- CGContextRotateCTM_FUNC,
- CGContextSaveGState_FUNC,
- CGContextScaleCTM_FUNC,
- CGContextSelectFont_FUNC,
- CGContextSetAlpha_FUNC,
- CGContextSetBlendMode_FUNC,
- CGContextSetFillColor_FUNC,
- CGContextSetFillColorSpace_FUNC,
- CGContextSetFillPattern_FUNC,
- CGContextSetFont_FUNC,
- CGContextSetFontSize_FUNC,
- CGContextSetInterpolationQuality_FUNC,
- CGContextSetLineCap_FUNC,
- CGContextSetLineDash_FUNC,
- CGContextSetLineJoin_FUNC,
- CGContextSetLineWidth_FUNC,
- CGContextSetMiterLimit_FUNC,
- CGContextSetRGBFillColor_FUNC,
- CGContextSetRGBStrokeColor_FUNC,
- CGContextSetRenderingIntent_FUNC,
- CGContextSetShouldAntialias_FUNC,
- CGContextSetShouldSmoothFonts_FUNC,
- CGContextSetStrokeColor_FUNC,
- CGContextSetStrokeColorSpace_FUNC,
- CGContextSetStrokePattern_FUNC,
- CGContextSetTextDrawingMode_FUNC,
- CGContextSetTextMatrix_FUNC,
- CGContextSetTextPosition_FUNC,
- CGContextShowText_FUNC,
- CGContextShowTextAtPoint_FUNC,
- CGContextStrokePath_FUNC,
- CGContextStrokeRect_FUNC,
- CGContextSynchronize_FUNC,
- CGContextTranslateCTM_FUNC,
- CGCursorIsVisible_FUNC,
- CGDataProviderCreateWithData_FUNC,
- CGDataProviderCreateWithURL_FUNC,
- CGDataProviderRelease_FUNC,
- CGDisplayBaseAddress_FUNC,
- CGDisplayBitsPerPixel_FUNC,
- CGDisplayBitsPerSample_FUNC,
- CGDisplayBounds_FUNC,
- CGDisplayBytesPerRow_FUNC,
- CGDisplayHideCursor_FUNC,
- CGDisplayPixelsHigh_FUNC,
- CGDisplayPixelsWide_FUNC,
- CGDisplayShowCursor_FUNC,
- CGFontCreateWithPlatformFont_FUNC,
- CGFontRelease_FUNC,
- CGFunctionCreate_FUNC,
- CGFunctionRelease_FUNC,
- CGGetDisplaysWithRect_FUNC,
- CGImageCreate_FUNC,
- CGImageCreateWithImageInRect_FUNC,
- CGImageCreateWithJPEGDataProvider_FUNC,
- CGImageCreateWithPNGDataProvider_FUNC,
- CGImageGetAlphaInfo_FUNC,
- CGImageGetBitsPerComponent_FUNC,
- CGImageGetBitsPerPixel_FUNC,
- CGImageGetBytesPerRow_FUNC,
- CGImageGetColorSpace_FUNC,
- CGImageGetDataProvider_FUNC,
- CGImageGetHeight_FUNC,
- CGImageGetWidth_FUNC,
- CGImageRelease_FUNC,
- CGMainDisplayID_FUNC,
- CGPathAddArc_FUNC,
- CGPathAddCurveToPoint_FUNC,
- CGPathAddLineToPoint_FUNC,
- CGPathAddPath_FUNC,
- CGPathAddQuadCurveToPoint_FUNC,
- CGPathAddRect_FUNC,
- CGPathApply_FUNC,
- CGPathCloseSubpath_FUNC,
- CGPathCreateMutable_FUNC,
- CGPathCreateMutableCopy_FUNC,
- CGPathGetBoundingBox_FUNC,
- CGPathGetCurrentPoint_FUNC,
- CGPathIsEmpty_FUNC,
- CGPathMoveToPoint_FUNC,
- CGPathRelease_FUNC,
- CGPatternCreate_FUNC,
- CGPatternRelease_FUNC,
- CGPointApplyAffineTransform_FUNC,
- CGPostKeyboardEvent_FUNC,
- CGPostMouseEvent_FUNC,
- CGPostScrollWheelEvent_FUNC,
- CGRectContainsPoint_FUNC,
- CGShadingCreateAxial_FUNC,
- CGShadingCreateRadial_FUNC,
- CGShadingRelease_FUNC,
- CGSizeApplyAffineTransform_FUNC,
- CGWarpMouseCursorPosition_FUNC,
- CPSEnableForegroundOperation_FUNC,
- CPSSetProcessName_FUNC,
- CalcMenuSize_FUNC,
- Call_FUNC,
- CallNextEventHandler_FUNC,
- CancelMenuTracking_FUNC,
- ChangeMenuItemAttributes_FUNC,
- ChangeWindowAttributes_FUNC,
- ClearCurrentScrap_FUNC,
- ClearKeyboardFocus_FUNC,
- ClearMenuBar_FUNC,
- ClipCGContextToRegion_FUNC,
- CloseDataBrowserContainer_FUNC,
- ClosePicture_FUNC,
- CloseRgn_FUNC,
- CollapseWindow_FUNC,
- ContextualMenuSelect_FUNC,
- ConvertEventRefToEventRecord_FUNC,
- ConvertFromPStringToUnicode_FUNC,
- ConvertFromUnicodeToPString_FUNC,
- CopyBits_FUNC,
- CopyControlTitleAsCFString_FUNC,
- CopyMenuItemTextAsCFString_FUNC,
- CopyRgn_FUNC,
- CountDragItemFlavors_FUNC,
- CountDragItems_FUNC,
- CountMenuItems_FUNC,
- CountSubControls_FUNC,
- CreateBevelButtonControl_FUNC,
- CreateCGContextForPort_FUNC,
- CreateCheckBoxControl_FUNC,
- CreateClockControl_FUNC,
- CreateDataBrowserControl_FUNC,
- CreateEditUnicodeTextControl_FUNC,
- CreateEvent_FUNC,
- CreateGroupBoxControl_FUNC,
- CreateIconControl_FUNC,
- CreateLittleArrowsControl_FUNC,
- CreateNewMenu_FUNC,
- CreateNewWindow_FUNC,
- CreatePopupArrowControl_FUNC,
- CreatePopupButtonControl_FUNC,
- CreateProgressBarControl_FUNC,
- CreatePushButtonControl_FUNC,
- CreatePushButtonWithIconControl_FUNC,
- CreateRadioButtonControl_FUNC,
- CreateRootControl_FUNC,
- CreateScrollBarControl_FUNC,
- CreateSeparatorControl_FUNC,
- CreateSliderControl_FUNC,
- CreateStandardAlert_FUNC,
- CreateStaticTextControl_FUNC,
- CreateTabsControl_FUNC,
- CreateTextToUnicodeInfoByEncoding_FUNC,
- CreateUnicodeToTextInfoByEncoding_FUNC,
- CreateUserPaneControl_FUNC,
- CreateWindowGroup_FUNC,
- DataBrowserChangeAttributes_FUNC,
- DataBrowserGetAttributes_FUNC,
- DataBrowserGetMetric_FUNC,
- DataBrowserSetMetric_FUNC,
- DeactivateTSMDocument_FUNC,
- DeleteGlobalRef_FUNC,
- DeleteMenu_FUNC,
- DeleteMenuItem_FUNC,
- DeleteMenuItems_FUNC,
- DeleteTSMDocument_FUNC,
- DiffRgn_FUNC,
- DisableControl_FUNC,
- DisableMenuCommand_FUNC,
- DisableMenuItem_FUNC,
- DisposeControl_FUNC,
- DisposeDrag_FUNC,
- DisposeGWorld_FUNC,
- DisposeHandle_FUNC,
- DisposeMenu_FUNC,
- DisposePtr_FUNC,
- DisposeRgn_FUNC,
- DisposeTextToUnicodeInfo_FUNC,
- DisposeUnicodeToTextInfo_FUNC,
- DisposeWindow_FUNC,
- DrawControlInCurrentPort_FUNC,
- DrawMenuBar_FUNC,
- DrawPicture_FUNC,
- DrawThemeButton_FUNC,
- DrawThemeEditTextFrame_FUNC,
- DrawThemeFocusRect_FUNC,
- DrawThemePopupArrow_FUNC,
- DrawThemeSeparator_FUNC,
- DrawThemeTextBox_FUNC,
- EmbedControl_FUNC,
- EmptyRect_FUNC,
- EmptyRgn_FUNC,
- EnableControl_FUNC,
- EnableMenuCommand_FUNC,
- EnableMenuItem_FUNC,
- EraseRect_FUNC,
- FMGetATSFontRefFromFont_FUNC,
- FMGetFontFamilyFromName_FUNC,
- FMGetFontFamilyInstanceFromFont_FUNC,
- FMGetFontFromATSFontRef_FUNC,
- FMGetFontFromFontFamilyInstance_FUNC,
- FPIsFontPanelVisible_FUNC,
- FPShowHideFontPanel_FUNC,
- FSGetCatalogInfo_FUNC,
- FSpGetFInfo_FUNC,
- FSpMakeFSRef_FUNC,
- FindSpecificEventInQueue_FUNC,
- FindWindow_FUNC,
- Fix2Long_FUNC,
- Fix2X_FUNC,
- FixTSMDocument_FUNC,
- FrontWindow_FUNC,
- Gestalt_FUNC,
- GetApplicationEventTarget_FUNC,
- GetAvailableWindowAttributes_FUNC,
- GetAvailableWindowPositioningBounds_FUNC,
- GetBestControlRect_FUNC,
- GetCFRunLoopFromEventLoop_FUNC,
- GetCaretTime_FUNC,
- GetClip_FUNC,
- GetControl32BitMaximum_FUNC,
- GetControl32BitMinimum_FUNC,
- GetControl32BitValue_FUNC,
- GetControlAction_FUNC,
- GetControlBounds_FUNC,
- GetControlData__ISIILorg_eclipse_swt_internal_carbon_ControlEditTextSelectionRec_2_3I_FUNC,
- GetControlData__ISIILorg_eclipse_swt_internal_carbon_ControlFontStyleRec_2_3I_FUNC,
- GetControlData__ISIILorg_eclipse_swt_internal_carbon_LongDateRec_2_3I_FUNC,
- GetControlData__ISIILorg_eclipse_swt_internal_carbon_Rect_2_3I_FUNC,
- GetControlData__ISII_3B_3I_FUNC,
- GetControlData__ISII_3I_3I_FUNC,
- GetControlData__ISII_3S_3I_FUNC,
- GetControlEventTarget_FUNC,
- GetControlFeatures_FUNC,
- GetControlKind_FUNC,
- GetControlOwner_FUNC,
- GetControlProperty_FUNC,
- GetControlReference_FUNC,
- GetControlRegion_FUNC,
- GetControlValue_FUNC,
- GetControlViewSize_FUNC,
- GetCurrentEventButtonState_FUNC,
- GetCurrentEventKeyModifiers_FUNC,
- GetCurrentEventLoop_FUNC,
- GetCurrentEventQueue_FUNC,
- GetCurrentProcess_FUNC,
- GetCurrentScrap_FUNC,
- GetDataBrowserCallbacks_FUNC,
- GetDataBrowserHasScrollBars_FUNC,
- GetDataBrowserItemCount_FUNC,
- GetDataBrowserItemDataButtonValue_FUNC,
- GetDataBrowserItemPartBounds_FUNC,
- GetDataBrowserItemState_FUNC,
- GetDataBrowserItems_FUNC,
- GetDataBrowserListViewDisclosureColumn_FUNC,
- GetDataBrowserListViewHeaderBtnHeight_FUNC,
- GetDataBrowserListViewHeaderDesc_FUNC,
- GetDataBrowserPropertyFlags_FUNC,
- GetDataBrowserScrollBarInset_FUNC,
- GetDataBrowserScrollPosition_FUNC,
- GetDataBrowserSelectionAnchor_FUNC,
- GetDataBrowserSelectionFlags_FUNC,
- GetDataBrowserSortProperty_FUNC,
- GetDataBrowserTableViewColumnPosition_FUNC,
- GetDataBrowserTableViewItemID_FUNC,
- GetDataBrowserTableViewItemRow_FUNC,
- GetDataBrowserTableViewNamedColumnWidth_FUNC,
- GetDataBrowserTableViewRowHeight_FUNC,
- GetDblTime_FUNC,
- GetDeviceList_FUNC,
- GetDragAllowableActions_FUNC,
- GetDragDropAction_FUNC,
- GetDragItemReferenceNumber_FUNC,
- GetDragModifiers_FUNC,
- GetDragMouse_FUNC,
- GetEventClass_FUNC,
- GetEventDispatcherTarget_FUNC,
- GetEventKind_FUNC,
- GetEventParameter__III_3II_3II_FUNC,
- GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_CGPoint_2_FUNC,
- GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_CGRect_2_FUNC,
- GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_HICommand_2_FUNC,
- GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_Point_2_FUNC,
- GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_RGBColor_2_FUNC,
- GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_Rect_2_FUNC,
- GetEventParameter__III_3II_3I_3B_FUNC,
- GetEventParameter__III_3II_3I_3C_FUNC,
- GetEventParameter__III_3II_3I_3I_FUNC,
- GetEventParameter__III_3II_3I_3S_FUNC,
- GetEventParameter__III_3II_3I_3Z_FUNC,
- GetEventTime_FUNC,
- GetFlavorData_FUNC,
- GetFlavorDataSize_FUNC,
- GetFlavorType_FUNC,
- GetFrontProcess_FUNC,
- GetGWorld_FUNC,
- GetGlobalMouse_FUNC,
- GetHandleSize_FUNC,
- GetIconFamilyData_FUNC,
- GetIconRef_FUNC,
- GetIconRefFromFileInfo_FUNC,
- GetIconRefFromIconFamilyPtr_FUNC,
- GetIndMenuItemWithCommandID_FUNC,
- GetIndexedSubControl_FUNC,
- GetItemMark_FUNC,
- GetKeyboardFocus_FUNC,
- GetLastUserEventTime_FUNC,
- GetMBarHeight_FUNC,
- GetMainDevice_FUNC,
- GetMainEventQueue_FUNC,
- GetMenuCommandMark_FUNC,
- GetMenuEventTarget_FUNC,
- GetMenuFont_FUNC,
- GetMenuHeight_FUNC,
- GetMenuID_FUNC,
- GetMenuItemCommandID_FUNC,
- GetMenuItemHierarchicalMenu_FUNC,
- GetMenuItemRefCon_FUNC,
- GetMenuTrackingData_FUNC,
- GetMenuWidth_FUNC,
- GetMouse_FUNC,
- GetNextDevice_FUNC,
- GetNextWindow_FUNC,
- GetPixDepth_FUNC,
- GetPort_FUNC,
- GetPortBitMapForCopyBits_FUNC,
- GetPortBounds_FUNC,
- GetPreviousWindow_FUNC,
- GetPtrSize_FUNC,
- GetRegionBounds_FUNC,
- GetRootControl_FUNC,
- GetScrapFlavorCount_FUNC,
- GetScrapFlavorData__II_3I_3B_FUNC,
- GetScrapFlavorData__II_3I_3C_FUNC,
- GetScrapFlavorInfoList_FUNC,
- GetScrapFlavorSize_FUNC,
- GetScriptManagerVariable_FUNC,
- GetSuperControl_FUNC,
- GetSystemUIMode_FUNC,
- GetTabContentRect_FUNC,
- GetThemeBrushAsColor_FUNC,
- GetThemeButtonContentBounds_FUNC,
- GetThemeButtonRegion_FUNC,
- GetThemeDrawingState_FUNC,
- GetThemeFont_FUNC,
- GetThemeMenuItemExtra_FUNC,
- GetThemeMetric_FUNC,
- GetThemeTextColor_FUNC,
- GetThemeTextDimensions_FUNC,
- GetUserFocusEventTarget_FUNC,
- GetUserFocusWindow_FUNC,
- GetWindowActivationScope_FUNC,
- GetWindowAlpha_FUNC,
- GetWindowBounds_FUNC,
- GetWindowClass_FUNC,
- GetWindowDefaultButton_FUNC,
- GetWindowEventTarget_FUNC,
- GetWindowFromPort_FUNC,
- GetWindowGroupOfClass_FUNC,
- GetWindowList_FUNC,
- GetWindowModality_FUNC,
- GetWindowPort_FUNC,
- GetWindowRegion_FUNC,
- GetWindowResizeLimits_FUNC,
- GetWindowStructureWidths_FUNC,
- HIComboBoxAppendTextItem_FUNC,
- HIComboBoxCopyTextItemAtIndex_FUNC,
- HIComboBoxCreate_FUNC,
- HIComboBoxGetItemCount_FUNC,
- HIComboBoxInsertTextItemAtIndex_FUNC,
- HIComboBoxIsListVisible_FUNC,
- HIComboBoxRemoveItemAtIndex_FUNC,
- HIComboBoxSetListVisible_FUNC,
- HICopyAccessibilityRoleDescription_FUNC,
- HICreateTransformedCGImage_FUNC,
- HIObjectCopyClassID_FUNC,
- HIObjectCreate_FUNC,
- HIObjectRegisterSubclass_FUNC,
- HIObjectSetAccessibilityIgnored_FUNC,
- HIObjectSetAuxiliaryAccessibilityAttribute_FUNC,
- HIScrollViewCreate_FUNC,
- HIScrollViewSetScrollBarAutoHide_FUNC,
- HISearchFieldChangeAttributes_FUNC,
- HISearchFieldCopyDescriptiveText_FUNC,
- HISearchFieldCreate_FUNC,
- HISearchFieldGetAttributes_FUNC,
- HISearchFieldSetDescriptiveText_FUNC,
- HIShapeCreateWithQDRgn_FUNC,
- HIShapeReplacePathInCGContext_FUNC,
- HITextViewCreate_FUNC,
- HITextViewGetTXNObject_FUNC,
- HITextViewSetBackgroundColor_FUNC,
- HIThemeDrawBackground_FUNC,
- HIThemeDrawButton_FUNC,
- HIThemeDrawFocusRect_FUNC,
- HIThemeDrawFrame_FUNC,
- HIThemeDrawGenericWell_FUNC,
- HIThemeDrawGroupBox_FUNC,
- HIThemeDrawGrowBox_FUNC,
- HIThemeDrawPopupArrow_FUNC,
- HIThemeDrawSeparator_FUNC,
- HIThemeDrawTab_FUNC,
- HIThemeDrawTabPane_FUNC,
- HIThemeDrawTextBox_FUNC,
- HIThemeDrawTrack_FUNC,
- HIThemeGetButtonBackgroundBounds_FUNC,
- HIThemeGetButtonContentBounds_FUNC,
- HIThemeGetScrollBarTrackRect_FUNC,
- HIThemeGetTextDimensions_FUNC,
- HIThemeGetTrackBounds_FUNC,
- HIThemeGetTrackLiveValue_FUNC,
- HIThemeGetTrackPartBounds_FUNC,
- HIThemeGetTrackThumbPositionFromBounds_FUNC,
- HIThemeGetTrackThumbPositionFromOffset_FUNC,
- HIThemeHitTestScrollBarArrows_FUNC,
- HIThemeHitTestTrack_FUNC,
- HIThemeSetFill_FUNC,
- HIThemeSetTextFill_FUNC,
- HIViewAddSubview_FUNC,
- HIViewChangeAttributes_FUNC,
- HIViewChangeFeatures_FUNC,
- HIViewClick_FUNC,
- HIViewConvertPoint_FUNC,
- HIViewConvertRect_FUNC,
- HIViewConvertRegion_FUNC,
- HIViewCreateOffscreenImage_FUNC,
- HIViewDrawCGImage_FUNC,
- HIViewFindByID_FUNC,
- HIViewGetBounds_FUNC,
- HIViewGetFeatures_FUNC,
- HIViewGetFirstSubview_FUNC,
- HIViewGetFrame_FUNC,
- HIViewGetLastSubview_FUNC,
- HIViewGetLayoutInfo_FUNC,
- HIViewGetNeedsDisplay_FUNC,
- HIViewGetNextView_FUNC,
- HIViewGetRoot_FUNC,
- HIViewGetSizeConstraints_FUNC,
- HIViewGetSubviewHit_FUNC,
- HIViewGetSuperview_FUNC,
- HIViewGetViewForMouseEvent_FUNC,
- HIViewIsDrawingEnabled_FUNC,
- HIViewIsVisible_FUNC,
- HIViewRegionChanged_FUNC,
- HIViewRemoveFromSuperview_FUNC,
- HIViewRender_FUNC,
- HIViewScrollRect_FUNC,
- HIViewSetBoundsOrigin_FUNC,
- HIViewSetDrawingEnabled_FUNC,
- HIViewSetFrame_FUNC,
- HIViewSetLayoutInfo_FUNC,
- HIViewSetNeedsDisplay_FUNC,
- HIViewSetNeedsDisplayInRegion_FUNC,
- HIViewSetVisible_FUNC,
- HIViewSetZOrder_FUNC,
- HIViewSimulateClick_FUNC,
- HIWindowFlush_FUNC,
- HIWindowIsDocumentModalTarget_FUNC,
- HLock_FUNC,
- HMDisplayTag_FUNC,
- HMGetTagDelay_FUNC,
- HMHideTag_FUNC,
- HMInstallControlContentCallback_FUNC,
- HMSetTagDelay_FUNC,
- HUnlock_FUNC,
- HandleControlClick_FUNC,
- HandleControlSetCursor_FUNC,
- HiWord_FUNC,
- HideWindow_FUNC,
- HiliteMenu_FUNC,
- IconRefToIconFamily_FUNC,
- InitContextualMenus_FUNC,
- InitCursor_FUNC,
- InitDataBrowserCallbacks_FUNC,
- InitDataBrowserCustomCallbacks_FUNC,
- InsertMenu_FUNC,
- InsertMenuItemTextWithCFString_FUNC,
- InstallEventHandler_FUNC,
- InstallEventLoopIdleTimer_FUNC,
- InstallEventLoopTimer_FUNC,
- InstallReceiveHandler_FUNC,
- InstallTrackingHandler_FUNC,
- InvalWindowRect_FUNC,
- InvalWindowRgn_FUNC,
- InvertRect_FUNC,
- IsControlActive_FUNC,
- IsControlEnabled_FUNC,
- IsControlVisible_FUNC,
- IsDataBrowserItemSelected_FUNC,
- IsEventInQueue_FUNC,
- IsMenuCommandEnabled_FUNC,
- IsMenuItemEnabled_FUNC,
- IsMenuKeyEvent_FUNC,
- IsValidControlHandle_FUNC,
- IsValidMenu_FUNC,
- IsValidWindowPtr_FUNC,
- IsWindowActive_FUNC,
- IsWindowCollapsed_FUNC,
- IsWindowModified_FUNC,
- IsWindowVisible_FUNC,
- JNIGetObject_FUNC,
- KLGetCurrentKeyboardLayout_FUNC,
- KLGetKeyboardLayoutProperty_FUNC,
- KeyTranslate_FUNC,
- KillPicture_FUNC,
- LMGetKbdType_FUNC,
- LSCopyAllRoleHandlersForContentType_FUNC,
- LSCopyDisplayNameForRef_FUNC,
- LSFindApplicationForInfo_FUNC,
- LSGetApplicationForInfo_FUNC,
- LSOpenApplication_FUNC,
- LSOpenCFURLRef_FUNC,
- LSOpenURLsWithRole_FUNC,
- LineTo_FUNC,
- LoWord_FUNC,
- Long2Fix_FUNC,
- MenuSelect_FUNC,
- MoveControl_FUNC,
- MoveTo_FUNC,
- MoveWindow_FUNC,
- NavCreateChooseFolderDialog_FUNC,
- NavCreateGetFileDialog_FUNC,
- NavCreatePutFileDialog_FUNC,
- NavCustomControl__IILorg_eclipse_swt_internal_carbon_AEDesc_2_FUNC,
- NavCustomControl__IILorg_eclipse_swt_internal_carbon_NavMenuItemSpec_2_FUNC,
- NavDialogDispose_FUNC,
- NavDialogGetReply_FUNC,
- NavDialogGetSaveFileName_FUNC,
- NavDialogGetUserAction_FUNC,
- NavDialogRun_FUNC,
- NavDialogSetFilterTypeIdentifiers_FUNC,
- NavDialogSetSaveFileName_FUNC,
- NavDisposeReply_FUNC,
- NavGetDefaultDialogCreationOptions_FUNC,
- NewControl_FUNC,
- NewDrag_FUNC,
- NewGWorldFromPtr_FUNC,
- NewGlobalRef_FUNC,
- NewHandle_FUNC,
- NewHandleClear_FUNC,
- NewPtr_FUNC,
- NewPtrClear_FUNC,
- NewRgn_FUNC,
- NewTSMDocument_FUNC,
- OffsetRect_FUNC,
- OffsetRgn_FUNC,
- OpenDataBrowserContainer_FUNC,
- OpenPicture_FUNC,
- OpenRgn_FUNC,
- PMCreatePageFormat_FUNC,
- PMCreatePrintSettings_FUNC,
- PMCreateSession_FUNC,
- PMFlattenPageFormat_FUNC,
- PMFlattenPrintSettings_FUNC,
- PMGetAdjustedPageRect_FUNC,
- PMGetAdjustedPaperRect_FUNC,
- PMGetCollate_FUNC,
- PMGetCopies_FUNC,
- PMGetFirstPage_FUNC,
- PMGetJobNameCFString_FUNC,
- PMGetLastPage_FUNC,
- PMGetOrientation_FUNC,
- PMGetPageRange_FUNC,
- PMGetResolution_FUNC,
- PMPrinterGetOutputResolution_FUNC,
- PMRelease_FUNC,
- PMSessionBeginDocumentNoDialog_FUNC,
- PMSessionBeginPageNoDialog_FUNC,
- PMSessionCopyDestinationLocation_FUNC,
- PMSessionCreatePrinterList_FUNC,
- PMSessionDefaultPageFormat_FUNC,
- PMSessionDefaultPrintSettings_FUNC,
- PMSessionEndDocumentNoDialog_FUNC,
- PMSessionEndPageNoDialog_FUNC,
- PMSessionError_FUNC,
- PMSessionGetCurrentPrinter_FUNC,
- PMSessionGetDestinationType_FUNC,
- PMSessionGetGraphicsContext_FUNC,
- PMSessionPageSetupDialog_FUNC,
- PMSessionPrintDialog_FUNC,
- PMSessionSetCurrentPrinter_FUNC,
- PMSessionSetDestination_FUNC,
- PMSessionSetDocumentFormatGeneration_FUNC,
- PMSessionSetError_FUNC,
- PMSessionUseSheets_FUNC,
- PMSessionValidatePageFormat_FUNC,
- PMSessionValidatePrintSettings_FUNC,
- PMSetCollate_FUNC,
- PMSetCopies_FUNC,
- PMSetFirstPage_FUNC,
- PMSetJobNameCFString_FUNC,
- PMSetLastPage_FUNC,
- PMSetOrientation_FUNC,
- PMSetPageRange_FUNC,
- PMShowPrintDialogWithOptions_FUNC,
- PMUnflattenPageFormat_FUNC,
- PMUnflattenPrintSettings_FUNC,
- PickColor_FUNC,
- PopUpMenuSelect_FUNC,
- PostEvent_FUNC,
- PostEventToQueue_FUNC,
- PtInRect_FUNC,
- PtInRgn_FUNC,
- PutScrapFlavor__IIII_3B_FUNC,
- PutScrapFlavor__IIII_3C_FUNC,
- QDBeginCGContext_FUNC,
- QDEndCGContext_FUNC,
- QDFlushPortBuffer_FUNC,
- QDPictCreateWithProvider_FUNC,
- QDPictDrawToCGContext_FUNC,
- QDPictGetBounds_FUNC,
- QDPictRelease_FUNC,
- QDRegionToRects_FUNC,
- RGBBackColor_FUNC,
- RGBForeColor_FUNC,
- ReadIconFile_FUNC,
- ReceiveNextEvent_FUNC,
- RectInRgn_FUNC,
- RectRgn_FUNC,
- RegisterAppearanceClient_FUNC,
- ReleaseEvent_FUNC,
- ReleaseIconRef_FUNC,
- ReleaseMenu_FUNC,
- ReleaseWindow_FUNC,
- ReleaseWindowGroup_FUNC,
- RemoveControlProperty_FUNC,
- RemoveDataBrowserItems_FUNC,
- RemoveDataBrowserTableViewColumn_FUNC,
- RemoveEventFromQueue_FUNC,
- RemoveEventHandler_FUNC,
- RemoveEventLoopTimer_FUNC,
- RemoveReceiveHandler_FUNC,
- RemoveTrackingHandler_FUNC,
- RepositionWindow_FUNC,
- ReshapeCustomWindow_FUNC,
- RestoreApplicationDockTileImage_FUNC,
- RetainEvent_FUNC,
- RetainMenu_FUNC,
- RetainWindow_FUNC,
- RevealDataBrowserItem_FUNC,
- RunStandardAlert_FUNC,
- SameProcess_FUNC,
- ScrollRect_FUNC,
- SectRect_FUNC,
- SectRgn_FUNC,
- SelectWindow_FUNC,
- SendBehind_FUNC,
- SendEventToEventTarget_FUNC,
- SendEventToEventTargetWithOptions_FUNC,
- SetApplicationDockTileImage_FUNC,
- SetAutomaticControlDragTrackingEnabledForWindow_FUNC,
- SetBevelButtonContentInfo_FUNC,
- SetClip_FUNC,
- SetControl32BitMaximum_FUNC,
- SetControl32BitMinimum_FUNC,
- SetControl32BitValue_FUNC,
- SetControlAction_FUNC,
- SetControlBounds_FUNC,
- SetControlColorProc_FUNC,
- SetControlData__IIIII_FUNC,
- SetControlData__IIIILorg_eclipse_swt_internal_carbon_ControlButtonContentInfo_2_FUNC,
- SetControlData__IIIILorg_eclipse_swt_internal_carbon_ControlEditTextSelectionRec_2_FUNC,
- SetControlData__IIIILorg_eclipse_swt_internal_carbon_ControlTabInfoRecV1_2_FUNC,
- SetControlData__IIIILorg_eclipse_swt_internal_carbon_LongDateRec_2_FUNC,
- SetControlData__IIIILorg_eclipse_swt_internal_carbon_Rect_2_FUNC,
- SetControlData__IIII_3B_FUNC,
- SetControlData__IIII_3I_FUNC,
- SetControlData__IIII_3S_FUNC,
- SetControlFontStyle_FUNC,
- SetControlPopupMenuHandle_FUNC,
- SetControlProperty_FUNC,
- SetControlReference_FUNC,
- SetControlTitleWithCFString_FUNC,
- SetControlViewSize_FUNC,
- SetControlVisibility_FUNC,
- SetCursor_FUNC,
- SetDataBrowserCallbacks_FUNC,
- SetDataBrowserCustomCallbacks_FUNC,
- SetDataBrowserHasScrollBars_FUNC,
- SetDataBrowserItemDataBooleanValue_FUNC,
- SetDataBrowserItemDataButtonValue_FUNC,
- SetDataBrowserItemDataIcon_FUNC,
- SetDataBrowserItemDataItemID_FUNC,
- SetDataBrowserItemDataText_FUNC,
- SetDataBrowserListViewDisclosureColumn_FUNC,
- SetDataBrowserListViewHeaderBtnHeight_FUNC,
- SetDataBrowserListViewHeaderDesc_FUNC,
- SetDataBrowserPropertyFlags_FUNC,
- SetDataBrowserScrollPosition_FUNC,
- SetDataBrowserSelectedItems_FUNC,
- SetDataBrowserSelectionFlags_FUNC,
- SetDataBrowserSortOrder_FUNC,
- SetDataBrowserSortProperty_FUNC,
- SetDataBrowserTableViewColumnPosition_FUNC,
- SetDataBrowserTableViewHiliteStyle_FUNC,
- SetDataBrowserTableViewItemRow_FUNC,
- SetDataBrowserTableViewNamedColumnWidth_FUNC,
- SetDataBrowserTableViewRowHeight_FUNC,
- SetDataBrowserTarget_FUNC,
- SetDragAllowableActions_FUNC,
- SetDragDropAction_FUNC,
- SetDragImageWithCGImage_FUNC,
- SetDragInputProc_FUNC,
- SetDragItemFlavorData_FUNC,
- SetDragSendProc_FUNC,
- SetEventLoopTimerNextFireTime_FUNC,
- SetEventParameter__IIIILorg_eclipse_swt_internal_carbon_CGPoint_2_FUNC,
- SetEventParameter__IIIILorg_eclipse_swt_internal_carbon_HICommand_2_FUNC,
- SetEventParameter__IIIILorg_eclipse_swt_internal_carbon_Point_2_FUNC,
- SetEventParameter__IIII_3C_FUNC,
- SetEventParameter__IIII_3I_FUNC,
- SetEventParameter__IIII_3S_FUNC,
- SetEventParameter__IIII_3Z_FUNC,
- SetFontInfoForSelection_FUNC,
- SetFrontProcess_FUNC,
- SetFrontProcessWithOptions_FUNC,
- SetGWorld_FUNC,
- SetHandleSize_FUNC,
- SetIconFamilyData_FUNC,
- SetItemMark_FUNC,
- SetKeyboardFocus_FUNC,
- SetMenuCommandMark_FUNC,
- SetMenuFont_FUNC,
- SetMenuItemCommandKey_FUNC,
- SetMenuItemHierarchicalMenu_FUNC,
- SetMenuItemIconHandle_FUNC,
- SetMenuItemKeyGlyph_FUNC,
- SetMenuItemModifiers_FUNC,
- SetMenuItemRefCon_FUNC,
- SetMenuItemTextWithCFString_FUNC,
- SetMenuTitleWithCFString_FUNC,
- SetPort_FUNC,
- SetPt_FUNC,
- SetRect_FUNC,
- SetRectRgn_FUNC,
- SetRootMenu_FUNC,
- SetSystemUIMode_FUNC,
- SetThemeBackground_FUNC,
- SetThemeCursor_FUNC,
- SetThemeDrawingState_FUNC,
- SetThemeTextColor_FUNC,
- SetThemeWindowBackground_FUNC,
- SetUpControlBackground_FUNC,
- SetUserFocusWindow_FUNC,
- SetWindowActivationScope_FUNC,
- SetWindowAlpha_FUNC,
- SetWindowBounds_FUNC,
- SetWindowDefaultButton_FUNC,
- SetWindowGroup_FUNC,
- SetWindowGroupOwner_FUNC,
- SetWindowGroupParent_FUNC,
- SetWindowModality_FUNC,
- SetWindowModified_FUNC,
- SetWindowResizeLimits_FUNC,
- SetWindowTitleWithCFString_FUNC,
- ShowWindow_FUNC,
- SizeControl_FUNC,
- SizeWindow_FUNC,
- StillDown_FUNC,
- SysBeep_FUNC,
- TXNCopy_FUNC,
- TXNCut_FUNC,
- TXNDataSize_FUNC,
- TXNDeleteObject_FUNC,
- TXNEchoMode_FUNC,
- TXNGetData_FUNC,
- TXNGetHIRect_FUNC,
- TXNGetLineCount_FUNC,
- TXNGetLineMetrics_FUNC,
- TXNGetSelection_FUNC,
- TXNGetTXNObjectControls_FUNC,
- TXNGetViewRect_FUNC,
- TXNHIPointToOffset_FUNC,
- TXNInitTextension_FUNC,
- TXNOffsetToHIPoint_FUNC,
- TXNPaste_FUNC,
- TXNSelectAll_FUNC,
- TXNSetBackground_FUNC,
- TXNSetData_FUNC,
- TXNSetFrameBounds_FUNC,
- TXNSetSelection_FUNC,
- TXNSetTXNObjectControls_FUNC,
- TXNSetTypeAttributes_FUNC,
- TXNShowSelection_FUNC,
- TextFace_FUNC,
- TextFont_FUNC,
- TextSize_FUNC,
- TrackDrag_FUNC,
- TrackMouseLocationWithOptions_FUNC,
- UCKeyTranslate_FUNC,
- UTTypeCreateAllIdentifiersForTag_FUNC,
- UTTypeCreatePreferredIdentifierForTag_FUNC,
- UnionRect_FUNC,
- UnionRgn_FUNC,
- UpdateDataBrowserItems_FUNC,
- UpgradeScriptInfoToTextEncoding_FUNC,
- UseInputWindow_FUNC,
- WaitMouseMoved_FUNC,
- X2Fix_FUNC,
- ZoomWindowIdeal_FUNC,
- _1_1BIG_1ENDIAN_1_1_FUNC,
- getpid_FUNC,
- kCFNumberFormatterDecimalSeparator_FUNC,
- kCFRunLoopCommonModes_FUNC,
- kCFRunLoopDefaultMode_FUNC,
- kFontPanelAttributeSizesKey_FUNC,
- kFontPanelAttributeTagsKey_FUNC,
- kFontPanelAttributeValuesKey_FUNC,
- kFontPanelAttributesKey_FUNC,
- kHIViewWindowContentID_FUNC,
- kPMDocumentFormatPDF_FUNC,
- kPMGraphicsContextCoreGraphics_FUNC,
- kUTTagClassFilenameExtension_FUNC,
- memmove__ILorg_eclipse_swt_internal_carbon_ATSUTab_2I_FUNC,
- memmove__ILorg_eclipse_swt_internal_carbon_BitMap_2I_FUNC,
- memmove__ILorg_eclipse_swt_internal_carbon_Cursor_2I_FUNC,
- memmove__ILorg_eclipse_swt_internal_carbon_HMHelpContentRec_2I_FUNC,
- memmove__ILorg_eclipse_swt_internal_carbon_PixMap_2I_FUNC,
- memmove__ILorg_eclipse_swt_internal_carbon_RGBColor_2I_FUNC,
- memmove__ILorg_eclipse_swt_internal_carbon_Rect_2I_FUNC,
- memmove__Lorg_eclipse_swt_internal_carbon_ATSLayoutRecord_2II_FUNC,
- memmove__Lorg_eclipse_swt_internal_carbon_ATSTrapezoid_2II_FUNC,
- memmove__Lorg_eclipse_swt_internal_carbon_CGPathElement_2II_FUNC,
- memmove__Lorg_eclipse_swt_internal_carbon_GDevice_2II_FUNC,
- memmove__Lorg_eclipse_swt_internal_carbon_HMHelpContentRec_2II_FUNC,
- memmove__Lorg_eclipse_swt_internal_carbon_NavCBRec_2II_FUNC,
- memmove__Lorg_eclipse_swt_internal_carbon_NavFileOrFolderInfo_2II_FUNC,
- memmove__Lorg_eclipse_swt_internal_carbon_NavMenuItemSpec_2II_FUNC,
- memmove__Lorg_eclipse_swt_internal_carbon_PixMap_2II_FUNC,
- memmove__Lorg_eclipse_swt_internal_carbon_Point_2_3II_FUNC,
- memmove__Lorg_eclipse_swt_internal_carbon_RGBColor_2II_FUNC,
- memmove__Lorg_eclipse_swt_internal_carbon_Rect_2II_FUNC,
- memmove__Lorg_eclipse_swt_internal_carbon_TextRange_2II_FUNC,
- memmove___3C_3BI_FUNC,
- memmove___3ILorg_eclipse_swt_internal_carbon_TXNTab_2I_FUNC,
-} OS_FUNCS;
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os_structs.c b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os_structs.c
deleted file mode 100644
index 014a80ef91..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os_structs.c
+++ /dev/null
@@ -1,3759 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2008 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-
-#include "swt.h"
-#include "os_structs.h"
-
-#ifndef NO_AEDesc
-typedef struct AEDesc_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID descriptorType, dataHandle;
-} AEDesc_FID_CACHE;
-
-AEDesc_FID_CACHE AEDescFc;
-
-void cacheAEDescFields(JNIEnv *env, jobject lpObject)
-{
- if (AEDescFc.cached) return;
- AEDescFc.clazz = (*env)->GetObjectClass(env, lpObject);
- AEDescFc.descriptorType = (*env)->GetFieldID(env, AEDescFc.clazz, "descriptorType", "I");
- AEDescFc.dataHandle = (*env)->GetFieldID(env, AEDescFc.clazz, "dataHandle", "I");
- AEDescFc.cached = 1;
-}
-
-AEDesc *getAEDescFields(JNIEnv *env, jobject lpObject, AEDesc *lpStruct)
-{
- if (!AEDescFc.cached) cacheAEDescFields(env, lpObject);
- lpStruct->descriptorType = (DescType)(*env)->GetIntField(env, lpObject, AEDescFc.descriptorType);
- lpStruct->dataHandle = (AEDataStorage)(*env)->GetIntField(env, lpObject, AEDescFc.dataHandle);
- return lpStruct;
-}
-
-void setAEDescFields(JNIEnv *env, jobject lpObject, AEDesc *lpStruct)
-{
- if (!AEDescFc.cached) cacheAEDescFields(env, lpObject);
- (*env)->SetIntField(env, lpObject, AEDescFc.descriptorType, (jint)lpStruct->descriptorType);
- (*env)->SetIntField(env, lpObject, AEDescFc.dataHandle, (jint)lpStruct->dataHandle);
-}
-#endif
-
-#ifndef NO_ATSFontMetrics
-typedef struct ATSFontMetrics_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID version, ascent, descent, leading, avgAdvanceWidth, maxAdvanceWidth, minLeftSideBearing, minRightSideBearing, stemWidth, stemHeight, capHeight, xHeight, italicAngle, underlinePosition, underlineThickness;
-} ATSFontMetrics_FID_CACHE;
-
-ATSFontMetrics_FID_CACHE ATSFontMetricsFc;
-
-void cacheATSFontMetricsFields(JNIEnv *env, jobject lpObject)
-{
- if (ATSFontMetricsFc.cached) return;
- ATSFontMetricsFc.clazz = (*env)->GetObjectClass(env, lpObject);
- ATSFontMetricsFc.version = (*env)->GetFieldID(env, ATSFontMetricsFc.clazz, "version", "I");
- ATSFontMetricsFc.ascent = (*env)->GetFieldID(env, ATSFontMetricsFc.clazz, "ascent", "F");
- ATSFontMetricsFc.descent = (*env)->GetFieldID(env, ATSFontMetricsFc.clazz, "descent", "F");
- ATSFontMetricsFc.leading = (*env)->GetFieldID(env, ATSFontMetricsFc.clazz, "leading", "F");
- ATSFontMetricsFc.avgAdvanceWidth = (*env)->GetFieldID(env, ATSFontMetricsFc.clazz, "avgAdvanceWidth", "F");
- ATSFontMetricsFc.maxAdvanceWidth = (*env)->GetFieldID(env, ATSFontMetricsFc.clazz, "maxAdvanceWidth", "F");
- ATSFontMetricsFc.minLeftSideBearing = (*env)->GetFieldID(env, ATSFontMetricsFc.clazz, "minLeftSideBearing", "F");
- ATSFontMetricsFc.minRightSideBearing = (*env)->GetFieldID(env, ATSFontMetricsFc.clazz, "minRightSideBearing", "F");
- ATSFontMetricsFc.stemWidth = (*env)->GetFieldID(env, ATSFontMetricsFc.clazz, "stemWidth", "F");
- ATSFontMetricsFc.stemHeight = (*env)->GetFieldID(env, ATSFontMetricsFc.clazz, "stemHeight", "F");
- ATSFontMetricsFc.capHeight = (*env)->GetFieldID(env, ATSFontMetricsFc.clazz, "capHeight", "F");
- ATSFontMetricsFc.xHeight = (*env)->GetFieldID(env, ATSFontMetricsFc.clazz, "xHeight", "F");
- ATSFontMetricsFc.italicAngle = (*env)->GetFieldID(env, ATSFontMetricsFc.clazz, "italicAngle", "F");
- ATSFontMetricsFc.underlinePosition = (*env)->GetFieldID(env, ATSFontMetricsFc.clazz, "underlinePosition", "F");
- ATSFontMetricsFc.underlineThickness = (*env)->GetFieldID(env, ATSFontMetricsFc.clazz, "underlineThickness", "F");
- ATSFontMetricsFc.cached = 1;
-}
-
-ATSFontMetrics *getATSFontMetricsFields(JNIEnv *env, jobject lpObject, ATSFontMetrics *lpStruct)
-{
- if (!ATSFontMetricsFc.cached) cacheATSFontMetricsFields(env, lpObject);
- lpStruct->version = (*env)->GetIntField(env, lpObject, ATSFontMetricsFc.version);
- lpStruct->ascent = (*env)->GetFloatField(env, lpObject, ATSFontMetricsFc.ascent);
- lpStruct->descent = (*env)->GetFloatField(env, lpObject, ATSFontMetricsFc.descent);
- lpStruct->leading = (*env)->GetFloatField(env, lpObject, ATSFontMetricsFc.leading);
- lpStruct->avgAdvanceWidth = (*env)->GetFloatField(env, lpObject, ATSFontMetricsFc.avgAdvanceWidth);
- lpStruct->maxAdvanceWidth = (*env)->GetFloatField(env, lpObject, ATSFontMetricsFc.maxAdvanceWidth);
- lpStruct->minLeftSideBearing = (*env)->GetFloatField(env, lpObject, ATSFontMetricsFc.minLeftSideBearing);
- lpStruct->minRightSideBearing = (*env)->GetFloatField(env, lpObject, ATSFontMetricsFc.minRightSideBearing);
- lpStruct->stemWidth = (*env)->GetFloatField(env, lpObject, ATSFontMetricsFc.stemWidth);
- lpStruct->stemHeight = (*env)->GetFloatField(env, lpObject, ATSFontMetricsFc.stemHeight);
- lpStruct->capHeight = (*env)->GetFloatField(env, lpObject, ATSFontMetricsFc.capHeight);
- lpStruct->xHeight = (*env)->GetFloatField(env, lpObject, ATSFontMetricsFc.xHeight);
- lpStruct->italicAngle = (*env)->GetFloatField(env, lpObject, ATSFontMetricsFc.italicAngle);
- lpStruct->underlinePosition = (*env)->GetFloatField(env, lpObject, ATSFontMetricsFc.underlinePosition);
- lpStruct->underlineThickness = (*env)->GetFloatField(env, lpObject, ATSFontMetricsFc.underlineThickness);
- return lpStruct;
-}
-
-void setATSFontMetricsFields(JNIEnv *env, jobject lpObject, ATSFontMetrics *lpStruct)
-{
- if (!ATSFontMetricsFc.cached) cacheATSFontMetricsFields(env, lpObject);
- (*env)->SetIntField(env, lpObject, ATSFontMetricsFc.version, (jint)lpStruct->version);
- (*env)->SetFloatField(env, lpObject, ATSFontMetricsFc.ascent, (jfloat)lpStruct->ascent);
- (*env)->SetFloatField(env, lpObject, ATSFontMetricsFc.descent, (jfloat)lpStruct->descent);
- (*env)->SetFloatField(env, lpObject, ATSFontMetricsFc.leading, (jfloat)lpStruct->leading);
- (*env)->SetFloatField(env, lpObject, ATSFontMetricsFc.avgAdvanceWidth, (jfloat)lpStruct->avgAdvanceWidth);
- (*env)->SetFloatField(env, lpObject, ATSFontMetricsFc.maxAdvanceWidth, (jfloat)lpStruct->maxAdvanceWidth);
- (*env)->SetFloatField(env, lpObject, ATSFontMetricsFc.minLeftSideBearing, (jfloat)lpStruct->minLeftSideBearing);
- (*env)->SetFloatField(env, lpObject, ATSFontMetricsFc.minRightSideBearing, (jfloat)lpStruct->minRightSideBearing);
- (*env)->SetFloatField(env, lpObject, ATSFontMetricsFc.stemWidth, (jfloat)lpStruct->stemWidth);
- (*env)->SetFloatField(env, lpObject, ATSFontMetricsFc.stemHeight, (jfloat)lpStruct->stemHeight);
- (*env)->SetFloatField(env, lpObject, ATSFontMetricsFc.capHeight, (jfloat)lpStruct->capHeight);
- (*env)->SetFloatField(env, lpObject, ATSFontMetricsFc.xHeight, (jfloat)lpStruct->xHeight);
- (*env)->SetFloatField(env, lpObject, ATSFontMetricsFc.italicAngle, (jfloat)lpStruct->italicAngle);
- (*env)->SetFloatField(env, lpObject, ATSFontMetricsFc.underlinePosition, (jfloat)lpStruct->underlinePosition);
- (*env)->SetFloatField(env, lpObject, ATSFontMetricsFc.underlineThickness, (jfloat)lpStruct->underlineThickness);
-}
-#endif
-
-#ifndef NO_ATSLayoutRecord
-typedef struct ATSLayoutRecord_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID glyphID, flags, originalOffset, realPos;
-} ATSLayoutRecord_FID_CACHE;
-
-ATSLayoutRecord_FID_CACHE ATSLayoutRecordFc;
-
-void cacheATSLayoutRecordFields(JNIEnv *env, jobject lpObject)
-{
- if (ATSLayoutRecordFc.cached) return;
- ATSLayoutRecordFc.clazz = (*env)->GetObjectClass(env, lpObject);
- ATSLayoutRecordFc.glyphID = (*env)->GetFieldID(env, ATSLayoutRecordFc.clazz, "glyphID", "S");
- ATSLayoutRecordFc.flags = (*env)->GetFieldID(env, ATSLayoutRecordFc.clazz, "flags", "I");
- ATSLayoutRecordFc.originalOffset = (*env)->GetFieldID(env, ATSLayoutRecordFc.clazz, "originalOffset", "I");
- ATSLayoutRecordFc.realPos = (*env)->GetFieldID(env, ATSLayoutRecordFc.clazz, "realPos", "I");
- ATSLayoutRecordFc.cached = 1;
-}
-
-ATSLayoutRecord *getATSLayoutRecordFields(JNIEnv *env, jobject lpObject, ATSLayoutRecord *lpStruct)
-{
- if (!ATSLayoutRecordFc.cached) cacheATSLayoutRecordFields(env, lpObject);
- lpStruct->glyphID = (*env)->GetShortField(env, lpObject, ATSLayoutRecordFc.glyphID);
- lpStruct->flags = (*env)->GetIntField(env, lpObject, ATSLayoutRecordFc.flags);
- lpStruct->originalOffset = (*env)->GetIntField(env, lpObject, ATSLayoutRecordFc.originalOffset);
- lpStruct->realPos = (*env)->GetIntField(env, lpObject, ATSLayoutRecordFc.realPos);
- return lpStruct;
-}
-
-void setATSLayoutRecordFields(JNIEnv *env, jobject lpObject, ATSLayoutRecord *lpStruct)
-{
- if (!ATSLayoutRecordFc.cached) cacheATSLayoutRecordFields(env, lpObject);
- (*env)->SetShortField(env, lpObject, ATSLayoutRecordFc.glyphID, (jshort)lpStruct->glyphID);
- (*env)->SetIntField(env, lpObject, ATSLayoutRecordFc.flags, (jint)lpStruct->flags);
- (*env)->SetIntField(env, lpObject, ATSLayoutRecordFc.originalOffset, (jint)lpStruct->originalOffset);
- (*env)->SetIntField(env, lpObject, ATSLayoutRecordFc.realPos, (jint)lpStruct->realPos);
-}
-#endif
-
-#ifndef NO_ATSTrapezoid
-typedef struct ATSTrapezoid_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID upperLeft_x, upperLeft_y, upperRight_x, upperRight_y, lowerRight_x, lowerRight_y, lowerLeft_x, lowerLeft_y;
-} ATSTrapezoid_FID_CACHE;
-
-ATSTrapezoid_FID_CACHE ATSTrapezoidFc;
-
-void cacheATSTrapezoidFields(JNIEnv *env, jobject lpObject)
-{
- if (ATSTrapezoidFc.cached) return;
- ATSTrapezoidFc.clazz = (*env)->GetObjectClass(env, lpObject);
- ATSTrapezoidFc.upperLeft_x = (*env)->GetFieldID(env, ATSTrapezoidFc.clazz, "upperLeft_x", "I");
- ATSTrapezoidFc.upperLeft_y = (*env)->GetFieldID(env, ATSTrapezoidFc.clazz, "upperLeft_y", "I");
- ATSTrapezoidFc.upperRight_x = (*env)->GetFieldID(env, ATSTrapezoidFc.clazz, "upperRight_x", "I");
- ATSTrapezoidFc.upperRight_y = (*env)->GetFieldID(env, ATSTrapezoidFc.clazz, "upperRight_y", "I");
- ATSTrapezoidFc.lowerRight_x = (*env)->GetFieldID(env, ATSTrapezoidFc.clazz, "lowerRight_x", "I");
- ATSTrapezoidFc.lowerRight_y = (*env)->GetFieldID(env, ATSTrapezoidFc.clazz, "lowerRight_y", "I");
- ATSTrapezoidFc.lowerLeft_x = (*env)->GetFieldID(env, ATSTrapezoidFc.clazz, "lowerLeft_x", "I");
- ATSTrapezoidFc.lowerLeft_y = (*env)->GetFieldID(env, ATSTrapezoidFc.clazz, "lowerLeft_y", "I");
- ATSTrapezoidFc.cached = 1;
-}
-
-ATSTrapezoid *getATSTrapezoidFields(JNIEnv *env, jobject lpObject, ATSTrapezoid *lpStruct)
-{
- if (!ATSTrapezoidFc.cached) cacheATSTrapezoidFields(env, lpObject);
- lpStruct->upperLeft.x = (*env)->GetIntField(env, lpObject, ATSTrapezoidFc.upperLeft_x);
- lpStruct->upperLeft.y = (*env)->GetIntField(env, lpObject, ATSTrapezoidFc.upperLeft_y);
- lpStruct->upperRight.x = (*env)->GetIntField(env, lpObject, ATSTrapezoidFc.upperRight_x);
- lpStruct->upperRight.y = (*env)->GetIntField(env, lpObject, ATSTrapezoidFc.upperRight_y);
- lpStruct->lowerRight.x = (*env)->GetIntField(env, lpObject, ATSTrapezoidFc.lowerRight_x);
- lpStruct->lowerRight.y = (*env)->GetIntField(env, lpObject, ATSTrapezoidFc.lowerRight_y);
- lpStruct->lowerLeft.x = (*env)->GetIntField(env, lpObject, ATSTrapezoidFc.lowerLeft_x);
- lpStruct->lowerLeft.y = (*env)->GetIntField(env, lpObject, ATSTrapezoidFc.lowerLeft_y);
- return lpStruct;
-}
-
-void setATSTrapezoidFields(JNIEnv *env, jobject lpObject, ATSTrapezoid *lpStruct)
-{
- if (!ATSTrapezoidFc.cached) cacheATSTrapezoidFields(env, lpObject);
- (*env)->SetIntField(env, lpObject, ATSTrapezoidFc.upperLeft_x, (jint)lpStruct->upperLeft.x);
- (*env)->SetIntField(env, lpObject, ATSTrapezoidFc.upperLeft_y, (jint)lpStruct->upperLeft.y);
- (*env)->SetIntField(env, lpObject, ATSTrapezoidFc.upperRight_x, (jint)lpStruct->upperRight.x);
- (*env)->SetIntField(env, lpObject, ATSTrapezoidFc.upperRight_y, (jint)lpStruct->upperRight.y);
- (*env)->SetIntField(env, lpObject, ATSTrapezoidFc.lowerRight_x, (jint)lpStruct->lowerRight.x);
- (*env)->SetIntField(env, lpObject, ATSTrapezoidFc.lowerRight_y, (jint)lpStruct->lowerRight.y);
- (*env)->SetIntField(env, lpObject, ATSTrapezoidFc.lowerLeft_x, (jint)lpStruct->lowerLeft.x);
- (*env)->SetIntField(env, lpObject, ATSTrapezoidFc.lowerLeft_y, (jint)lpStruct->lowerLeft.y);
-}
-#endif
-
-#ifndef NO_ATSUCaret
-typedef struct ATSUCaret_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID fX, fY, fDeltaX, fDeltaY;
-} ATSUCaret_FID_CACHE;
-
-ATSUCaret_FID_CACHE ATSUCaretFc;
-
-void cacheATSUCaretFields(JNIEnv *env, jobject lpObject)
-{
- if (ATSUCaretFc.cached) return;
- ATSUCaretFc.clazz = (*env)->GetObjectClass(env, lpObject);
- ATSUCaretFc.fX = (*env)->GetFieldID(env, ATSUCaretFc.clazz, "fX", "I");
- ATSUCaretFc.fY = (*env)->GetFieldID(env, ATSUCaretFc.clazz, "fY", "I");
- ATSUCaretFc.fDeltaX = (*env)->GetFieldID(env, ATSUCaretFc.clazz, "fDeltaX", "I");
- ATSUCaretFc.fDeltaY = (*env)->GetFieldID(env, ATSUCaretFc.clazz, "fDeltaY", "I");
- ATSUCaretFc.cached = 1;
-}
-
-ATSUCaret *getATSUCaretFields(JNIEnv *env, jobject lpObject, ATSUCaret *lpStruct)
-{
- if (!ATSUCaretFc.cached) cacheATSUCaretFields(env, lpObject);
- lpStruct->fX = (*env)->GetIntField(env, lpObject, ATSUCaretFc.fX);
- lpStruct->fY = (*env)->GetIntField(env, lpObject, ATSUCaretFc.fY);
- lpStruct->fDeltaX = (*env)->GetIntField(env, lpObject, ATSUCaretFc.fDeltaX);
- lpStruct->fDeltaY = (*env)->GetIntField(env, lpObject, ATSUCaretFc.fDeltaY);
- return lpStruct;
-}
-
-void setATSUCaretFields(JNIEnv *env, jobject lpObject, ATSUCaret *lpStruct)
-{
- if (!ATSUCaretFc.cached) cacheATSUCaretFields(env, lpObject);
- (*env)->SetIntField(env, lpObject, ATSUCaretFc.fX, (jint)lpStruct->fX);
- (*env)->SetIntField(env, lpObject, ATSUCaretFc.fY, (jint)lpStruct->fY);
- (*env)->SetIntField(env, lpObject, ATSUCaretFc.fDeltaX, (jint)lpStruct->fDeltaX);
- (*env)->SetIntField(env, lpObject, ATSUCaretFc.fDeltaY, (jint)lpStruct->fDeltaY);
-}
-#endif
-
-#ifndef NO_ATSUTab
-typedef struct ATSUTab_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID tabPosition, tabType;
-} ATSUTab_FID_CACHE;
-
-ATSUTab_FID_CACHE ATSUTabFc;
-
-void cacheATSUTabFields(JNIEnv *env, jobject lpObject)
-{
- if (ATSUTabFc.cached) return;
- ATSUTabFc.clazz = (*env)->GetObjectClass(env, lpObject);
- ATSUTabFc.tabPosition = (*env)->GetFieldID(env, ATSUTabFc.clazz, "tabPosition", "I");
- ATSUTabFc.tabType = (*env)->GetFieldID(env, ATSUTabFc.clazz, "tabType", "S");
- ATSUTabFc.cached = 1;
-}
-
-ATSUTab *getATSUTabFields(JNIEnv *env, jobject lpObject, ATSUTab *lpStruct)
-{
- if (!ATSUTabFc.cached) cacheATSUTabFields(env, lpObject);
- lpStruct->tabPosition = (*env)->GetIntField(env, lpObject, ATSUTabFc.tabPosition);
- lpStruct->tabType = (*env)->GetShortField(env, lpObject, ATSUTabFc.tabType);
- return lpStruct;
-}
-
-void setATSUTabFields(JNIEnv *env, jobject lpObject, ATSUTab *lpStruct)
-{
- if (!ATSUTabFc.cached) cacheATSUTabFields(env, lpObject);
- (*env)->SetIntField(env, lpObject, ATSUTabFc.tabPosition, (jint)lpStruct->tabPosition);
- (*env)->SetShortField(env, lpObject, ATSUTabFc.tabType, (jshort)lpStruct->tabType);
-}
-#endif
-
-#ifndef NO_ATSUUnhighlightData
-typedef struct ATSUUnhighlightData_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID dataType, red, green, blue, alpha;
-} ATSUUnhighlightData_FID_CACHE;
-
-ATSUUnhighlightData_FID_CACHE ATSUUnhighlightDataFc;
-
-void cacheATSUUnhighlightDataFields(JNIEnv *env, jobject lpObject)
-{
- if (ATSUUnhighlightDataFc.cached) return;
- ATSUUnhighlightDataFc.clazz = (*env)->GetObjectClass(env, lpObject);
- ATSUUnhighlightDataFc.dataType = (*env)->GetFieldID(env, ATSUUnhighlightDataFc.clazz, "dataType", "I");
- ATSUUnhighlightDataFc.red = (*env)->GetFieldID(env, ATSUUnhighlightDataFc.clazz, "red", "F");
- ATSUUnhighlightDataFc.green = (*env)->GetFieldID(env, ATSUUnhighlightDataFc.clazz, "green", "F");
- ATSUUnhighlightDataFc.blue = (*env)->GetFieldID(env, ATSUUnhighlightDataFc.clazz, "blue", "F");
- ATSUUnhighlightDataFc.alpha = (*env)->GetFieldID(env, ATSUUnhighlightDataFc.clazz, "alpha", "F");
- ATSUUnhighlightDataFc.cached = 1;
-}
-
-ATSUUnhighlightData *getATSUUnhighlightDataFields(JNIEnv *env, jobject lpObject, ATSUUnhighlightData *lpStruct)
-{
- if (!ATSUUnhighlightDataFc.cached) cacheATSUUnhighlightDataFields(env, lpObject);
- lpStruct->dataType = (*env)->GetIntField(env, lpObject, ATSUUnhighlightDataFc.dataType);
- lpStruct->unhighlightData.backgroundColor.red = (*env)->GetFloatField(env, lpObject, ATSUUnhighlightDataFc.red);
- lpStruct->unhighlightData.backgroundColor.green = (*env)->GetFloatField(env, lpObject, ATSUUnhighlightDataFc.green);
- lpStruct->unhighlightData.backgroundColor.blue = (*env)->GetFloatField(env, lpObject, ATSUUnhighlightDataFc.blue);
- lpStruct->unhighlightData.backgroundColor.alpha = (*env)->GetFloatField(env, lpObject, ATSUUnhighlightDataFc.alpha);
- return lpStruct;
-}
-
-void setATSUUnhighlightDataFields(JNIEnv *env, jobject lpObject, ATSUUnhighlightData *lpStruct)
-{
- if (!ATSUUnhighlightDataFc.cached) cacheATSUUnhighlightDataFields(env, lpObject);
- (*env)->SetIntField(env, lpObject, ATSUUnhighlightDataFc.dataType, (jint)lpStruct->dataType);
- (*env)->SetFloatField(env, lpObject, ATSUUnhighlightDataFc.red, (jfloat)lpStruct->unhighlightData.backgroundColor.red);
- (*env)->SetFloatField(env, lpObject, ATSUUnhighlightDataFc.green, (jfloat)lpStruct->unhighlightData.backgroundColor.green);
- (*env)->SetFloatField(env, lpObject, ATSUUnhighlightDataFc.blue, (jfloat)lpStruct->unhighlightData.backgroundColor.blue);
- (*env)->SetFloatField(env, lpObject, ATSUUnhighlightDataFc.alpha, (jfloat)lpStruct->unhighlightData.backgroundColor.alpha);
-}
-#endif
-
-#ifndef NO_AlertStdCFStringAlertParamRec
-typedef struct AlertStdCFStringAlertParamRec_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID version, movable, helpButton, defaultText, cancelText, otherText, defaultButton, cancelButton, position, flags;
-} AlertStdCFStringAlertParamRec_FID_CACHE;
-
-AlertStdCFStringAlertParamRec_FID_CACHE AlertStdCFStringAlertParamRecFc;
-
-void cacheAlertStdCFStringAlertParamRecFields(JNIEnv *env, jobject lpObject)
-{
- if (AlertStdCFStringAlertParamRecFc.cached) return;
- AlertStdCFStringAlertParamRecFc.clazz = (*env)->GetObjectClass(env, lpObject);
- AlertStdCFStringAlertParamRecFc.version = (*env)->GetFieldID(env, AlertStdCFStringAlertParamRecFc.clazz, "version", "I");
- AlertStdCFStringAlertParamRecFc.movable = (*env)->GetFieldID(env, AlertStdCFStringAlertParamRecFc.clazz, "movable", "Z");
- AlertStdCFStringAlertParamRecFc.helpButton = (*env)->GetFieldID(env, AlertStdCFStringAlertParamRecFc.clazz, "helpButton", "Z");
- AlertStdCFStringAlertParamRecFc.defaultText = (*env)->GetFieldID(env, AlertStdCFStringAlertParamRecFc.clazz, "defaultText", "I");
- AlertStdCFStringAlertParamRecFc.cancelText = (*env)->GetFieldID(env, AlertStdCFStringAlertParamRecFc.clazz, "cancelText", "I");
- AlertStdCFStringAlertParamRecFc.otherText = (*env)->GetFieldID(env, AlertStdCFStringAlertParamRecFc.clazz, "otherText", "I");
- AlertStdCFStringAlertParamRecFc.defaultButton = (*env)->GetFieldID(env, AlertStdCFStringAlertParamRecFc.clazz, "defaultButton", "S");
- AlertStdCFStringAlertParamRecFc.cancelButton = (*env)->GetFieldID(env, AlertStdCFStringAlertParamRecFc.clazz, "cancelButton", "S");
- AlertStdCFStringAlertParamRecFc.position = (*env)->GetFieldID(env, AlertStdCFStringAlertParamRecFc.clazz, "position", "S");
- AlertStdCFStringAlertParamRecFc.flags = (*env)->GetFieldID(env, AlertStdCFStringAlertParamRecFc.clazz, "flags", "I");
- AlertStdCFStringAlertParamRecFc.cached = 1;
-}
-
-AlertStdCFStringAlertParamRec *getAlertStdCFStringAlertParamRecFields(JNIEnv *env, jobject lpObject, AlertStdCFStringAlertParamRec *lpStruct)
-{
- if (!AlertStdCFStringAlertParamRecFc.cached) cacheAlertStdCFStringAlertParamRecFields(env, lpObject);
- lpStruct->version = (*env)->GetIntField(env, lpObject, AlertStdCFStringAlertParamRecFc.version);
- lpStruct->movable = (*env)->GetBooleanField(env, lpObject, AlertStdCFStringAlertParamRecFc.movable);
- lpStruct->helpButton = (*env)->GetBooleanField(env, lpObject, AlertStdCFStringAlertParamRecFc.helpButton);
- lpStruct->defaultText = (CFStringRef)(*env)->GetIntField(env, lpObject, AlertStdCFStringAlertParamRecFc.defaultText);
- lpStruct->cancelText = (CFStringRef)(*env)->GetIntField(env, lpObject, AlertStdCFStringAlertParamRecFc.cancelText);
- lpStruct->otherText = (CFStringRef)(*env)->GetIntField(env, lpObject, AlertStdCFStringAlertParamRecFc.otherText);
- lpStruct->defaultButton = (*env)->GetShortField(env, lpObject, AlertStdCFStringAlertParamRecFc.defaultButton);
- lpStruct->cancelButton = (*env)->GetShortField(env, lpObject, AlertStdCFStringAlertParamRecFc.cancelButton);
- lpStruct->position = (*env)->GetShortField(env, lpObject, AlertStdCFStringAlertParamRecFc.position);
- lpStruct->flags = (*env)->GetIntField(env, lpObject, AlertStdCFStringAlertParamRecFc.flags);
- return lpStruct;
-}
-
-void setAlertStdCFStringAlertParamRecFields(JNIEnv *env, jobject lpObject, AlertStdCFStringAlertParamRec *lpStruct)
-{
- if (!AlertStdCFStringAlertParamRecFc.cached) cacheAlertStdCFStringAlertParamRecFields(env, lpObject);
- (*env)->SetIntField(env, lpObject, AlertStdCFStringAlertParamRecFc.version, (jint)lpStruct->version);
- (*env)->SetBooleanField(env, lpObject, AlertStdCFStringAlertParamRecFc.movable, (jboolean)lpStruct->movable);
- (*env)->SetBooleanField(env, lpObject, AlertStdCFStringAlertParamRecFc.helpButton, (jboolean)lpStruct->helpButton);
- (*env)->SetIntField(env, lpObject, AlertStdCFStringAlertParamRecFc.defaultText, (jint)lpStruct->defaultText);
- (*env)->SetIntField(env, lpObject, AlertStdCFStringAlertParamRecFc.cancelText, (jint)lpStruct->cancelText);
- (*env)->SetIntField(env, lpObject, AlertStdCFStringAlertParamRecFc.otherText, (jint)lpStruct->otherText);
- (*env)->SetShortField(env, lpObject, AlertStdCFStringAlertParamRecFc.defaultButton, (jshort)lpStruct->defaultButton);
- (*env)->SetShortField(env, lpObject, AlertStdCFStringAlertParamRecFc.cancelButton, (jshort)lpStruct->cancelButton);
- (*env)->SetShortField(env, lpObject, AlertStdCFStringAlertParamRecFc.position, (jshort)lpStruct->position);
- (*env)->SetIntField(env, lpObject, AlertStdCFStringAlertParamRecFc.flags, (jint)lpStruct->flags);
-}
-#endif
-
-#ifndef NO_BitMap
-typedef struct BitMap_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID baseAddr, rowBytes, top, left, bottom, right;
-} BitMap_FID_CACHE;
-
-BitMap_FID_CACHE BitMapFc;
-
-void cacheBitMapFields(JNIEnv *env, jobject lpObject)
-{
- if (BitMapFc.cached) return;
- BitMapFc.clazz = (*env)->GetObjectClass(env, lpObject);
- BitMapFc.baseAddr = (*env)->GetFieldID(env, BitMapFc.clazz, "baseAddr", "I");
- BitMapFc.rowBytes = (*env)->GetFieldID(env, BitMapFc.clazz, "rowBytes", "S");
- BitMapFc.top = (*env)->GetFieldID(env, BitMapFc.clazz, "top", "S");
- BitMapFc.left = (*env)->GetFieldID(env, BitMapFc.clazz, "left", "S");
- BitMapFc.bottom = (*env)->GetFieldID(env, BitMapFc.clazz, "bottom", "S");
- BitMapFc.right = (*env)->GetFieldID(env, BitMapFc.clazz, "right", "S");
- BitMapFc.cached = 1;
-}
-
-BitMap *getBitMapFields(JNIEnv *env, jobject lpObject, BitMap *lpStruct)
-{
- if (!BitMapFc.cached) cacheBitMapFields(env, lpObject);
- lpStruct->baseAddr = (void *)(*env)->GetIntField(env, lpObject, BitMapFc.baseAddr);
- lpStruct->rowBytes = (*env)->GetShortField(env, lpObject, BitMapFc.rowBytes);
- lpStruct->bounds.top = (*env)->GetShortField(env, lpObject, BitMapFc.top);
- lpStruct->bounds.left = (*env)->GetShortField(env, lpObject, BitMapFc.left);
- lpStruct->bounds.bottom = (*env)->GetShortField(env, lpObject, BitMapFc.bottom);
- lpStruct->bounds.right = (*env)->GetShortField(env, lpObject, BitMapFc.right);
- return lpStruct;
-}
-
-void setBitMapFields(JNIEnv *env, jobject lpObject, BitMap *lpStruct)
-{
- if (!BitMapFc.cached) cacheBitMapFields(env, lpObject);
- (*env)->SetIntField(env, lpObject, BitMapFc.baseAddr, (jint)lpStruct->baseAddr);
- (*env)->SetShortField(env, lpObject, BitMapFc.rowBytes, (jshort)lpStruct->rowBytes);
- (*env)->SetShortField(env, lpObject, BitMapFc.top, (jshort)lpStruct->bounds.top);
- (*env)->SetShortField(env, lpObject, BitMapFc.left, (jshort)lpStruct->bounds.left);
- (*env)->SetShortField(env, lpObject, BitMapFc.bottom, (jshort)lpStruct->bounds.bottom);
- (*env)->SetShortField(env, lpObject, BitMapFc.right, (jshort)lpStruct->bounds.right);
-}
-#endif
-
-#ifndef NO_CFRange
-typedef struct CFRange_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID location, length;
-} CFRange_FID_CACHE;
-
-CFRange_FID_CACHE CFRangeFc;
-
-void cacheCFRangeFields(JNIEnv *env, jobject lpObject)
-{
- if (CFRangeFc.cached) return;
- CFRangeFc.clazz = (*env)->GetObjectClass(env, lpObject);
- CFRangeFc.location = (*env)->GetFieldID(env, CFRangeFc.clazz, "location", "I");
- CFRangeFc.length = (*env)->GetFieldID(env, CFRangeFc.clazz, "length", "I");
- CFRangeFc.cached = 1;
-}
-
-CFRange *getCFRangeFields(JNIEnv *env, jobject lpObject, CFRange *lpStruct)
-{
- if (!CFRangeFc.cached) cacheCFRangeFields(env, lpObject);
- lpStruct->location = (CFIndex)(*env)->GetIntField(env, lpObject, CFRangeFc.location);
- lpStruct->length = (CFIndex)(*env)->GetIntField(env, lpObject, CFRangeFc.length);
- return lpStruct;
-}
-
-void setCFRangeFields(JNIEnv *env, jobject lpObject, CFRange *lpStruct)
-{
- if (!CFRangeFc.cached) cacheCFRangeFields(env, lpObject);
- (*env)->SetIntField(env, lpObject, CFRangeFc.location, (jint)lpStruct->location);
- (*env)->SetIntField(env, lpObject, CFRangeFc.length, (jint)lpStruct->length);
-}
-#endif
-
-#ifndef NO_CFRunLoopSourceContext
-typedef struct CFRunLoopSourceContext_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID version, info, retain, release, copyDescription, equal, hash, schedule, cancel, perform;
-} CFRunLoopSourceContext_FID_CACHE;
-
-CFRunLoopSourceContext_FID_CACHE CFRunLoopSourceContextFc;
-
-void cacheCFRunLoopSourceContextFields(JNIEnv *env, jobject lpObject)
-{
- if (CFRunLoopSourceContextFc.cached) return;
- CFRunLoopSourceContextFc.clazz = (*env)->GetObjectClass(env, lpObject);
- CFRunLoopSourceContextFc.version = (*env)->GetFieldID(env, CFRunLoopSourceContextFc.clazz, "version", "I");
- CFRunLoopSourceContextFc.info = (*env)->GetFieldID(env, CFRunLoopSourceContextFc.clazz, "info", "I");
- CFRunLoopSourceContextFc.retain = (*env)->GetFieldID(env, CFRunLoopSourceContextFc.clazz, "retain", "I");
- CFRunLoopSourceContextFc.release = (*env)->GetFieldID(env, CFRunLoopSourceContextFc.clazz, "release", "I");
- CFRunLoopSourceContextFc.copyDescription = (*env)->GetFieldID(env, CFRunLoopSourceContextFc.clazz, "copyDescription", "I");
- CFRunLoopSourceContextFc.equal = (*env)->GetFieldID(env, CFRunLoopSourceContextFc.clazz, "equal", "I");
- CFRunLoopSourceContextFc.hash = (*env)->GetFieldID(env, CFRunLoopSourceContextFc.clazz, "hash", "I");
- CFRunLoopSourceContextFc.schedule = (*env)->GetFieldID(env, CFRunLoopSourceContextFc.clazz, "schedule", "I");
- CFRunLoopSourceContextFc.cancel = (*env)->GetFieldID(env, CFRunLoopSourceContextFc.clazz, "cancel", "I");
- CFRunLoopSourceContextFc.perform = (*env)->GetFieldID(env, CFRunLoopSourceContextFc.clazz, "perform", "I");
- CFRunLoopSourceContextFc.cached = 1;
-}
-
-CFRunLoopSourceContext *getCFRunLoopSourceContextFields(JNIEnv *env, jobject lpObject, CFRunLoopSourceContext *lpStruct)
-{
- if (!CFRunLoopSourceContextFc.cached) cacheCFRunLoopSourceContextFields(env, lpObject);
- lpStruct->version = (CFIndex)(*env)->GetIntField(env, lpObject, CFRunLoopSourceContextFc.version);
- lpStruct->info = (void *)(*env)->GetIntField(env, lpObject, CFRunLoopSourceContextFc.info);
- lpStruct->retain = (void *)(*env)->GetIntField(env, lpObject, CFRunLoopSourceContextFc.retain);
- lpStruct->release = (void *)(*env)->GetIntField(env, lpObject, CFRunLoopSourceContextFc.release);
- lpStruct->copyDescription = (void *)(*env)->GetIntField(env, lpObject, CFRunLoopSourceContextFc.copyDescription);
- lpStruct->equal = (void *)(*env)->GetIntField(env, lpObject, CFRunLoopSourceContextFc.equal);
- lpStruct->hash = (void *)(*env)->GetIntField(env, lpObject, CFRunLoopSourceContextFc.hash);
- lpStruct->schedule = (void *)(*env)->GetIntField(env, lpObject, CFRunLoopSourceContextFc.schedule);
- lpStruct->cancel = (void *)(*env)->GetIntField(env, lpObject, CFRunLoopSourceContextFc.cancel);
- lpStruct->perform = (void *)(*env)->GetIntField(env, lpObject, CFRunLoopSourceContextFc.perform);
- return lpStruct;
-}
-
-void setCFRunLoopSourceContextFields(JNIEnv *env, jobject lpObject, CFRunLoopSourceContext *lpStruct)
-{
- if (!CFRunLoopSourceContextFc.cached) cacheCFRunLoopSourceContextFields(env, lpObject);
- (*env)->SetIntField(env, lpObject, CFRunLoopSourceContextFc.version, (jint)lpStruct->version);
- (*env)->SetIntField(env, lpObject, CFRunLoopSourceContextFc.info, (jint)lpStruct->info);
- (*env)->SetIntField(env, lpObject, CFRunLoopSourceContextFc.retain, (jint)lpStruct->retain);
- (*env)->SetIntField(env, lpObject, CFRunLoopSourceContextFc.release, (jint)lpStruct->release);
- (*env)->SetIntField(env, lpObject, CFRunLoopSourceContextFc.copyDescription, (jint)lpStruct->copyDescription);
- (*env)->SetIntField(env, lpObject, CFRunLoopSourceContextFc.equal, (jint)lpStruct->equal);
- (*env)->SetIntField(env, lpObject, CFRunLoopSourceContextFc.hash, (jint)lpStruct->hash);
- (*env)->SetIntField(env, lpObject, CFRunLoopSourceContextFc.schedule, (jint)lpStruct->schedule);
- (*env)->SetIntField(env, lpObject, CFRunLoopSourceContextFc.cancel, (jint)lpStruct->cancel);
- (*env)->SetIntField(env, lpObject, CFRunLoopSourceContextFc.perform, (jint)lpStruct->perform);
-}
-#endif
-
-#ifndef NO_CGFunctionCallbacks
-typedef struct CGFunctionCallbacks_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID version, evaluate, releaseInfo;
-} CGFunctionCallbacks_FID_CACHE;
-
-CGFunctionCallbacks_FID_CACHE CGFunctionCallbacksFc;
-
-void cacheCGFunctionCallbacksFields(JNIEnv *env, jobject lpObject)
-{
- if (CGFunctionCallbacksFc.cached) return;
- CGFunctionCallbacksFc.clazz = (*env)->GetObjectClass(env, lpObject);
- CGFunctionCallbacksFc.version = (*env)->GetFieldID(env, CGFunctionCallbacksFc.clazz, "version", "I");
- CGFunctionCallbacksFc.evaluate = (*env)->GetFieldID(env, CGFunctionCallbacksFc.clazz, "evaluate", "I");
- CGFunctionCallbacksFc.releaseInfo = (*env)->GetFieldID(env, CGFunctionCallbacksFc.clazz, "releaseInfo", "I");
- CGFunctionCallbacksFc.cached = 1;
-}
-
-CGFunctionCallbacks *getCGFunctionCallbacksFields(JNIEnv *env, jobject lpObject, CGFunctionCallbacks *lpStruct)
-{
- if (!CGFunctionCallbacksFc.cached) cacheCGFunctionCallbacksFields(env, lpObject);
- lpStruct->version = (*env)->GetIntField(env, lpObject, CGFunctionCallbacksFc.version);
- lpStruct->evaluate = (CGFunctionEvaluateCallback)(*env)->GetIntField(env, lpObject, CGFunctionCallbacksFc.evaluate);
- lpStruct->releaseInfo = (CGFunctionReleaseInfoCallback)(*env)->GetIntField(env, lpObject, CGFunctionCallbacksFc.releaseInfo);
- return lpStruct;
-}
-
-void setCGFunctionCallbacksFields(JNIEnv *env, jobject lpObject, CGFunctionCallbacks *lpStruct)
-{
- if (!CGFunctionCallbacksFc.cached) cacheCGFunctionCallbacksFields(env, lpObject);
- (*env)->SetIntField(env, lpObject, CGFunctionCallbacksFc.version, (jint)lpStruct->version);
- (*env)->SetIntField(env, lpObject, CGFunctionCallbacksFc.evaluate, (jint)lpStruct->evaluate);
- (*env)->SetIntField(env, lpObject, CGFunctionCallbacksFc.releaseInfo, (jint)lpStruct->releaseInfo);
-}
-#endif
-
-#ifndef NO_CGPathElement
-typedef struct CGPathElement_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID type, points;
-} CGPathElement_FID_CACHE;
-
-CGPathElement_FID_CACHE CGPathElementFc;
-
-void cacheCGPathElementFields(JNIEnv *env, jobject lpObject)
-{
- if (CGPathElementFc.cached) return;
- CGPathElementFc.clazz = (*env)->GetObjectClass(env, lpObject);
- CGPathElementFc.type = (*env)->GetFieldID(env, CGPathElementFc.clazz, "type", "I");
- CGPathElementFc.points = (*env)->GetFieldID(env, CGPathElementFc.clazz, "points", "I");
- CGPathElementFc.cached = 1;
-}
-
-CGPathElement *getCGPathElementFields(JNIEnv *env, jobject lpObject, CGPathElement *lpStruct)
-{
- if (!CGPathElementFc.cached) cacheCGPathElementFields(env, lpObject);
- lpStruct->type = (CGPathElementType)(*env)->GetIntField(env, lpObject, CGPathElementFc.type);
- lpStruct->points = (CGPoint *)(*env)->GetIntField(env, lpObject, CGPathElementFc.points);
- return lpStruct;
-}
-
-void setCGPathElementFields(JNIEnv *env, jobject lpObject, CGPathElement *lpStruct)
-{
- if (!CGPathElementFc.cached) cacheCGPathElementFields(env, lpObject);
- (*env)->SetIntField(env, lpObject, CGPathElementFc.type, (jint)lpStruct->type);
- (*env)->SetIntField(env, lpObject, CGPathElementFc.points, (jint)lpStruct->points);
-}
-#endif
-
-#ifndef NO_CGPatternCallbacks
-typedef struct CGPatternCallbacks_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID version, drawPattern, releaseInfo;
-} CGPatternCallbacks_FID_CACHE;
-
-CGPatternCallbacks_FID_CACHE CGPatternCallbacksFc;
-
-void cacheCGPatternCallbacksFields(JNIEnv *env, jobject lpObject)
-{
- if (CGPatternCallbacksFc.cached) return;
- CGPatternCallbacksFc.clazz = (*env)->GetObjectClass(env, lpObject);
- CGPatternCallbacksFc.version = (*env)->GetFieldID(env, CGPatternCallbacksFc.clazz, "version", "I");
- CGPatternCallbacksFc.drawPattern = (*env)->GetFieldID(env, CGPatternCallbacksFc.clazz, "drawPattern", "I");
- CGPatternCallbacksFc.releaseInfo = (*env)->GetFieldID(env, CGPatternCallbacksFc.clazz, "releaseInfo", "I");
- CGPatternCallbacksFc.cached = 1;
-}
-
-CGPatternCallbacks *getCGPatternCallbacksFields(JNIEnv *env, jobject lpObject, CGPatternCallbacks *lpStruct)
-{
- if (!CGPatternCallbacksFc.cached) cacheCGPatternCallbacksFields(env, lpObject);
- lpStruct->version = (*env)->GetIntField(env, lpObject, CGPatternCallbacksFc.version);
- lpStruct->drawPattern = (CGPatternDrawPatternCallback)(*env)->GetIntField(env, lpObject, CGPatternCallbacksFc.drawPattern);
- lpStruct->releaseInfo = (CGPatternReleaseInfoCallback)(*env)->GetIntField(env, lpObject, CGPatternCallbacksFc.releaseInfo);
- return lpStruct;
-}
-
-void setCGPatternCallbacksFields(JNIEnv *env, jobject lpObject, CGPatternCallbacks *lpStruct)
-{
- if (!CGPatternCallbacksFc.cached) cacheCGPatternCallbacksFields(env, lpObject);
- (*env)->SetIntField(env, lpObject, CGPatternCallbacksFc.version, (jint)lpStruct->version);
- (*env)->SetIntField(env, lpObject, CGPatternCallbacksFc.drawPattern, (jint)lpStruct->drawPattern);
- (*env)->SetIntField(env, lpObject, CGPatternCallbacksFc.releaseInfo, (jint)lpStruct->releaseInfo);
-}
-#endif
-
-#ifndef NO_CGPoint
-typedef struct CGPoint_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID x, y;
-} CGPoint_FID_CACHE;
-
-CGPoint_FID_CACHE CGPointFc;
-
-void cacheCGPointFields(JNIEnv *env, jobject lpObject)
-{
- if (CGPointFc.cached) return;
- CGPointFc.clazz = (*env)->GetObjectClass(env, lpObject);
- CGPointFc.x = (*env)->GetFieldID(env, CGPointFc.clazz, "x", "F");
- CGPointFc.y = (*env)->GetFieldID(env, CGPointFc.clazz, "y", "F");
- CGPointFc.cached = 1;
-}
-
-CGPoint *getCGPointFields(JNIEnv *env, jobject lpObject, CGPoint *lpStruct)
-{
- if (!CGPointFc.cached) cacheCGPointFields(env, lpObject);
- lpStruct->x = (float)(*env)->GetFloatField(env, lpObject, CGPointFc.x);
- lpStruct->y = (float)(*env)->GetFloatField(env, lpObject, CGPointFc.y);
- return lpStruct;
-}
-
-void setCGPointFields(JNIEnv *env, jobject lpObject, CGPoint *lpStruct)
-{
- if (!CGPointFc.cached) cacheCGPointFields(env, lpObject);
- (*env)->SetFloatField(env, lpObject, CGPointFc.x, (jfloat)lpStruct->x);
- (*env)->SetFloatField(env, lpObject, CGPointFc.y, (jfloat)lpStruct->y);
-}
-#endif
-
-#ifndef NO_CGRect
-typedef struct CGRect_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID x, y, width, height;
-} CGRect_FID_CACHE;
-
-CGRect_FID_CACHE CGRectFc;
-
-void cacheCGRectFields(JNIEnv *env, jobject lpObject)
-{
- if (CGRectFc.cached) return;
- CGRectFc.clazz = (*env)->GetObjectClass(env, lpObject);
- CGRectFc.x = (*env)->GetFieldID(env, CGRectFc.clazz, "x", "F");
- CGRectFc.y = (*env)->GetFieldID(env, CGRectFc.clazz, "y", "F");
- CGRectFc.width = (*env)->GetFieldID(env, CGRectFc.clazz, "width", "F");
- CGRectFc.height = (*env)->GetFieldID(env, CGRectFc.clazz, "height", "F");
- CGRectFc.cached = 1;
-}
-
-CGRect *getCGRectFields(JNIEnv *env, jobject lpObject, CGRect *lpStruct)
-{
- if (!CGRectFc.cached) cacheCGRectFields(env, lpObject);
- lpStruct->origin.x = (float)(*env)->GetFloatField(env, lpObject, CGRectFc.x);
- lpStruct->origin.y = (float)(*env)->GetFloatField(env, lpObject, CGRectFc.y);
- lpStruct->size.width = (float)(*env)->GetFloatField(env, lpObject, CGRectFc.width);
- lpStruct->size.height = (float)(*env)->GetFloatField(env, lpObject, CGRectFc.height);
- return lpStruct;
-}
-
-void setCGRectFields(JNIEnv *env, jobject lpObject, CGRect *lpStruct)
-{
- if (!CGRectFc.cached) cacheCGRectFields(env, lpObject);
- (*env)->SetFloatField(env, lpObject, CGRectFc.x, (jfloat)lpStruct->origin.x);
- (*env)->SetFloatField(env, lpObject, CGRectFc.y, (jfloat)lpStruct->origin.y);
- (*env)->SetFloatField(env, lpObject, CGRectFc.width, (jfloat)lpStruct->size.width);
- (*env)->SetFloatField(env, lpObject, CGRectFc.height, (jfloat)lpStruct->size.height);
-}
-#endif
-
-#ifndef NO_CGSize
-typedef struct CGSize_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID width, height;
-} CGSize_FID_CACHE;
-
-CGSize_FID_CACHE CGSizeFc;
-
-void cacheCGSizeFields(JNIEnv *env, jobject lpObject)
-{
- if (CGSizeFc.cached) return;
- CGSizeFc.clazz = (*env)->GetObjectClass(env, lpObject);
- CGSizeFc.width = (*env)->GetFieldID(env, CGSizeFc.clazz, "width", "F");
- CGSizeFc.height = (*env)->GetFieldID(env, CGSizeFc.clazz, "height", "F");
- CGSizeFc.cached = 1;
-}
-
-CGSize *getCGSizeFields(JNIEnv *env, jobject lpObject, CGSize *lpStruct)
-{
- if (!CGSizeFc.cached) cacheCGSizeFields(env, lpObject);
- lpStruct->width = (*env)->GetFloatField(env, lpObject, CGSizeFc.width);
- lpStruct->height = (*env)->GetFloatField(env, lpObject, CGSizeFc.height);
- return lpStruct;
-}
-
-void setCGSizeFields(JNIEnv *env, jobject lpObject, CGSize *lpStruct)
-{
- if (!CGSizeFc.cached) cacheCGSizeFields(env, lpObject);
- (*env)->SetFloatField(env, lpObject, CGSizeFc.width, (jfloat)lpStruct->width);
- (*env)->SetFloatField(env, lpObject, CGSizeFc.height, (jfloat)lpStruct->height);
-}
-#endif
-
-#ifndef NO_ColorPickerInfo
-typedef struct ColorPickerInfo_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID profile, red, green, blue, dstProfile, flags, placeWhere, h, v, pickerType, eventProc, colorProc, colorProcData, prompt, editMenuID, cutItem, copyItem, pasteItem, clearItem, undoItem, newColorChosen;
-} ColorPickerInfo_FID_CACHE;
-
-ColorPickerInfo_FID_CACHE ColorPickerInfoFc;
-
-void cacheColorPickerInfoFields(JNIEnv *env, jobject lpObject)
-{
- if (ColorPickerInfoFc.cached) return;
- ColorPickerInfoFc.clazz = (*env)->GetObjectClass(env, lpObject);
- ColorPickerInfoFc.profile = (*env)->GetFieldID(env, ColorPickerInfoFc.clazz, "profile", "I");
- ColorPickerInfoFc.red = (*env)->GetFieldID(env, ColorPickerInfoFc.clazz, "red", "S");
- ColorPickerInfoFc.green = (*env)->GetFieldID(env, ColorPickerInfoFc.clazz, "green", "S");
- ColorPickerInfoFc.blue = (*env)->GetFieldID(env, ColorPickerInfoFc.clazz, "blue", "S");
- ColorPickerInfoFc.dstProfile = (*env)->GetFieldID(env, ColorPickerInfoFc.clazz, "dstProfile", "I");
- ColorPickerInfoFc.flags = (*env)->GetFieldID(env, ColorPickerInfoFc.clazz, "flags", "I");
- ColorPickerInfoFc.placeWhere = (*env)->GetFieldID(env, ColorPickerInfoFc.clazz, "placeWhere", "S");
- ColorPickerInfoFc.h = (*env)->GetFieldID(env, ColorPickerInfoFc.clazz, "h", "S");
- ColorPickerInfoFc.v = (*env)->GetFieldID(env, ColorPickerInfoFc.clazz, "v", "S");
- ColorPickerInfoFc.pickerType = (*env)->GetFieldID(env, ColorPickerInfoFc.clazz, "pickerType", "I");
- ColorPickerInfoFc.eventProc = (*env)->GetFieldID(env, ColorPickerInfoFc.clazz, "eventProc", "I");
- ColorPickerInfoFc.colorProc = (*env)->GetFieldID(env, ColorPickerInfoFc.clazz, "colorProc", "I");
- ColorPickerInfoFc.colorProcData = (*env)->GetFieldID(env, ColorPickerInfoFc.clazz, "colorProcData", "I");
- ColorPickerInfoFc.prompt = (*env)->GetFieldID(env, ColorPickerInfoFc.clazz, "prompt", "[B");
- ColorPickerInfoFc.editMenuID = (*env)->GetFieldID(env, ColorPickerInfoFc.clazz, "editMenuID", "S");
- ColorPickerInfoFc.cutItem = (*env)->GetFieldID(env, ColorPickerInfoFc.clazz, "cutItem", "S");
- ColorPickerInfoFc.copyItem = (*env)->GetFieldID(env, ColorPickerInfoFc.clazz, "copyItem", "S");
- ColorPickerInfoFc.pasteItem = (*env)->GetFieldID(env, ColorPickerInfoFc.clazz, "pasteItem", "S");
- ColorPickerInfoFc.clearItem = (*env)->GetFieldID(env, ColorPickerInfoFc.clazz, "clearItem", "S");
- ColorPickerInfoFc.undoItem = (*env)->GetFieldID(env, ColorPickerInfoFc.clazz, "undoItem", "S");
- ColorPickerInfoFc.newColorChosen = (*env)->GetFieldID(env, ColorPickerInfoFc.clazz, "newColorChosen", "Z");
- ColorPickerInfoFc.cached = 1;
-}
-
-ColorPickerInfo *getColorPickerInfoFields(JNIEnv *env, jobject lpObject, ColorPickerInfo *lpStruct)
-{
- if (!ColorPickerInfoFc.cached) cacheColorPickerInfoFields(env, lpObject);
- lpStruct->theColor.profile = (CMProfileHandle)(*env)->GetIntField(env, lpObject, ColorPickerInfoFc.profile);
- lpStruct->theColor.color.rgb.red = (UInt16)(*env)->GetShortField(env, lpObject, ColorPickerInfoFc.red);
- lpStruct->theColor.color.rgb.green = (UInt16)(*env)->GetShortField(env, lpObject, ColorPickerInfoFc.green);
- lpStruct->theColor.color.rgb.blue = (UInt16)(*env)->GetShortField(env, lpObject, ColorPickerInfoFc.blue);
- lpStruct->dstProfile = (CMProfileHandle)(*env)->GetIntField(env, lpObject, ColorPickerInfoFc.dstProfile);
- lpStruct->flags = (UInt32)(*env)->GetIntField(env, lpObject, ColorPickerInfoFc.flags);
- lpStruct->placeWhere = (DialogPlacementSpec)(*env)->GetShortField(env, lpObject, ColorPickerInfoFc.placeWhere);
- lpStruct->dialogOrigin.h = (short)(*env)->GetShortField(env, lpObject, ColorPickerInfoFc.h);
- lpStruct->dialogOrigin.v = (short)(*env)->GetShortField(env, lpObject, ColorPickerInfoFc.v);
- lpStruct->pickerType = (OSType)(*env)->GetIntField(env, lpObject, ColorPickerInfoFc.pickerType);
- lpStruct->eventProc = (UserEventUPP)(*env)->GetIntField(env, lpObject, ColorPickerInfoFc.eventProc);
- lpStruct->colorProc = (ColorChangedUPP)(*env)->GetIntField(env, lpObject, ColorPickerInfoFc.colorProc);
- lpStruct->colorProcData = (UInt32)(*env)->GetIntField(env, lpObject, ColorPickerInfoFc.colorProcData);
- {
- jbyteArray lpObject1 = (jbyteArray)(*env)->GetObjectField(env, lpObject, ColorPickerInfoFc.prompt);
- (*env)->GetByteArrayRegion(env, lpObject1, 0, sizeof(lpStruct->prompt), (jbyte *)lpStruct->prompt);
- }
- lpStruct->mInfo.editMenuID = (SInt16)(*env)->GetShortField(env, lpObject, ColorPickerInfoFc.editMenuID);
- lpStruct->mInfo.cutItem = (SInt16)(*env)->GetShortField(env, lpObject, ColorPickerInfoFc.cutItem);
- lpStruct->mInfo.copyItem = (SInt16)(*env)->GetShortField(env, lpObject, ColorPickerInfoFc.copyItem);
- lpStruct->mInfo.pasteItem = (SInt16)(*env)->GetShortField(env, lpObject, ColorPickerInfoFc.pasteItem);
- lpStruct->mInfo.clearItem = (SInt16)(*env)->GetShortField(env, lpObject, ColorPickerInfoFc.clearItem);
- lpStruct->mInfo.undoItem = (SInt16)(*env)->GetShortField(env, lpObject, ColorPickerInfoFc.undoItem);
- lpStruct->newColorChosen = (Boolean)(*env)->GetBooleanField(env, lpObject, ColorPickerInfoFc.newColorChosen);
- return lpStruct;
-}
-
-void setColorPickerInfoFields(JNIEnv *env, jobject lpObject, ColorPickerInfo *lpStruct)
-{
- if (!ColorPickerInfoFc.cached) cacheColorPickerInfoFields(env, lpObject);
- (*env)->SetIntField(env, lpObject, ColorPickerInfoFc.profile, (jint)lpStruct->theColor.profile);
- (*env)->SetShortField(env, lpObject, ColorPickerInfoFc.red, (jshort)lpStruct->theColor.color.rgb.red);
- (*env)->SetShortField(env, lpObject, ColorPickerInfoFc.green, (jshort)lpStruct->theColor.color.rgb.green);
- (*env)->SetShortField(env, lpObject, ColorPickerInfoFc.blue, (jshort)lpStruct->theColor.color.rgb.blue);
- (*env)->SetIntField(env, lpObject, ColorPickerInfoFc.dstProfile, (jint)lpStruct->dstProfile);
- (*env)->SetIntField(env, lpObject, ColorPickerInfoFc.flags, (jint)lpStruct->flags);
- (*env)->SetShortField(env, lpObject, ColorPickerInfoFc.placeWhere, (jshort)lpStruct->placeWhere);
- (*env)->SetShortField(env, lpObject, ColorPickerInfoFc.h, (jshort)lpStruct->dialogOrigin.h);
- (*env)->SetShortField(env, lpObject, ColorPickerInfoFc.v, (jshort)lpStruct->dialogOrigin.v);
- (*env)->SetIntField(env, lpObject, ColorPickerInfoFc.pickerType, (jint)lpStruct->pickerType);
- (*env)->SetIntField(env, lpObject, ColorPickerInfoFc.eventProc, (jint)lpStruct->eventProc);
- (*env)->SetIntField(env, lpObject, ColorPickerInfoFc.colorProc, (jint)lpStruct->colorProc);
- (*env)->SetIntField(env, lpObject, ColorPickerInfoFc.colorProcData, (jint)lpStruct->colorProcData);
- {
- jbyteArray lpObject1 = (jbyteArray)(*env)->GetObjectField(env, lpObject, ColorPickerInfoFc.prompt);
- (*env)->SetByteArrayRegion(env, lpObject1, 0, sizeof(lpStruct->prompt), (jbyte *)lpStruct->prompt);
- }
- (*env)->SetShortField(env, lpObject, ColorPickerInfoFc.editMenuID, (jshort)lpStruct->mInfo.editMenuID);
- (*env)->SetShortField(env, lpObject, ColorPickerInfoFc.cutItem, (jshort)lpStruct->mInfo.cutItem);
- (*env)->SetShortField(env, lpObject, ColorPickerInfoFc.copyItem, (jshort)lpStruct->mInfo.copyItem);
- (*env)->SetShortField(env, lpObject, ColorPickerInfoFc.pasteItem, (jshort)lpStruct->mInfo.pasteItem);
- (*env)->SetShortField(env, lpObject, ColorPickerInfoFc.clearItem, (jshort)lpStruct->mInfo.clearItem);
- (*env)->SetShortField(env, lpObject, ColorPickerInfoFc.undoItem, (jshort)lpStruct->mInfo.undoItem);
- (*env)->SetBooleanField(env, lpObject, ColorPickerInfoFc.newColorChosen, (jboolean)lpStruct->newColorChosen);
-}
-#endif
-
-#ifndef NO_ControlButtonContentInfo
-typedef struct ControlButtonContentInfo_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID contentType, iconRef;
-} ControlButtonContentInfo_FID_CACHE;
-
-ControlButtonContentInfo_FID_CACHE ControlButtonContentInfoFc;
-
-void cacheControlButtonContentInfoFields(JNIEnv *env, jobject lpObject)
-{
- if (ControlButtonContentInfoFc.cached) return;
- ControlButtonContentInfoFc.clazz = (*env)->GetObjectClass(env, lpObject);
- ControlButtonContentInfoFc.contentType = (*env)->GetFieldID(env, ControlButtonContentInfoFc.clazz, "contentType", "S");
- ControlButtonContentInfoFc.iconRef = (*env)->GetFieldID(env, ControlButtonContentInfoFc.clazz, "iconRef", "I");
- ControlButtonContentInfoFc.cached = 1;
-}
-
-ControlButtonContentInfo *getControlButtonContentInfoFields(JNIEnv *env, jobject lpObject, ControlButtonContentInfo *lpStruct)
-{
- if (!ControlButtonContentInfoFc.cached) cacheControlButtonContentInfoFields(env, lpObject);
- lpStruct->contentType = (ControlContentType)(*env)->GetShortField(env, lpObject, ControlButtonContentInfoFc.contentType);
- lpStruct->u.iconRef = (void *)(*env)->GetIntField(env, lpObject, ControlButtonContentInfoFc.iconRef);
- return lpStruct;
-}
-
-void setControlButtonContentInfoFields(JNIEnv *env, jobject lpObject, ControlButtonContentInfo *lpStruct)
-{
- if (!ControlButtonContentInfoFc.cached) cacheControlButtonContentInfoFields(env, lpObject);
- (*env)->SetShortField(env, lpObject, ControlButtonContentInfoFc.contentType, (jshort)lpStruct->contentType);
- (*env)->SetIntField(env, lpObject, ControlButtonContentInfoFc.iconRef, (jint)lpStruct->u.iconRef);
-}
-#endif
-
-#ifndef NO_ControlEditTextSelectionRec
-typedef struct ControlEditTextSelectionRec_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID selStart, selEnd;
-} ControlEditTextSelectionRec_FID_CACHE;
-
-ControlEditTextSelectionRec_FID_CACHE ControlEditTextSelectionRecFc;
-
-void cacheControlEditTextSelectionRecFields(JNIEnv *env, jobject lpObject)
-{
- if (ControlEditTextSelectionRecFc.cached) return;
- ControlEditTextSelectionRecFc.clazz = (*env)->GetObjectClass(env, lpObject);
- ControlEditTextSelectionRecFc.selStart = (*env)->GetFieldID(env, ControlEditTextSelectionRecFc.clazz, "selStart", "S");
- ControlEditTextSelectionRecFc.selEnd = (*env)->GetFieldID(env, ControlEditTextSelectionRecFc.clazz, "selEnd", "S");
- ControlEditTextSelectionRecFc.cached = 1;
-}
-
-ControlEditTextSelectionRec *getControlEditTextSelectionRecFields(JNIEnv *env, jobject lpObject, ControlEditTextSelectionRec *lpStruct)
-{
- if (!ControlEditTextSelectionRecFc.cached) cacheControlEditTextSelectionRecFields(env, lpObject);
- lpStruct->selStart = (*env)->GetShortField(env, lpObject, ControlEditTextSelectionRecFc.selStart);
- lpStruct->selEnd = (*env)->GetShortField(env, lpObject, ControlEditTextSelectionRecFc.selEnd);
- return lpStruct;
-}
-
-void setControlEditTextSelectionRecFields(JNIEnv *env, jobject lpObject, ControlEditTextSelectionRec *lpStruct)
-{
- if (!ControlEditTextSelectionRecFc.cached) cacheControlEditTextSelectionRecFields(env, lpObject);
- (*env)->SetShortField(env, lpObject, ControlEditTextSelectionRecFc.selStart, (jshort)lpStruct->selStart);
- (*env)->SetShortField(env, lpObject, ControlEditTextSelectionRecFc.selEnd, (jshort)lpStruct->selEnd);
-}
-#endif
-
-#ifndef NO_ControlFontStyleRec
-typedef struct ControlFontStyleRec_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID flags, font, size, style, mode, just, foreColor_red, foreColor_green, foreColor_blue, backColor_red, backColor_green, backColor_blue;
-} ControlFontStyleRec_FID_CACHE;
-
-ControlFontStyleRec_FID_CACHE ControlFontStyleRecFc;
-
-void cacheControlFontStyleRecFields(JNIEnv *env, jobject lpObject)
-{
- if (ControlFontStyleRecFc.cached) return;
- ControlFontStyleRecFc.clazz = (*env)->GetObjectClass(env, lpObject);
- ControlFontStyleRecFc.flags = (*env)->GetFieldID(env, ControlFontStyleRecFc.clazz, "flags", "S");
- ControlFontStyleRecFc.font = (*env)->GetFieldID(env, ControlFontStyleRecFc.clazz, "font", "S");
- ControlFontStyleRecFc.size = (*env)->GetFieldID(env, ControlFontStyleRecFc.clazz, "size", "S");
- ControlFontStyleRecFc.style = (*env)->GetFieldID(env, ControlFontStyleRecFc.clazz, "style", "S");
- ControlFontStyleRecFc.mode = (*env)->GetFieldID(env, ControlFontStyleRecFc.clazz, "mode", "S");
- ControlFontStyleRecFc.just = (*env)->GetFieldID(env, ControlFontStyleRecFc.clazz, "just", "S");
- ControlFontStyleRecFc.foreColor_red = (*env)->GetFieldID(env, ControlFontStyleRecFc.clazz, "foreColor_red", "S");
- ControlFontStyleRecFc.foreColor_green = (*env)->GetFieldID(env, ControlFontStyleRecFc.clazz, "foreColor_green", "S");
- ControlFontStyleRecFc.foreColor_blue = (*env)->GetFieldID(env, ControlFontStyleRecFc.clazz, "foreColor_blue", "S");
- ControlFontStyleRecFc.backColor_red = (*env)->GetFieldID(env, ControlFontStyleRecFc.clazz, "backColor_red", "S");
- ControlFontStyleRecFc.backColor_green = (*env)->GetFieldID(env, ControlFontStyleRecFc.clazz, "backColor_green", "S");
- ControlFontStyleRecFc.backColor_blue = (*env)->GetFieldID(env, ControlFontStyleRecFc.clazz, "backColor_blue", "S");
- ControlFontStyleRecFc.cached = 1;
-}
-
-ControlFontStyleRec *getControlFontStyleRecFields(JNIEnv *env, jobject lpObject, ControlFontStyleRec *lpStruct)
-{
- if (!ControlFontStyleRecFc.cached) cacheControlFontStyleRecFields(env, lpObject);
- lpStruct->flags = (*env)->GetShortField(env, lpObject, ControlFontStyleRecFc.flags);
- lpStruct->font = (*env)->GetShortField(env, lpObject, ControlFontStyleRecFc.font);
- lpStruct->size = (*env)->GetShortField(env, lpObject, ControlFontStyleRecFc.size);
- lpStruct->style = (*env)->GetShortField(env, lpObject, ControlFontStyleRecFc.style);
- lpStruct->mode = (*env)->GetShortField(env, lpObject, ControlFontStyleRecFc.mode);
- lpStruct->just = (*env)->GetShortField(env, lpObject, ControlFontStyleRecFc.just);
- lpStruct->foreColor.red = (*env)->GetShortField(env, lpObject, ControlFontStyleRecFc.foreColor_red);
- lpStruct->foreColor.green = (*env)->GetShortField(env, lpObject, ControlFontStyleRecFc.foreColor_green);
- lpStruct->foreColor.blue = (*env)->GetShortField(env, lpObject, ControlFontStyleRecFc.foreColor_blue);
- lpStruct->backColor.red = (*env)->GetShortField(env, lpObject, ControlFontStyleRecFc.backColor_red);
- lpStruct->backColor.green = (*env)->GetShortField(env, lpObject, ControlFontStyleRecFc.backColor_green);
- lpStruct->backColor.blue = (*env)->GetShortField(env, lpObject, ControlFontStyleRecFc.backColor_blue);
- return lpStruct;
-}
-
-void setControlFontStyleRecFields(JNIEnv *env, jobject lpObject, ControlFontStyleRec *lpStruct)
-{
- if (!ControlFontStyleRecFc.cached) cacheControlFontStyleRecFields(env, lpObject);
- (*env)->SetShortField(env, lpObject, ControlFontStyleRecFc.flags, (jshort)lpStruct->flags);
- (*env)->SetShortField(env, lpObject, ControlFontStyleRecFc.font, (jshort)lpStruct->font);
- (*env)->SetShortField(env, lpObject, ControlFontStyleRecFc.size, (jshort)lpStruct->size);
- (*env)->SetShortField(env, lpObject, ControlFontStyleRecFc.style, (jshort)lpStruct->style);
- (*env)->SetShortField(env, lpObject, ControlFontStyleRecFc.mode, (jshort)lpStruct->mode);
- (*env)->SetShortField(env, lpObject, ControlFontStyleRecFc.just, (jshort)lpStruct->just);
- (*env)->SetShortField(env, lpObject, ControlFontStyleRecFc.foreColor_red, (jshort)lpStruct->foreColor.red);
- (*env)->SetShortField(env, lpObject, ControlFontStyleRecFc.foreColor_green, (jshort)lpStruct->foreColor.green);
- (*env)->SetShortField(env, lpObject, ControlFontStyleRecFc.foreColor_blue, (jshort)lpStruct->foreColor.blue);
- (*env)->SetShortField(env, lpObject, ControlFontStyleRecFc.backColor_red, (jshort)lpStruct->backColor.red);
- (*env)->SetShortField(env, lpObject, ControlFontStyleRecFc.backColor_green, (jshort)lpStruct->backColor.green);
- (*env)->SetShortField(env, lpObject, ControlFontStyleRecFc.backColor_blue, (jshort)lpStruct->backColor.blue);
-}
-#endif
-
-#ifndef NO_ControlKind
-typedef struct ControlKind_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID signature, kind;
-} ControlKind_FID_CACHE;
-
-ControlKind_FID_CACHE ControlKindFc;
-
-void cacheControlKindFields(JNIEnv *env, jobject lpObject)
-{
- if (ControlKindFc.cached) return;
- ControlKindFc.clazz = (*env)->GetObjectClass(env, lpObject);
- ControlKindFc.signature = (*env)->GetFieldID(env, ControlKindFc.clazz, "signature", "I");
- ControlKindFc.kind = (*env)->GetFieldID(env, ControlKindFc.clazz, "kind", "I");
- ControlKindFc.cached = 1;
-}
-
-ControlKind *getControlKindFields(JNIEnv *env, jobject lpObject, ControlKind *lpStruct)
-{
- if (!ControlKindFc.cached) cacheControlKindFields(env, lpObject);
- lpStruct->signature = (*env)->GetIntField(env, lpObject, ControlKindFc.signature);
- lpStruct->kind = (*env)->GetIntField(env, lpObject, ControlKindFc.kind);
- return lpStruct;
-}
-
-void setControlKindFields(JNIEnv *env, jobject lpObject, ControlKind *lpStruct)
-{
- if (!ControlKindFc.cached) cacheControlKindFields(env, lpObject);
- (*env)->SetIntField(env, lpObject, ControlKindFc.signature, (jint)lpStruct->signature);
- (*env)->SetIntField(env, lpObject, ControlKindFc.kind, (jint)lpStruct->kind);
-}
-#endif
-
-#ifndef NO_ControlTabEntry
-typedef struct ControlTabEntry_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID icon, name, enabled;
-} ControlTabEntry_FID_CACHE;
-
-ControlTabEntry_FID_CACHE ControlTabEntryFc;
-
-void cacheControlTabEntryFields(JNIEnv *env, jobject lpObject)
-{
- if (ControlTabEntryFc.cached) return;
- ControlTabEntryFc.clazz = (*env)->GetObjectClass(env, lpObject);
- ControlTabEntryFc.icon = (*env)->GetFieldID(env, ControlTabEntryFc.clazz, "icon", "I");
- ControlTabEntryFc.name = (*env)->GetFieldID(env, ControlTabEntryFc.clazz, "name", "I");
- ControlTabEntryFc.enabled = (*env)->GetFieldID(env, ControlTabEntryFc.clazz, "enabled", "Z");
- ControlTabEntryFc.cached = 1;
-}
-
-ControlTabEntry *getControlTabEntryFields(JNIEnv *env, jobject lpObject, ControlTabEntry *lpStruct)
-{
- if (!ControlTabEntryFc.cached) cacheControlTabEntryFields(env, lpObject);
- lpStruct->icon = (ControlButtonContentInfo *)(*env)->GetIntField(env, lpObject, ControlTabEntryFc.icon);
- lpStruct->name = (CFStringRef)(*env)->GetIntField(env, lpObject, ControlTabEntryFc.name);
- lpStruct->enabled = (Boolean)(*env)->GetBooleanField(env, lpObject, ControlTabEntryFc.enabled);
- return lpStruct;
-}
-
-void setControlTabEntryFields(JNIEnv *env, jobject lpObject, ControlTabEntry *lpStruct)
-{
- if (!ControlTabEntryFc.cached) cacheControlTabEntryFields(env, lpObject);
- (*env)->SetIntField(env, lpObject, ControlTabEntryFc.icon, (jint)lpStruct->icon);
- (*env)->SetIntField(env, lpObject, ControlTabEntryFc.name, (jint)lpStruct->name);
- (*env)->SetBooleanField(env, lpObject, ControlTabEntryFc.enabled, (jboolean)lpStruct->enabled);
-}
-#endif
-
-#ifndef NO_ControlTabInfoRecV1
-typedef struct ControlTabInfoRecV1_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID version, iconSuiteID, name;
-} ControlTabInfoRecV1_FID_CACHE;
-
-ControlTabInfoRecV1_FID_CACHE ControlTabInfoRecV1Fc;
-
-void cacheControlTabInfoRecV1Fields(JNIEnv *env, jobject lpObject)
-{
- if (ControlTabInfoRecV1Fc.cached) return;
- ControlTabInfoRecV1Fc.clazz = (*env)->GetObjectClass(env, lpObject);
- ControlTabInfoRecV1Fc.version = (*env)->GetFieldID(env, ControlTabInfoRecV1Fc.clazz, "version", "S");
- ControlTabInfoRecV1Fc.iconSuiteID = (*env)->GetFieldID(env, ControlTabInfoRecV1Fc.clazz, "iconSuiteID", "S");
- ControlTabInfoRecV1Fc.name = (*env)->GetFieldID(env, ControlTabInfoRecV1Fc.clazz, "name", "I");
- ControlTabInfoRecV1Fc.cached = 1;
-}
-
-ControlTabInfoRecV1 *getControlTabInfoRecV1Fields(JNIEnv *env, jobject lpObject, ControlTabInfoRecV1 *lpStruct)
-{
- if (!ControlTabInfoRecV1Fc.cached) cacheControlTabInfoRecV1Fields(env, lpObject);
- lpStruct->version = (SInt16)(*env)->GetShortField(env, lpObject, ControlTabInfoRecV1Fc.version);
- lpStruct->iconSuiteID = (SInt16)(*env)->GetShortField(env, lpObject, ControlTabInfoRecV1Fc.iconSuiteID);
- lpStruct->name = (CFStringRef)(*env)->GetIntField(env, lpObject, ControlTabInfoRecV1Fc.name);
- return lpStruct;
-}
-
-void setControlTabInfoRecV1Fields(JNIEnv *env, jobject lpObject, ControlTabInfoRecV1 *lpStruct)
-{
- if (!ControlTabInfoRecV1Fc.cached) cacheControlTabInfoRecV1Fields(env, lpObject);
- (*env)->SetShortField(env, lpObject, ControlTabInfoRecV1Fc.version, (jshort)lpStruct->version);
- (*env)->SetShortField(env, lpObject, ControlTabInfoRecV1Fc.iconSuiteID, (jshort)lpStruct->iconSuiteID);
- (*env)->SetIntField(env, lpObject, ControlTabInfoRecV1Fc.name, (jint)lpStruct->name);
-}
-#endif
-
-#ifndef NO_Cursor
-typedef struct Cursor_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID data, mask, hotSpot_v, hotSpot_h;
-} Cursor_FID_CACHE;
-
-Cursor_FID_CACHE CursorFc;
-
-void cacheCursorFields(JNIEnv *env, jobject lpObject)
-{
- if (CursorFc.cached) return;
- CursorFc.clazz = (*env)->GetObjectClass(env, lpObject);
- CursorFc.data = (*env)->GetFieldID(env, CursorFc.clazz, "data", "[B");
- CursorFc.mask = (*env)->GetFieldID(env, CursorFc.clazz, "mask", "[B");
- CursorFc.hotSpot_v = (*env)->GetFieldID(env, CursorFc.clazz, "hotSpot_v", "S");
- CursorFc.hotSpot_h = (*env)->GetFieldID(env, CursorFc.clazz, "hotSpot_h", "S");
- CursorFc.cached = 1;
-}
-
-Cursor *getCursorFields(JNIEnv *env, jobject lpObject, Cursor *lpStruct)
-{
- if (!CursorFc.cached) cacheCursorFields(env, lpObject);
- {
- jbyteArray lpObject1 = (jbyteArray)(*env)->GetObjectField(env, lpObject, CursorFc.data);
- (*env)->GetByteArrayRegion(env, lpObject1, 0, sizeof(lpStruct->data), (jbyte *)lpStruct->data);
- }
- {
- jbyteArray lpObject1 = (jbyteArray)(*env)->GetObjectField(env, lpObject, CursorFc.mask);
- (*env)->GetByteArrayRegion(env, lpObject1, 0, sizeof(lpStruct->mask), (jbyte *)lpStruct->mask);
- }
- lpStruct->hotSpot.v = (*env)->GetShortField(env, lpObject, CursorFc.hotSpot_v);
- lpStruct->hotSpot.h = (*env)->GetShortField(env, lpObject, CursorFc.hotSpot_h);
- return lpStruct;
-}
-
-void setCursorFields(JNIEnv *env, jobject lpObject, Cursor *lpStruct)
-{
- if (!CursorFc.cached) cacheCursorFields(env, lpObject);
- {
- jbyteArray lpObject1 = (jbyteArray)(*env)->GetObjectField(env, lpObject, CursorFc.data);
- (*env)->SetByteArrayRegion(env, lpObject1, 0, sizeof(lpStruct->data), (jbyte *)lpStruct->data);
- }
- {
- jbyteArray lpObject1 = (jbyteArray)(*env)->GetObjectField(env, lpObject, CursorFc.mask);
- (*env)->SetByteArrayRegion(env, lpObject1, 0, sizeof(lpStruct->mask), (jbyte *)lpStruct->mask);
- }
- (*env)->SetShortField(env, lpObject, CursorFc.hotSpot_v, (jshort)lpStruct->hotSpot.v);
- (*env)->SetShortField(env, lpObject, CursorFc.hotSpot_h, (jshort)lpStruct->hotSpot.h);
-}
-#endif
-
-#ifndef NO_DataBrowserAccessibilityItemInfo
-typedef struct DataBrowserAccessibilityItemInfo_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID version, v0_container, v0_item, v0_columnProperty, v0_propertyPart;
-} DataBrowserAccessibilityItemInfo_FID_CACHE;
-
-DataBrowserAccessibilityItemInfo_FID_CACHE DataBrowserAccessibilityItemInfoFc;
-
-void cacheDataBrowserAccessibilityItemInfoFields(JNIEnv *env, jobject lpObject)
-{
- if (DataBrowserAccessibilityItemInfoFc.cached) return;
- DataBrowserAccessibilityItemInfoFc.clazz = (*env)->GetObjectClass(env, lpObject);
- DataBrowserAccessibilityItemInfoFc.version = (*env)->GetFieldID(env, DataBrowserAccessibilityItemInfoFc.clazz, "version", "I");
- DataBrowserAccessibilityItemInfoFc.v0_container = (*env)->GetFieldID(env, DataBrowserAccessibilityItemInfoFc.clazz, "v0_container", "I");
- DataBrowserAccessibilityItemInfoFc.v0_item = (*env)->GetFieldID(env, DataBrowserAccessibilityItemInfoFc.clazz, "v0_item", "I");
- DataBrowserAccessibilityItemInfoFc.v0_columnProperty = (*env)->GetFieldID(env, DataBrowserAccessibilityItemInfoFc.clazz, "v0_columnProperty", "I");
- DataBrowserAccessibilityItemInfoFc.v0_propertyPart = (*env)->GetFieldID(env, DataBrowserAccessibilityItemInfoFc.clazz, "v0_propertyPart", "I");
- DataBrowserAccessibilityItemInfoFc.cached = 1;
-}
-
-DataBrowserAccessibilityItemInfo *getDataBrowserAccessibilityItemInfoFields(JNIEnv *env, jobject lpObject, DataBrowserAccessibilityItemInfo *lpStruct)
-{
- if (!DataBrowserAccessibilityItemInfoFc.cached) cacheDataBrowserAccessibilityItemInfoFields(env, lpObject);
- lpStruct->version = (UInt32)(*env)->GetIntField(env, lpObject, DataBrowserAccessibilityItemInfoFc.version);
- lpStruct->u.v0.container = (DataBrowserItemID)(*env)->GetIntField(env, lpObject, DataBrowserAccessibilityItemInfoFc.v0_container);
- lpStruct->u.v0.item = (DataBrowserItemID)(*env)->GetIntField(env, lpObject, DataBrowserAccessibilityItemInfoFc.v0_item);
- lpStruct->u.v0.columnProperty = (DataBrowserPropertyID)(*env)->GetIntField(env, lpObject, DataBrowserAccessibilityItemInfoFc.v0_columnProperty);
- lpStruct->u.v0.propertyPart = (DataBrowserPropertyPart)(*env)->GetIntField(env, lpObject, DataBrowserAccessibilityItemInfoFc.v0_propertyPart);
- return lpStruct;
-}
-
-void setDataBrowserAccessibilityItemInfoFields(JNIEnv *env, jobject lpObject, DataBrowserAccessibilityItemInfo *lpStruct)
-{
- if (!DataBrowserAccessibilityItemInfoFc.cached) cacheDataBrowserAccessibilityItemInfoFields(env, lpObject);
- (*env)->SetIntField(env, lpObject, DataBrowserAccessibilityItemInfoFc.version, (jint)lpStruct->version);
- (*env)->SetIntField(env, lpObject, DataBrowserAccessibilityItemInfoFc.v0_container, (jint)lpStruct->u.v0.container);
- (*env)->SetIntField(env, lpObject, DataBrowserAccessibilityItemInfoFc.v0_item, (jint)lpStruct->u.v0.item);
- (*env)->SetIntField(env, lpObject, DataBrowserAccessibilityItemInfoFc.v0_columnProperty, (jint)lpStruct->u.v0.columnProperty);
- (*env)->SetIntField(env, lpObject, DataBrowserAccessibilityItemInfoFc.v0_propertyPart, (jint)lpStruct->u.v0.propertyPart);
-}
-#endif
-
-#ifndef NO_DataBrowserCallbacks
-typedef struct DataBrowserCallbacks_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID version, v1_itemDataCallback, v1_itemCompareCallback, v1_itemNotificationCallback, v1_addDragItemCallback, v1_acceptDragCallback, v1_receiveDragCallback, v1_postProcessDragCallback, v1_itemHelpContentCallback, v1_getContextualMenuCallback, v1_selectContextualMenuCallback;
-} DataBrowserCallbacks_FID_CACHE;
-
-DataBrowserCallbacks_FID_CACHE DataBrowserCallbacksFc;
-
-void cacheDataBrowserCallbacksFields(JNIEnv *env, jobject lpObject)
-{
- if (DataBrowserCallbacksFc.cached) return;
- DataBrowserCallbacksFc.clazz = (*env)->GetObjectClass(env, lpObject);
- DataBrowserCallbacksFc.version = (*env)->GetFieldID(env, DataBrowserCallbacksFc.clazz, "version", "I");
- DataBrowserCallbacksFc.v1_itemDataCallback = (*env)->GetFieldID(env, DataBrowserCallbacksFc.clazz, "v1_itemDataCallback", "I");
- DataBrowserCallbacksFc.v1_itemCompareCallback = (*env)->GetFieldID(env, DataBrowserCallbacksFc.clazz, "v1_itemCompareCallback", "I");
- DataBrowserCallbacksFc.v1_itemNotificationCallback = (*env)->GetFieldID(env, DataBrowserCallbacksFc.clazz, "v1_itemNotificationCallback", "I");
- DataBrowserCallbacksFc.v1_addDragItemCallback = (*env)->GetFieldID(env, DataBrowserCallbacksFc.clazz, "v1_addDragItemCallback", "I");
- DataBrowserCallbacksFc.v1_acceptDragCallback = (*env)->GetFieldID(env, DataBrowserCallbacksFc.clazz, "v1_acceptDragCallback", "I");
- DataBrowserCallbacksFc.v1_receiveDragCallback = (*env)->GetFieldID(env, DataBrowserCallbacksFc.clazz, "v1_receiveDragCallback", "I");
- DataBrowserCallbacksFc.v1_postProcessDragCallback = (*env)->GetFieldID(env, DataBrowserCallbacksFc.clazz, "v1_postProcessDragCallback", "I");
- DataBrowserCallbacksFc.v1_itemHelpContentCallback = (*env)->GetFieldID(env, DataBrowserCallbacksFc.clazz, "v1_itemHelpContentCallback", "I");
- DataBrowserCallbacksFc.v1_getContextualMenuCallback = (*env)->GetFieldID(env, DataBrowserCallbacksFc.clazz, "v1_getContextualMenuCallback", "I");
- DataBrowserCallbacksFc.v1_selectContextualMenuCallback = (*env)->GetFieldID(env, DataBrowserCallbacksFc.clazz, "v1_selectContextualMenuCallback", "I");
- DataBrowserCallbacksFc.cached = 1;
-}
-
-DataBrowserCallbacks *getDataBrowserCallbacksFields(JNIEnv *env, jobject lpObject, DataBrowserCallbacks *lpStruct)
-{
- if (!DataBrowserCallbacksFc.cached) cacheDataBrowserCallbacksFields(env, lpObject);
- lpStruct->version = (UInt32)(*env)->GetIntField(env, lpObject, DataBrowserCallbacksFc.version);
- lpStruct->u.v1.itemDataCallback = (DataBrowserItemDataUPP)(*env)->GetIntField(env, lpObject, DataBrowserCallbacksFc.v1_itemDataCallback);
- lpStruct->u.v1.itemCompareCallback = (DataBrowserItemCompareUPP)(*env)->GetIntField(env, lpObject, DataBrowserCallbacksFc.v1_itemCompareCallback);
- lpStruct->u.v1.itemNotificationCallback = (DataBrowserItemNotificationUPP)(*env)->GetIntField(env, lpObject, DataBrowserCallbacksFc.v1_itemNotificationCallback);
- lpStruct->u.v1.addDragItemCallback = (DataBrowserAddDragItemUPP)(*env)->GetIntField(env, lpObject, DataBrowserCallbacksFc.v1_addDragItemCallback);
- lpStruct->u.v1.acceptDragCallback = (DataBrowserAcceptDragUPP)(*env)->GetIntField(env, lpObject, DataBrowserCallbacksFc.v1_acceptDragCallback);
- lpStruct->u.v1.receiveDragCallback = (DataBrowserReceiveDragUPP)(*env)->GetIntField(env, lpObject, DataBrowserCallbacksFc.v1_receiveDragCallback);
- lpStruct->u.v1.postProcessDragCallback = (DataBrowserPostProcessDragUPP)(*env)->GetIntField(env, lpObject, DataBrowserCallbacksFc.v1_postProcessDragCallback);
- lpStruct->u.v1.itemHelpContentCallback = (DataBrowserItemHelpContentUPP)(*env)->GetIntField(env, lpObject, DataBrowserCallbacksFc.v1_itemHelpContentCallback);
- lpStruct->u.v1.getContextualMenuCallback = (DataBrowserGetContextualMenuUPP)(*env)->GetIntField(env, lpObject, DataBrowserCallbacksFc.v1_getContextualMenuCallback);
- lpStruct->u.v1.selectContextualMenuCallback = (DataBrowserSelectContextualMenuUPP)(*env)->GetIntField(env, lpObject, DataBrowserCallbacksFc.v1_selectContextualMenuCallback);
- return lpStruct;
-}
-
-void setDataBrowserCallbacksFields(JNIEnv *env, jobject lpObject, DataBrowserCallbacks *lpStruct)
-{
- if (!DataBrowserCallbacksFc.cached) cacheDataBrowserCallbacksFields(env, lpObject);
- (*env)->SetIntField(env, lpObject, DataBrowserCallbacksFc.version, (jint)lpStruct->version);
- (*env)->SetIntField(env, lpObject, DataBrowserCallbacksFc.v1_itemDataCallback, (jint)lpStruct->u.v1.itemDataCallback);
- (*env)->SetIntField(env, lpObject, DataBrowserCallbacksFc.v1_itemCompareCallback, (jint)lpStruct->u.v1.itemCompareCallback);
- (*env)->SetIntField(env, lpObject, DataBrowserCallbacksFc.v1_itemNotificationCallback, (jint)lpStruct->u.v1.itemNotificationCallback);
- (*env)->SetIntField(env, lpObject, DataBrowserCallbacksFc.v1_addDragItemCallback, (jint)lpStruct->u.v1.addDragItemCallback);
- (*env)->SetIntField(env, lpObject, DataBrowserCallbacksFc.v1_acceptDragCallback, (jint)lpStruct->u.v1.acceptDragCallback);
- (*env)->SetIntField(env, lpObject, DataBrowserCallbacksFc.v1_receiveDragCallback, (jint)lpStruct->u.v1.receiveDragCallback);
- (*env)->SetIntField(env, lpObject, DataBrowserCallbacksFc.v1_postProcessDragCallback, (jint)lpStruct->u.v1.postProcessDragCallback);
- (*env)->SetIntField(env, lpObject, DataBrowserCallbacksFc.v1_itemHelpContentCallback, (jint)lpStruct->u.v1.itemHelpContentCallback);
- (*env)->SetIntField(env, lpObject, DataBrowserCallbacksFc.v1_getContextualMenuCallback, (jint)lpStruct->u.v1.getContextualMenuCallback);
- (*env)->SetIntField(env, lpObject, DataBrowserCallbacksFc.v1_selectContextualMenuCallback, (jint)lpStruct->u.v1.selectContextualMenuCallback);
-}
-#endif
-
-#ifndef NO_DataBrowserCustomCallbacks
-typedef struct DataBrowserCustomCallbacks_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID version, v1_drawItemCallback, v1_editTextCallback, v1_hitTestCallback, v1_trackingCallback, v1_dragRegionCallback, v1_acceptDragCallback, v1_receiveDragCallback;
-} DataBrowserCustomCallbacks_FID_CACHE;
-
-DataBrowserCustomCallbacks_FID_CACHE DataBrowserCustomCallbacksFc;
-
-void cacheDataBrowserCustomCallbacksFields(JNIEnv *env, jobject lpObject)
-{
- if (DataBrowserCustomCallbacksFc.cached) return;
- DataBrowserCustomCallbacksFc.clazz = (*env)->GetObjectClass(env, lpObject);
- DataBrowserCustomCallbacksFc.version = (*env)->GetFieldID(env, DataBrowserCustomCallbacksFc.clazz, "version", "I");
- DataBrowserCustomCallbacksFc.v1_drawItemCallback = (*env)->GetFieldID(env, DataBrowserCustomCallbacksFc.clazz, "v1_drawItemCallback", "I");
- DataBrowserCustomCallbacksFc.v1_editTextCallback = (*env)->GetFieldID(env, DataBrowserCustomCallbacksFc.clazz, "v1_editTextCallback", "I");
- DataBrowserCustomCallbacksFc.v1_hitTestCallback = (*env)->GetFieldID(env, DataBrowserCustomCallbacksFc.clazz, "v1_hitTestCallback", "I");
- DataBrowserCustomCallbacksFc.v1_trackingCallback = (*env)->GetFieldID(env, DataBrowserCustomCallbacksFc.clazz, "v1_trackingCallback", "I");
- DataBrowserCustomCallbacksFc.v1_dragRegionCallback = (*env)->GetFieldID(env, DataBrowserCustomCallbacksFc.clazz, "v1_dragRegionCallback", "I");
- DataBrowserCustomCallbacksFc.v1_acceptDragCallback = (*env)->GetFieldID(env, DataBrowserCustomCallbacksFc.clazz, "v1_acceptDragCallback", "I");
- DataBrowserCustomCallbacksFc.v1_receiveDragCallback = (*env)->GetFieldID(env, DataBrowserCustomCallbacksFc.clazz, "v1_receiveDragCallback", "I");
- DataBrowserCustomCallbacksFc.cached = 1;
-}
-
-DataBrowserCustomCallbacks *getDataBrowserCustomCallbacksFields(JNIEnv *env, jobject lpObject, DataBrowserCustomCallbacks *lpStruct)
-{
- if (!DataBrowserCustomCallbacksFc.cached) cacheDataBrowserCustomCallbacksFields(env, lpObject);
- lpStruct->version = (*env)->GetIntField(env, lpObject, DataBrowserCustomCallbacksFc.version);
- lpStruct->u.v1.drawItemCallback = (DataBrowserDrawItemUPP)(*env)->GetIntField(env, lpObject, DataBrowserCustomCallbacksFc.v1_drawItemCallback);
- lpStruct->u.v1.editTextCallback = (DataBrowserEditItemUPP)(*env)->GetIntField(env, lpObject, DataBrowserCustomCallbacksFc.v1_editTextCallback);
- lpStruct->u.v1.hitTestCallback = (DataBrowserHitTestUPP)(*env)->GetIntField(env, lpObject, DataBrowserCustomCallbacksFc.v1_hitTestCallback);
- lpStruct->u.v1.trackingCallback = (DataBrowserTrackingUPP)(*env)->GetIntField(env, lpObject, DataBrowserCustomCallbacksFc.v1_trackingCallback);
- lpStruct->u.v1.dragRegionCallback = (DataBrowserItemDragRgnUPP)(*env)->GetIntField(env, lpObject, DataBrowserCustomCallbacksFc.v1_dragRegionCallback);
- lpStruct->u.v1.acceptDragCallback = (DataBrowserItemAcceptDragUPP)(*env)->GetIntField(env, lpObject, DataBrowserCustomCallbacksFc.v1_acceptDragCallback);
- lpStruct->u.v1.receiveDragCallback = (DataBrowserItemReceiveDragUPP)(*env)->GetIntField(env, lpObject, DataBrowserCustomCallbacksFc.v1_receiveDragCallback);
- return lpStruct;
-}
-
-void setDataBrowserCustomCallbacksFields(JNIEnv *env, jobject lpObject, DataBrowserCustomCallbacks *lpStruct)
-{
- if (!DataBrowserCustomCallbacksFc.cached) cacheDataBrowserCustomCallbacksFields(env, lpObject);
- (*env)->SetIntField(env, lpObject, DataBrowserCustomCallbacksFc.version, (jint)lpStruct->version);
- (*env)->SetIntField(env, lpObject, DataBrowserCustomCallbacksFc.v1_drawItemCallback, (jint)lpStruct->u.v1.drawItemCallback);
- (*env)->SetIntField(env, lpObject, DataBrowserCustomCallbacksFc.v1_editTextCallback, (jint)lpStruct->u.v1.editTextCallback);
- (*env)->SetIntField(env, lpObject, DataBrowserCustomCallbacksFc.v1_hitTestCallback, (jint)lpStruct->u.v1.hitTestCallback);
- (*env)->SetIntField(env, lpObject, DataBrowserCustomCallbacksFc.v1_trackingCallback, (jint)lpStruct->u.v1.trackingCallback);
- (*env)->SetIntField(env, lpObject, DataBrowserCustomCallbacksFc.v1_dragRegionCallback, (jint)lpStruct->u.v1.dragRegionCallback);
- (*env)->SetIntField(env, lpObject, DataBrowserCustomCallbacksFc.v1_acceptDragCallback, (jint)lpStruct->u.v1.acceptDragCallback);
- (*env)->SetIntField(env, lpObject, DataBrowserCustomCallbacksFc.v1_receiveDragCallback, (jint)lpStruct->u.v1.receiveDragCallback);
-}
-#endif
-
-#ifndef NO_DataBrowserListViewColumnDesc
-typedef struct DataBrowserListViewColumnDesc_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID propertyDesc_propertyID, propertyDesc_propertyType, propertyDesc_propertyFlags, headerBtnDesc_version, headerBtnDesc_minimumWidth, headerBtnDesc_maximumWidth, headerBtnDesc_titleOffset, headerBtnDesc_titleString, headerBtnDesc_initialOrder, headerBtnDesc_btnFontStyle_flags, headerBtnDesc_btnFontStyle_font, headerBtnDesc_btnFontStyle_size, headerBtnDesc_btnFontStyle_style, headerBtnDesc_btnFontStyle_mode, headerBtnDesc_btnFontStyle_just, headerBtnDesc_btnFontStyle_foreColor_red, headerBtnDesc_btnFontStyle_foreColor_green, headerBtnDesc_btnFontStyle_foreColor_blue, headerBtnDesc_btnFontStyle_backColor_red, headerBtnDesc_btnFontStyle_backColor_green, headerBtnDesc_btnFontStyle_backColor_blue, headerBtnDesc_btnContentInfo_contentType, headerBtnDesc_btnContentInfo_iconRef;
-} DataBrowserListViewColumnDesc_FID_CACHE;
-
-DataBrowserListViewColumnDesc_FID_CACHE DataBrowserListViewColumnDescFc;
-
-void cacheDataBrowserListViewColumnDescFields(JNIEnv *env, jobject lpObject)
-{
- if (DataBrowserListViewColumnDescFc.cached) return;
- DataBrowserListViewColumnDescFc.clazz = (*env)->GetObjectClass(env, lpObject);
- DataBrowserListViewColumnDescFc.propertyDesc_propertyID = (*env)->GetFieldID(env, DataBrowserListViewColumnDescFc.clazz, "propertyDesc_propertyID", "I");
- DataBrowserListViewColumnDescFc.propertyDesc_propertyType = (*env)->GetFieldID(env, DataBrowserListViewColumnDescFc.clazz, "propertyDesc_propertyType", "I");
- DataBrowserListViewColumnDescFc.propertyDesc_propertyFlags = (*env)->GetFieldID(env, DataBrowserListViewColumnDescFc.clazz, "propertyDesc_propertyFlags", "I");
- DataBrowserListViewColumnDescFc.headerBtnDesc_version = (*env)->GetFieldID(env, DataBrowserListViewColumnDescFc.clazz, "headerBtnDesc_version", "I");
- DataBrowserListViewColumnDescFc.headerBtnDesc_minimumWidth = (*env)->GetFieldID(env, DataBrowserListViewColumnDescFc.clazz, "headerBtnDesc_minimumWidth", "S");
- DataBrowserListViewColumnDescFc.headerBtnDesc_maximumWidth = (*env)->GetFieldID(env, DataBrowserListViewColumnDescFc.clazz, "headerBtnDesc_maximumWidth", "S");
- DataBrowserListViewColumnDescFc.headerBtnDesc_titleOffset = (*env)->GetFieldID(env, DataBrowserListViewColumnDescFc.clazz, "headerBtnDesc_titleOffset", "S");
- DataBrowserListViewColumnDescFc.headerBtnDesc_titleString = (*env)->GetFieldID(env, DataBrowserListViewColumnDescFc.clazz, "headerBtnDesc_titleString", "I");
- DataBrowserListViewColumnDescFc.headerBtnDesc_initialOrder = (*env)->GetFieldID(env, DataBrowserListViewColumnDescFc.clazz, "headerBtnDesc_initialOrder", "S");
- DataBrowserListViewColumnDescFc.headerBtnDesc_btnFontStyle_flags = (*env)->GetFieldID(env, DataBrowserListViewColumnDescFc.clazz, "headerBtnDesc_btnFontStyle_flags", "S");
- DataBrowserListViewColumnDescFc.headerBtnDesc_btnFontStyle_font = (*env)->GetFieldID(env, DataBrowserListViewColumnDescFc.clazz, "headerBtnDesc_btnFontStyle_font", "S");
- DataBrowserListViewColumnDescFc.headerBtnDesc_btnFontStyle_size = (*env)->GetFieldID(env, DataBrowserListViewColumnDescFc.clazz, "headerBtnDesc_btnFontStyle_size", "S");
- DataBrowserListViewColumnDescFc.headerBtnDesc_btnFontStyle_style = (*env)->GetFieldID(env, DataBrowserListViewColumnDescFc.clazz, "headerBtnDesc_btnFontStyle_style", "S");
- DataBrowserListViewColumnDescFc.headerBtnDesc_btnFontStyle_mode = (*env)->GetFieldID(env, DataBrowserListViewColumnDescFc.clazz, "headerBtnDesc_btnFontStyle_mode", "S");
- DataBrowserListViewColumnDescFc.headerBtnDesc_btnFontStyle_just = (*env)->GetFieldID(env, DataBrowserListViewColumnDescFc.clazz, "headerBtnDesc_btnFontStyle_just", "S");
- DataBrowserListViewColumnDescFc.headerBtnDesc_btnFontStyle_foreColor_red = (*env)->GetFieldID(env, DataBrowserListViewColumnDescFc.clazz, "headerBtnDesc_btnFontStyle_foreColor_red", "S");
- DataBrowserListViewColumnDescFc.headerBtnDesc_btnFontStyle_foreColor_green = (*env)->GetFieldID(env, DataBrowserListViewColumnDescFc.clazz, "headerBtnDesc_btnFontStyle_foreColor_green", "S");
- DataBrowserListViewColumnDescFc.headerBtnDesc_btnFontStyle_foreColor_blue = (*env)->GetFieldID(env, DataBrowserListViewColumnDescFc.clazz, "headerBtnDesc_btnFontStyle_foreColor_blue", "S");
- DataBrowserListViewColumnDescFc.headerBtnDesc_btnFontStyle_backColor_red = (*env)->GetFieldID(env, DataBrowserListViewColumnDescFc.clazz, "headerBtnDesc_btnFontStyle_backColor_red", "S");
- DataBrowserListViewColumnDescFc.headerBtnDesc_btnFontStyle_backColor_green = (*env)->GetFieldID(env, DataBrowserListViewColumnDescFc.clazz, "headerBtnDesc_btnFontStyle_backColor_green", "S");
- DataBrowserListViewColumnDescFc.headerBtnDesc_btnFontStyle_backColor_blue = (*env)->GetFieldID(env, DataBrowserListViewColumnDescFc.clazz, "headerBtnDesc_btnFontStyle_backColor_blue", "S");
- DataBrowserListViewColumnDescFc.headerBtnDesc_btnContentInfo_contentType = (*env)->GetFieldID(env, DataBrowserListViewColumnDescFc.clazz, "headerBtnDesc_btnContentInfo_contentType", "S");
- DataBrowserListViewColumnDescFc.headerBtnDesc_btnContentInfo_iconRef = (*env)->GetFieldID(env, DataBrowserListViewColumnDescFc.clazz, "headerBtnDesc_btnContentInfo_iconRef", "I");
- DataBrowserListViewColumnDescFc.cached = 1;
-}
-
-DataBrowserListViewColumnDesc *getDataBrowserListViewColumnDescFields(JNIEnv *env, jobject lpObject, DataBrowserListViewColumnDesc *lpStruct)
-{
- if (!DataBrowserListViewColumnDescFc.cached) cacheDataBrowserListViewColumnDescFields(env, lpObject);
- lpStruct->propertyDesc.propertyID = (DataBrowserPropertyID)(*env)->GetIntField(env, lpObject, DataBrowserListViewColumnDescFc.propertyDesc_propertyID);
- lpStruct->propertyDesc.propertyType = (OSType)(*env)->GetIntField(env, lpObject, DataBrowserListViewColumnDescFc.propertyDesc_propertyType);
- lpStruct->propertyDesc.propertyFlags = (DataBrowserPropertyFlags)(*env)->GetIntField(env, lpObject, DataBrowserListViewColumnDescFc.propertyDesc_propertyFlags);
- lpStruct->headerBtnDesc.version = (UInt32)(*env)->GetIntField(env, lpObject, DataBrowserListViewColumnDescFc.headerBtnDesc_version);
- lpStruct->headerBtnDesc.minimumWidth = (UInt16)(*env)->GetShortField(env, lpObject, DataBrowserListViewColumnDescFc.headerBtnDesc_minimumWidth);
- lpStruct->headerBtnDesc.maximumWidth = (UInt16)(*env)->GetShortField(env, lpObject, DataBrowserListViewColumnDescFc.headerBtnDesc_maximumWidth);
- lpStruct->headerBtnDesc.titleOffset = (SInt16)(*env)->GetShortField(env, lpObject, DataBrowserListViewColumnDescFc.headerBtnDesc_titleOffset);
- lpStruct->headerBtnDesc.titleString = (CFStringRef)(*env)->GetIntField(env, lpObject, DataBrowserListViewColumnDescFc.headerBtnDesc_titleString);
- lpStruct->headerBtnDesc.initialOrder = (DataBrowserSortOrder)(*env)->GetShortField(env, lpObject, DataBrowserListViewColumnDescFc.headerBtnDesc_initialOrder);
- lpStruct->headerBtnDesc.btnFontStyle.flags = (SInt16)(*env)->GetShortField(env, lpObject, DataBrowserListViewColumnDescFc.headerBtnDesc_btnFontStyle_flags);
- lpStruct->headerBtnDesc.btnFontStyle.font = (SInt16)(*env)->GetShortField(env, lpObject, DataBrowserListViewColumnDescFc.headerBtnDesc_btnFontStyle_font);
- lpStruct->headerBtnDesc.btnFontStyle.size = (SInt16)(*env)->GetShortField(env, lpObject, DataBrowserListViewColumnDescFc.headerBtnDesc_btnFontStyle_size);
- lpStruct->headerBtnDesc.btnFontStyle.style = (SInt16)(*env)->GetShortField(env, lpObject, DataBrowserListViewColumnDescFc.headerBtnDesc_btnFontStyle_style);
- lpStruct->headerBtnDesc.btnFontStyle.mode = (SInt16)(*env)->GetShortField(env, lpObject, DataBrowserListViewColumnDescFc.headerBtnDesc_btnFontStyle_mode);
- lpStruct->headerBtnDesc.btnFontStyle.just = (SInt16)(*env)->GetShortField(env, lpObject, DataBrowserListViewColumnDescFc.headerBtnDesc_btnFontStyle_just);
- lpStruct->headerBtnDesc.btnFontStyle.foreColor.red = (unsigned short)(*env)->GetShortField(env, lpObject, DataBrowserListViewColumnDescFc.headerBtnDesc_btnFontStyle_foreColor_red);
- lpStruct->headerBtnDesc.btnFontStyle.foreColor.green = (unsigned short)(*env)->GetShortField(env, lpObject, DataBrowserListViewColumnDescFc.headerBtnDesc_btnFontStyle_foreColor_green);
- lpStruct->headerBtnDesc.btnFontStyle.foreColor.blue = (unsigned short)(*env)->GetShortField(env, lpObject, DataBrowserListViewColumnDescFc.headerBtnDesc_btnFontStyle_foreColor_blue);
- lpStruct->headerBtnDesc.btnFontStyle.backColor.red = (unsigned short)(*env)->GetShortField(env, lpObject, DataBrowserListViewColumnDescFc.headerBtnDesc_btnFontStyle_backColor_red);
- lpStruct->headerBtnDesc.btnFontStyle.backColor.green = (unsigned short)(*env)->GetShortField(env, lpObject, DataBrowserListViewColumnDescFc.headerBtnDesc_btnFontStyle_backColor_green);
- lpStruct->headerBtnDesc.btnFontStyle.backColor.blue = (unsigned short)(*env)->GetShortField(env, lpObject, DataBrowserListViewColumnDescFc.headerBtnDesc_btnFontStyle_backColor_blue);
- lpStruct->headerBtnDesc.btnContentInfo.contentType = (ControlContentType)(*env)->GetShortField(env, lpObject, DataBrowserListViewColumnDescFc.headerBtnDesc_btnContentInfo_contentType);
- lpStruct->headerBtnDesc.btnContentInfo.u.iconRef = (IconRef)(*env)->GetIntField(env, lpObject, DataBrowserListViewColumnDescFc.headerBtnDesc_btnContentInfo_iconRef);
- return lpStruct;
-}
-
-void setDataBrowserListViewColumnDescFields(JNIEnv *env, jobject lpObject, DataBrowserListViewColumnDesc *lpStruct)
-{
- if (!DataBrowserListViewColumnDescFc.cached) cacheDataBrowserListViewColumnDescFields(env, lpObject);
- (*env)->SetIntField(env, lpObject, DataBrowserListViewColumnDescFc.propertyDesc_propertyID, (jint)lpStruct->propertyDesc.propertyID);
- (*env)->SetIntField(env, lpObject, DataBrowserListViewColumnDescFc.propertyDesc_propertyType, (jint)lpStruct->propertyDesc.propertyType);
- (*env)->SetIntField(env, lpObject, DataBrowserListViewColumnDescFc.propertyDesc_propertyFlags, (jint)lpStruct->propertyDesc.propertyFlags);
- (*env)->SetIntField(env, lpObject, DataBrowserListViewColumnDescFc.headerBtnDesc_version, (jint)lpStruct->headerBtnDesc.version);
- (*env)->SetShortField(env, lpObject, DataBrowserListViewColumnDescFc.headerBtnDesc_minimumWidth, (jshort)lpStruct->headerBtnDesc.minimumWidth);
- (*env)->SetShortField(env, lpObject, DataBrowserListViewColumnDescFc.headerBtnDesc_maximumWidth, (jshort)lpStruct->headerBtnDesc.maximumWidth);
- (*env)->SetShortField(env, lpObject, DataBrowserListViewColumnDescFc.headerBtnDesc_titleOffset, (jshort)lpStruct->headerBtnDesc.titleOffset);
- (*env)->SetIntField(env, lpObject, DataBrowserListViewColumnDescFc.headerBtnDesc_titleString, (jint)lpStruct->headerBtnDesc.titleString);
- (*env)->SetShortField(env, lpObject, DataBrowserListViewColumnDescFc.headerBtnDesc_initialOrder, (jshort)lpStruct->headerBtnDesc.initialOrder);
- (*env)->SetShortField(env, lpObject, DataBrowserListViewColumnDescFc.headerBtnDesc_btnFontStyle_flags, (jshort)lpStruct->headerBtnDesc.btnFontStyle.flags);
- (*env)->SetShortField(env, lpObject, DataBrowserListViewColumnDescFc.headerBtnDesc_btnFontStyle_font, (jshort)lpStruct->headerBtnDesc.btnFontStyle.font);
- (*env)->SetShortField(env, lpObject, DataBrowserListViewColumnDescFc.headerBtnDesc_btnFontStyle_size, (jshort)lpStruct->headerBtnDesc.btnFontStyle.size);
- (*env)->SetShortField(env, lpObject, DataBrowserListViewColumnDescFc.headerBtnDesc_btnFontStyle_style, (jshort)lpStruct->headerBtnDesc.btnFontStyle.style);
- (*env)->SetShortField(env, lpObject, DataBrowserListViewColumnDescFc.headerBtnDesc_btnFontStyle_mode, (jshort)lpStruct->headerBtnDesc.btnFontStyle.mode);
- (*env)->SetShortField(env, lpObject, DataBrowserListViewColumnDescFc.headerBtnDesc_btnFontStyle_just, (jshort)lpStruct->headerBtnDesc.btnFontStyle.just);
- (*env)->SetShortField(env, lpObject, DataBrowserListViewColumnDescFc.headerBtnDesc_btnFontStyle_foreColor_red, (jshort)lpStruct->headerBtnDesc.btnFontStyle.foreColor.red);
- (*env)->SetShortField(env, lpObject, DataBrowserListViewColumnDescFc.headerBtnDesc_btnFontStyle_foreColor_green, (jshort)lpStruct->headerBtnDesc.btnFontStyle.foreColor.green);
- (*env)->SetShortField(env, lpObject, DataBrowserListViewColumnDescFc.headerBtnDesc_btnFontStyle_foreColor_blue, (jshort)lpStruct->headerBtnDesc.btnFontStyle.foreColor.blue);
- (*env)->SetShortField(env, lpObject, DataBrowserListViewColumnDescFc.headerBtnDesc_btnFontStyle_backColor_red, (jshort)lpStruct->headerBtnDesc.btnFontStyle.backColor.red);
- (*env)->SetShortField(env, lpObject, DataBrowserListViewColumnDescFc.headerBtnDesc_btnFontStyle_backColor_green, (jshort)lpStruct->headerBtnDesc.btnFontStyle.backColor.green);
- (*env)->SetShortField(env, lpObject, DataBrowserListViewColumnDescFc.headerBtnDesc_btnFontStyle_backColor_blue, (jshort)lpStruct->headerBtnDesc.btnFontStyle.backColor.blue);
- (*env)->SetShortField(env, lpObject, DataBrowserListViewColumnDescFc.headerBtnDesc_btnContentInfo_contentType, (jshort)lpStruct->headerBtnDesc.btnContentInfo.contentType);
- (*env)->SetIntField(env, lpObject, DataBrowserListViewColumnDescFc.headerBtnDesc_btnContentInfo_iconRef, (jint)lpStruct->headerBtnDesc.btnContentInfo.u.iconRef);
-}
-#endif
-
-#ifndef NO_DataBrowserListViewHeaderDesc
-typedef struct DataBrowserListViewHeaderDesc_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID version, minimumWidth, maximumWidth, titleOffset, titleString, initialOrder, btnFontStyle_flags, btnFontStyle_font, btnFontStyle_size, btnFontStyle_style, btnFontStyle_mode, btnFontStyle_just, btnFontStyle_foreColor_red, btnFontStyle_foreColor_green, btnFontStyle_foreColor_blue, btnFontStyle_backColor_red, btnFontStyle_backColor_green, btnFontStyle_backColor_blue, btnContentInfo_contentType, btnContentInfo_iconRef;
-} DataBrowserListViewHeaderDesc_FID_CACHE;
-
-DataBrowserListViewHeaderDesc_FID_CACHE DataBrowserListViewHeaderDescFc;
-
-void cacheDataBrowserListViewHeaderDescFields(JNIEnv *env, jobject lpObject)
-{
- if (DataBrowserListViewHeaderDescFc.cached) return;
- DataBrowserListViewHeaderDescFc.clazz = (*env)->GetObjectClass(env, lpObject);
- DataBrowserListViewHeaderDescFc.version = (*env)->GetFieldID(env, DataBrowserListViewHeaderDescFc.clazz, "version", "I");
- DataBrowserListViewHeaderDescFc.minimumWidth = (*env)->GetFieldID(env, DataBrowserListViewHeaderDescFc.clazz, "minimumWidth", "S");
- DataBrowserListViewHeaderDescFc.maximumWidth = (*env)->GetFieldID(env, DataBrowserListViewHeaderDescFc.clazz, "maximumWidth", "S");
- DataBrowserListViewHeaderDescFc.titleOffset = (*env)->GetFieldID(env, DataBrowserListViewHeaderDescFc.clazz, "titleOffset", "S");
- DataBrowserListViewHeaderDescFc.titleString = (*env)->GetFieldID(env, DataBrowserListViewHeaderDescFc.clazz, "titleString", "I");
- DataBrowserListViewHeaderDescFc.initialOrder = (*env)->GetFieldID(env, DataBrowserListViewHeaderDescFc.clazz, "initialOrder", "S");
- DataBrowserListViewHeaderDescFc.btnFontStyle_flags = (*env)->GetFieldID(env, DataBrowserListViewHeaderDescFc.clazz, "btnFontStyle_flags", "S");
- DataBrowserListViewHeaderDescFc.btnFontStyle_font = (*env)->GetFieldID(env, DataBrowserListViewHeaderDescFc.clazz, "btnFontStyle_font", "S");
- DataBrowserListViewHeaderDescFc.btnFontStyle_size = (*env)->GetFieldID(env, DataBrowserListViewHeaderDescFc.clazz, "btnFontStyle_size", "S");
- DataBrowserListViewHeaderDescFc.btnFontStyle_style = (*env)->GetFieldID(env, DataBrowserListViewHeaderDescFc.clazz, "btnFontStyle_style", "S");
- DataBrowserListViewHeaderDescFc.btnFontStyle_mode = (*env)->GetFieldID(env, DataBrowserListViewHeaderDescFc.clazz, "btnFontStyle_mode", "S");
- DataBrowserListViewHeaderDescFc.btnFontStyle_just = (*env)->GetFieldID(env, DataBrowserListViewHeaderDescFc.clazz, "btnFontStyle_just", "S");
- DataBrowserListViewHeaderDescFc.btnFontStyle_foreColor_red = (*env)->GetFieldID(env, DataBrowserListViewHeaderDescFc.clazz, "btnFontStyle_foreColor_red", "S");
- DataBrowserListViewHeaderDescFc.btnFontStyle_foreColor_green = (*env)->GetFieldID(env, DataBrowserListViewHeaderDescFc.clazz, "btnFontStyle_foreColor_green", "S");
- DataBrowserListViewHeaderDescFc.btnFontStyle_foreColor_blue = (*env)->GetFieldID(env, DataBrowserListViewHeaderDescFc.clazz, "btnFontStyle_foreColor_blue", "S");
- DataBrowserListViewHeaderDescFc.btnFontStyle_backColor_red = (*env)->GetFieldID(env, DataBrowserListViewHeaderDescFc.clazz, "btnFontStyle_backColor_red", "S");
- DataBrowserListViewHeaderDescFc.btnFontStyle_backColor_green = (*env)->GetFieldID(env, DataBrowserListViewHeaderDescFc.clazz, "btnFontStyle_backColor_green", "S");
- DataBrowserListViewHeaderDescFc.btnFontStyle_backColor_blue = (*env)->GetFieldID(env, DataBrowserListViewHeaderDescFc.clazz, "btnFontStyle_backColor_blue", "S");
- DataBrowserListViewHeaderDescFc.btnContentInfo_contentType = (*env)->GetFieldID(env, DataBrowserListViewHeaderDescFc.clazz, "btnContentInfo_contentType", "S");
- DataBrowserListViewHeaderDescFc.btnContentInfo_iconRef = (*env)->GetFieldID(env, DataBrowserListViewHeaderDescFc.clazz, "btnContentInfo_iconRef", "I");
- DataBrowserListViewHeaderDescFc.cached = 1;
-}
-
-DataBrowserListViewHeaderDesc *getDataBrowserListViewHeaderDescFields(JNIEnv *env, jobject lpObject, DataBrowserListViewHeaderDesc *lpStruct)
-{
- if (!DataBrowserListViewHeaderDescFc.cached) cacheDataBrowserListViewHeaderDescFields(env, lpObject);
- lpStruct->version = (*env)->GetIntField(env, lpObject, DataBrowserListViewHeaderDescFc.version);
- lpStruct->minimumWidth = (*env)->GetShortField(env, lpObject, DataBrowserListViewHeaderDescFc.minimumWidth);
- lpStruct->maximumWidth = (*env)->GetShortField(env, lpObject, DataBrowserListViewHeaderDescFc.maximumWidth);
- lpStruct->titleOffset = (*env)->GetShortField(env, lpObject, DataBrowserListViewHeaderDescFc.titleOffset);
- lpStruct->titleString = (CFStringRef)(*env)->GetIntField(env, lpObject, DataBrowserListViewHeaderDescFc.titleString);
- lpStruct->initialOrder = (*env)->GetShortField(env, lpObject, DataBrowserListViewHeaderDescFc.initialOrder);
- lpStruct->btnFontStyle.flags = (*env)->GetShortField(env, lpObject, DataBrowserListViewHeaderDescFc.btnFontStyle_flags);
- lpStruct->btnFontStyle.font = (*env)->GetShortField(env, lpObject, DataBrowserListViewHeaderDescFc.btnFontStyle_font);
- lpStruct->btnFontStyle.size = (*env)->GetShortField(env, lpObject, DataBrowserListViewHeaderDescFc.btnFontStyle_size);
- lpStruct->btnFontStyle.style = (*env)->GetShortField(env, lpObject, DataBrowserListViewHeaderDescFc.btnFontStyle_style);
- lpStruct->btnFontStyle.mode = (*env)->GetShortField(env, lpObject, DataBrowserListViewHeaderDescFc.btnFontStyle_mode);
- lpStruct->btnFontStyle.just = (*env)->GetShortField(env, lpObject, DataBrowserListViewHeaderDescFc.btnFontStyle_just);
- lpStruct->btnFontStyle.foreColor.red = (*env)->GetShortField(env, lpObject, DataBrowserListViewHeaderDescFc.btnFontStyle_foreColor_red);
- lpStruct->btnFontStyle.foreColor.green = (*env)->GetShortField(env, lpObject, DataBrowserListViewHeaderDescFc.btnFontStyle_foreColor_green);
- lpStruct->btnFontStyle.foreColor.blue = (*env)->GetShortField(env, lpObject, DataBrowserListViewHeaderDescFc.btnFontStyle_foreColor_blue);
- lpStruct->btnFontStyle.backColor.red = (*env)->GetShortField(env, lpObject, DataBrowserListViewHeaderDescFc.btnFontStyle_backColor_red);
- lpStruct->btnFontStyle.backColor.green = (*env)->GetShortField(env, lpObject, DataBrowserListViewHeaderDescFc.btnFontStyle_backColor_green);
- lpStruct->btnFontStyle.backColor.blue = (*env)->GetShortField(env, lpObject, DataBrowserListViewHeaderDescFc.btnFontStyle_backColor_blue);
- lpStruct->btnContentInfo.contentType = (*env)->GetShortField(env, lpObject, DataBrowserListViewHeaderDescFc.btnContentInfo_contentType);
- lpStruct->btnContentInfo.u.iconRef = (IconRef)(*env)->GetIntField(env, lpObject, DataBrowserListViewHeaderDescFc.btnContentInfo_iconRef);
- return lpStruct;
-}
-
-void setDataBrowserListViewHeaderDescFields(JNIEnv *env, jobject lpObject, DataBrowserListViewHeaderDesc *lpStruct)
-{
- if (!DataBrowserListViewHeaderDescFc.cached) cacheDataBrowserListViewHeaderDescFields(env, lpObject);
- (*env)->SetIntField(env, lpObject, DataBrowserListViewHeaderDescFc.version, (jint)lpStruct->version);
- (*env)->SetShortField(env, lpObject, DataBrowserListViewHeaderDescFc.minimumWidth, (jshort)lpStruct->minimumWidth);
- (*env)->SetShortField(env, lpObject, DataBrowserListViewHeaderDescFc.maximumWidth, (jshort)lpStruct->maximumWidth);
- (*env)->SetShortField(env, lpObject, DataBrowserListViewHeaderDescFc.titleOffset, (jshort)lpStruct->titleOffset);
- (*env)->SetIntField(env, lpObject, DataBrowserListViewHeaderDescFc.titleString, (jint)lpStruct->titleString);
- (*env)->SetShortField(env, lpObject, DataBrowserListViewHeaderDescFc.initialOrder, (jshort)lpStruct->initialOrder);
- (*env)->SetShortField(env, lpObject, DataBrowserListViewHeaderDescFc.btnFontStyle_flags, (jshort)lpStruct->btnFontStyle.flags);
- (*env)->SetShortField(env, lpObject, DataBrowserListViewHeaderDescFc.btnFontStyle_font, (jshort)lpStruct->btnFontStyle.font);
- (*env)->SetShortField(env, lpObject, DataBrowserListViewHeaderDescFc.btnFontStyle_size, (jshort)lpStruct->btnFontStyle.size);
- (*env)->SetShortField(env, lpObject, DataBrowserListViewHeaderDescFc.btnFontStyle_style, (jshort)lpStruct->btnFontStyle.style);
- (*env)->SetShortField(env, lpObject, DataBrowserListViewHeaderDescFc.btnFontStyle_mode, (jshort)lpStruct->btnFontStyle.mode);
- (*env)->SetShortField(env, lpObject, DataBrowserListViewHeaderDescFc.btnFontStyle_just, (jshort)lpStruct->btnFontStyle.just);
- (*env)->SetShortField(env, lpObject, DataBrowserListViewHeaderDescFc.btnFontStyle_foreColor_red, (jshort)lpStruct->btnFontStyle.foreColor.red);
- (*env)->SetShortField(env, lpObject, DataBrowserListViewHeaderDescFc.btnFontStyle_foreColor_green, (jshort)lpStruct->btnFontStyle.foreColor.green);
- (*env)->SetShortField(env, lpObject, DataBrowserListViewHeaderDescFc.btnFontStyle_foreColor_blue, (jshort)lpStruct->btnFontStyle.foreColor.blue);
- (*env)->SetShortField(env, lpObject, DataBrowserListViewHeaderDescFc.btnFontStyle_backColor_red, (jshort)lpStruct->btnFontStyle.backColor.red);
- (*env)->SetShortField(env, lpObject, DataBrowserListViewHeaderDescFc.btnFontStyle_backColor_green, (jshort)lpStruct->btnFontStyle.backColor.green);
- (*env)->SetShortField(env, lpObject, DataBrowserListViewHeaderDescFc.btnFontStyle_backColor_blue, (jshort)lpStruct->btnFontStyle.backColor.blue);
- (*env)->SetShortField(env, lpObject, DataBrowserListViewHeaderDescFc.btnContentInfo_contentType, (jshort)lpStruct->btnContentInfo.contentType);
- (*env)->SetIntField(env, lpObject, DataBrowserListViewHeaderDescFc.btnContentInfo_iconRef, (jint)lpStruct->btnContentInfo.u.iconRef);
-}
-#endif
-
-#ifndef NO_EventRecord
-typedef struct EventRecord_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID what, message, when, where_v, where_h, modifiers;
-} EventRecord_FID_CACHE;
-
-EventRecord_FID_CACHE EventRecordFc;
-
-void cacheEventRecordFields(JNIEnv *env, jobject lpObject)
-{
- if (EventRecordFc.cached) return;
- EventRecordFc.clazz = (*env)->GetObjectClass(env, lpObject);
- EventRecordFc.what = (*env)->GetFieldID(env, EventRecordFc.clazz, "what", "S");
- EventRecordFc.message = (*env)->GetFieldID(env, EventRecordFc.clazz, "message", "I");
- EventRecordFc.when = (*env)->GetFieldID(env, EventRecordFc.clazz, "when", "I");
- EventRecordFc.where_v = (*env)->GetFieldID(env, EventRecordFc.clazz, "where_v", "S");
- EventRecordFc.where_h = (*env)->GetFieldID(env, EventRecordFc.clazz, "where_h", "S");
- EventRecordFc.modifiers = (*env)->GetFieldID(env, EventRecordFc.clazz, "modifiers", "S");
- EventRecordFc.cached = 1;
-}
-
-EventRecord *getEventRecordFields(JNIEnv *env, jobject lpObject, EventRecord *lpStruct)
-{
- if (!EventRecordFc.cached) cacheEventRecordFields(env, lpObject);
- lpStruct->what = (EventKind)(*env)->GetShortField(env, lpObject, EventRecordFc.what);
- lpStruct->message = (*env)->GetIntField(env, lpObject, EventRecordFc.message);
- lpStruct->when = (*env)->GetIntField(env, lpObject, EventRecordFc.when);
- lpStruct->where.v = (*env)->GetShortField(env, lpObject, EventRecordFc.where_v);
- lpStruct->where.h = (*env)->GetShortField(env, lpObject, EventRecordFc.where_h);
- lpStruct->modifiers = (EventModifiers)(*env)->GetShortField(env, lpObject, EventRecordFc.modifiers);
- return lpStruct;
-}
-
-void setEventRecordFields(JNIEnv *env, jobject lpObject, EventRecord *lpStruct)
-{
- if (!EventRecordFc.cached) cacheEventRecordFields(env, lpObject);
- (*env)->SetShortField(env, lpObject, EventRecordFc.what, (jshort)lpStruct->what);
- (*env)->SetIntField(env, lpObject, EventRecordFc.message, (jint)lpStruct->message);
- (*env)->SetIntField(env, lpObject, EventRecordFc.when, (jint)lpStruct->when);
- (*env)->SetShortField(env, lpObject, EventRecordFc.where_v, (jshort)lpStruct->where.v);
- (*env)->SetShortField(env, lpObject, EventRecordFc.where_h, (jshort)lpStruct->where.h);
- (*env)->SetShortField(env, lpObject, EventRecordFc.modifiers, (jshort)lpStruct->modifiers);
-}
-#endif
-
-#ifndef NO_GDevice
-typedef struct GDevice_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID gdRefNum, gdID, gdType, gdITable, gdResPref, gdSearchProc, gdCompProc, gdFlags, gdPMap, gdRefCon, gdNextGD, left, top, right, bottom, gdMode, gdCCBytes, gdCCDepth, gdCCXData, gdCCXMask, gdExt;
-} GDevice_FID_CACHE;
-
-GDevice_FID_CACHE GDeviceFc;
-
-void cacheGDeviceFields(JNIEnv *env, jobject lpObject)
-{
- if (GDeviceFc.cached) return;
- GDeviceFc.clazz = (*env)->GetObjectClass(env, lpObject);
- GDeviceFc.gdRefNum = (*env)->GetFieldID(env, GDeviceFc.clazz, "gdRefNum", "S");
- GDeviceFc.gdID = (*env)->GetFieldID(env, GDeviceFc.clazz, "gdID", "S");
- GDeviceFc.gdType = (*env)->GetFieldID(env, GDeviceFc.clazz, "gdType", "S");
- GDeviceFc.gdITable = (*env)->GetFieldID(env, GDeviceFc.clazz, "gdITable", "I");
- GDeviceFc.gdResPref = (*env)->GetFieldID(env, GDeviceFc.clazz, "gdResPref", "S");
- GDeviceFc.gdSearchProc = (*env)->GetFieldID(env, GDeviceFc.clazz, "gdSearchProc", "I");
- GDeviceFc.gdCompProc = (*env)->GetFieldID(env, GDeviceFc.clazz, "gdCompProc", "I");
- GDeviceFc.gdFlags = (*env)->GetFieldID(env, GDeviceFc.clazz, "gdFlags", "S");
- GDeviceFc.gdPMap = (*env)->GetFieldID(env, GDeviceFc.clazz, "gdPMap", "I");
- GDeviceFc.gdRefCon = (*env)->GetFieldID(env, GDeviceFc.clazz, "gdRefCon", "I");
- GDeviceFc.gdNextGD = (*env)->GetFieldID(env, GDeviceFc.clazz, "gdNextGD", "I");
- GDeviceFc.left = (*env)->GetFieldID(env, GDeviceFc.clazz, "left", "S");
- GDeviceFc.top = (*env)->GetFieldID(env, GDeviceFc.clazz, "top", "S");
- GDeviceFc.right = (*env)->GetFieldID(env, GDeviceFc.clazz, "right", "S");
- GDeviceFc.bottom = (*env)->GetFieldID(env, GDeviceFc.clazz, "bottom", "S");
- GDeviceFc.gdMode = (*env)->GetFieldID(env, GDeviceFc.clazz, "gdMode", "I");
- GDeviceFc.gdCCBytes = (*env)->GetFieldID(env, GDeviceFc.clazz, "gdCCBytes", "S");
- GDeviceFc.gdCCDepth = (*env)->GetFieldID(env, GDeviceFc.clazz, "gdCCDepth", "S");
- GDeviceFc.gdCCXData = (*env)->GetFieldID(env, GDeviceFc.clazz, "gdCCXData", "I");
- GDeviceFc.gdCCXMask = (*env)->GetFieldID(env, GDeviceFc.clazz, "gdCCXMask", "I");
- GDeviceFc.gdExt = (*env)->GetFieldID(env, GDeviceFc.clazz, "gdExt", "I");
- GDeviceFc.cached = 1;
-}
-
-GDevice *getGDeviceFields(JNIEnv *env, jobject lpObject, GDevice *lpStruct)
-{
- if (!GDeviceFc.cached) cacheGDeviceFields(env, lpObject);
- lpStruct->gdRefNum = (*env)->GetShortField(env, lpObject, GDeviceFc.gdRefNum);
- lpStruct->gdID = (*env)->GetShortField(env, lpObject, GDeviceFc.gdID);
- lpStruct->gdType = (*env)->GetShortField(env, lpObject, GDeviceFc.gdType);
- lpStruct->gdITable = (ITabHandle)(*env)->GetIntField(env, lpObject, GDeviceFc.gdITable);
- lpStruct->gdResPref = (*env)->GetShortField(env, lpObject, GDeviceFc.gdResPref);
- lpStruct->gdSearchProc = (SProcHndl)(*env)->GetIntField(env, lpObject, GDeviceFc.gdSearchProc);
- lpStruct->gdCompProc = (CProcHndl)(*env)->GetIntField(env, lpObject, GDeviceFc.gdCompProc);
- lpStruct->gdFlags = (*env)->GetShortField(env, lpObject, GDeviceFc.gdFlags);
- lpStruct->gdPMap = (PixMapHandle)(*env)->GetIntField(env, lpObject, GDeviceFc.gdPMap);
- lpStruct->gdRefCon = (*env)->GetIntField(env, lpObject, GDeviceFc.gdRefCon);
- lpStruct->gdNextGD = (GDHandle)(*env)->GetIntField(env, lpObject, GDeviceFc.gdNextGD);
- lpStruct->gdRect.left = (*env)->GetShortField(env, lpObject, GDeviceFc.left);
- lpStruct->gdRect.top = (*env)->GetShortField(env, lpObject, GDeviceFc.top);
- lpStruct->gdRect.right = (*env)->GetShortField(env, lpObject, GDeviceFc.right);
- lpStruct->gdRect.bottom = (*env)->GetShortField(env, lpObject, GDeviceFc.bottom);
- lpStruct->gdMode = (*env)->GetIntField(env, lpObject, GDeviceFc.gdMode);
- lpStruct->gdCCBytes = (*env)->GetShortField(env, lpObject, GDeviceFc.gdCCBytes);
- lpStruct->gdCCDepth = (*env)->GetShortField(env, lpObject, GDeviceFc.gdCCDepth);
- lpStruct->gdCCXData = (Handle)(*env)->GetIntField(env, lpObject, GDeviceFc.gdCCXData);
- lpStruct->gdCCXMask = (Handle)(*env)->GetIntField(env, lpObject, GDeviceFc.gdCCXMask);
- lpStruct->gdExt = (Handle)(*env)->GetIntField(env, lpObject, GDeviceFc.gdExt);
- return lpStruct;
-}
-
-void setGDeviceFields(JNIEnv *env, jobject lpObject, GDevice *lpStruct)
-{
- if (!GDeviceFc.cached) cacheGDeviceFields(env, lpObject);
- (*env)->SetShortField(env, lpObject, GDeviceFc.gdRefNum, (jshort)lpStruct->gdRefNum);
- (*env)->SetShortField(env, lpObject, GDeviceFc.gdID, (jshort)lpStruct->gdID);
- (*env)->SetShortField(env, lpObject, GDeviceFc.gdType, (jshort)lpStruct->gdType);
- (*env)->SetIntField(env, lpObject, GDeviceFc.gdITable, (jint)lpStruct->gdITable);
- (*env)->SetShortField(env, lpObject, GDeviceFc.gdResPref, (jshort)lpStruct->gdResPref);
- (*env)->SetIntField(env, lpObject, GDeviceFc.gdSearchProc, (jint)lpStruct->gdSearchProc);
- (*env)->SetIntField(env, lpObject, GDeviceFc.gdCompProc, (jint)lpStruct->gdCompProc);
- (*env)->SetShortField(env, lpObject, GDeviceFc.gdFlags, (jshort)lpStruct->gdFlags);
- (*env)->SetIntField(env, lpObject, GDeviceFc.gdPMap, (jint)lpStruct->gdPMap);
- (*env)->SetIntField(env, lpObject, GDeviceFc.gdRefCon, (jint)lpStruct->gdRefCon);
- (*env)->SetIntField(env, lpObject, GDeviceFc.gdNextGD, (jint)lpStruct->gdNextGD);
- (*env)->SetShortField(env, lpObject, GDeviceFc.left, (jshort)lpStruct->gdRect.left);
- (*env)->SetShortField(env, lpObject, GDeviceFc.top, (jshort)lpStruct->gdRect.top);
- (*env)->SetShortField(env, lpObject, GDeviceFc.right, (jshort)lpStruct->gdRect.right);
- (*env)->SetShortField(env, lpObject, GDeviceFc.bottom, (jshort)lpStruct->gdRect.bottom);
- (*env)->SetIntField(env, lpObject, GDeviceFc.gdMode, (jint)lpStruct->gdMode);
- (*env)->SetShortField(env, lpObject, GDeviceFc.gdCCBytes, (jshort)lpStruct->gdCCBytes);
- (*env)->SetShortField(env, lpObject, GDeviceFc.gdCCDepth, (jshort)lpStruct->gdCCDepth);
- (*env)->SetIntField(env, lpObject, GDeviceFc.gdCCXData, (jint)lpStruct->gdCCXData);
- (*env)->SetIntField(env, lpObject, GDeviceFc.gdCCXMask, (jint)lpStruct->gdCCXMask);
- (*env)->SetIntField(env, lpObject, GDeviceFc.gdExt, (jint)lpStruct->gdExt);
-}
-#endif
-
-#ifndef NO_HIAxisPosition
-typedef struct HIAxisPosition_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID toView, kind, offset;
-} HIAxisPosition_FID_CACHE;
-
-HIAxisPosition_FID_CACHE HIAxisPositionFc;
-
-void cacheHIAxisPositionFields(JNIEnv *env, jobject lpObject)
-{
- if (HIAxisPositionFc.cached) return;
- HIAxisPositionFc.clazz = (*env)->GetObjectClass(env, lpObject);
- HIAxisPositionFc.toView = (*env)->GetFieldID(env, HIAxisPositionFc.clazz, "toView", "I");
- HIAxisPositionFc.kind = (*env)->GetFieldID(env, HIAxisPositionFc.clazz, "kind", "S");
- HIAxisPositionFc.offset = (*env)->GetFieldID(env, HIAxisPositionFc.clazz, "offset", "F");
- HIAxisPositionFc.cached = 1;
-}
-
-HIAxisPosition *getHIAxisPositionFields(JNIEnv *env, jobject lpObject, HIAxisPosition *lpStruct)
-{
- if (!HIAxisPositionFc.cached) cacheHIAxisPositionFields(env, lpObject);
- lpStruct->toView = (HIViewRef)(*env)->GetIntField(env, lpObject, HIAxisPositionFc.toView);
- lpStruct->kind = (*env)->GetShortField(env, lpObject, HIAxisPositionFc.kind);
- lpStruct->offset = (*env)->GetFloatField(env, lpObject, HIAxisPositionFc.offset);
- return lpStruct;
-}
-
-void setHIAxisPositionFields(JNIEnv *env, jobject lpObject, HIAxisPosition *lpStruct)
-{
- if (!HIAxisPositionFc.cached) cacheHIAxisPositionFields(env, lpObject);
- (*env)->SetIntField(env, lpObject, HIAxisPositionFc.toView, (jint)lpStruct->toView);
- (*env)->SetShortField(env, lpObject, HIAxisPositionFc.kind, (jshort)lpStruct->kind);
- (*env)->SetFloatField(env, lpObject, HIAxisPositionFc.offset, (jfloat)lpStruct->offset);
-}
-#endif
-
-#ifndef NO_HIAxisScale
-typedef struct HIAxisScale_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID toView, kind, ratio;
-} HIAxisScale_FID_CACHE;
-
-HIAxisScale_FID_CACHE HIAxisScaleFc;
-
-void cacheHIAxisScaleFields(JNIEnv *env, jobject lpObject)
-{
- if (HIAxisScaleFc.cached) return;
- HIAxisScaleFc.clazz = (*env)->GetObjectClass(env, lpObject);
- HIAxisScaleFc.toView = (*env)->GetFieldID(env, HIAxisScaleFc.clazz, "toView", "I");
- HIAxisScaleFc.kind = (*env)->GetFieldID(env, HIAxisScaleFc.clazz, "kind", "S");
- HIAxisScaleFc.ratio = (*env)->GetFieldID(env, HIAxisScaleFc.clazz, "ratio", "F");
- HIAxisScaleFc.cached = 1;
-}
-
-HIAxisScale *getHIAxisScaleFields(JNIEnv *env, jobject lpObject, HIAxisScale *lpStruct)
-{
- if (!HIAxisScaleFc.cached) cacheHIAxisScaleFields(env, lpObject);
- lpStruct->toView = (HIViewRef)(*env)->GetIntField(env, lpObject, HIAxisScaleFc.toView);
- lpStruct->kind = (*env)->GetShortField(env, lpObject, HIAxisScaleFc.kind);
- lpStruct->ratio = (*env)->GetFloatField(env, lpObject, HIAxisScaleFc.ratio);
- return lpStruct;
-}
-
-void setHIAxisScaleFields(JNIEnv *env, jobject lpObject, HIAxisScale *lpStruct)
-{
- if (!HIAxisScaleFc.cached) cacheHIAxisScaleFields(env, lpObject);
- (*env)->SetIntField(env, lpObject, HIAxisScaleFc.toView, (jint)lpStruct->toView);
- (*env)->SetShortField(env, lpObject, HIAxisScaleFc.kind, (jshort)lpStruct->kind);
- (*env)->SetFloatField(env, lpObject, HIAxisScaleFc.ratio, (jfloat)lpStruct->ratio);
-}
-#endif
-
-#ifndef NO_HIBinding
-typedef struct HIBinding_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID top, left, bottom, right;
-} HIBinding_FID_CACHE;
-
-HIBinding_FID_CACHE HIBindingFc;
-
-void cacheHIBindingFields(JNIEnv *env, jobject lpObject)
-{
- if (HIBindingFc.cached) return;
- HIBindingFc.clazz = (*env)->GetObjectClass(env, lpObject);
- HIBindingFc.top = (*env)->GetFieldID(env, HIBindingFc.clazz, "top", "Lorg/eclipse/swt/internal/carbon/HISideBinding;");
- HIBindingFc.left = (*env)->GetFieldID(env, HIBindingFc.clazz, "left", "Lorg/eclipse/swt/internal/carbon/HISideBinding;");
- HIBindingFc.bottom = (*env)->GetFieldID(env, HIBindingFc.clazz, "bottom", "Lorg/eclipse/swt/internal/carbon/HISideBinding;");
- HIBindingFc.right = (*env)->GetFieldID(env, HIBindingFc.clazz, "right", "Lorg/eclipse/swt/internal/carbon/HISideBinding;");
- HIBindingFc.cached = 1;
-}
-
-HIBinding *getHIBindingFields(JNIEnv *env, jobject lpObject, HIBinding *lpStruct)
-{
- if (!HIBindingFc.cached) cacheHIBindingFields(env, lpObject);
- {
- jobject lpObject1 = (*env)->GetObjectField(env, lpObject, HIBindingFc.top);
- if (lpObject1 != NULL) getHISideBindingFields(env, lpObject1, &lpStruct->top);
- }
- {
- jobject lpObject1 = (*env)->GetObjectField(env, lpObject, HIBindingFc.left);
- if (lpObject1 != NULL) getHISideBindingFields(env, lpObject1, &lpStruct->left);
- }
- {
- jobject lpObject1 = (*env)->GetObjectField(env, lpObject, HIBindingFc.bottom);
- if (lpObject1 != NULL) getHISideBindingFields(env, lpObject1, &lpStruct->bottom);
- }
- {
- jobject lpObject1 = (*env)->GetObjectField(env, lpObject, HIBindingFc.right);
- if (lpObject1 != NULL) getHISideBindingFields(env, lpObject1, &lpStruct->right);
- }
- return lpStruct;
-}
-
-void setHIBindingFields(JNIEnv *env, jobject lpObject, HIBinding *lpStruct)
-{
- if (!HIBindingFc.cached) cacheHIBindingFields(env, lpObject);
- {
- jobject lpObject1 = (*env)->GetObjectField(env, lpObject, HIBindingFc.top);
- if (lpObject1 != NULL) setHISideBindingFields(env, lpObject1, &lpStruct->top);
- }
- {
- jobject lpObject1 = (*env)->GetObjectField(env, lpObject, HIBindingFc.left);
- if (lpObject1 != NULL) setHISideBindingFields(env, lpObject1, &lpStruct->left);
- }
- {
- jobject lpObject1 = (*env)->GetObjectField(env, lpObject, HIBindingFc.bottom);
- if (lpObject1 != NULL) setHISideBindingFields(env, lpObject1, &lpStruct->bottom);
- }
- {
- jobject lpObject1 = (*env)->GetObjectField(env, lpObject, HIBindingFc.right);
- if (lpObject1 != NULL) setHISideBindingFields(env, lpObject1, &lpStruct->right);
- }
-}
-#endif
-
-#ifndef NO_HICommand
-typedef struct HICommand_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID attributes, commandID, menu_menuRef, menu_menuItemIndex;
-} HICommand_FID_CACHE;
-
-HICommand_FID_CACHE HICommandFc;
-
-void cacheHICommandFields(JNIEnv *env, jobject lpObject)
-{
- if (HICommandFc.cached) return;
- HICommandFc.clazz = (*env)->GetObjectClass(env, lpObject);
- HICommandFc.attributes = (*env)->GetFieldID(env, HICommandFc.clazz, "attributes", "I");
- HICommandFc.commandID = (*env)->GetFieldID(env, HICommandFc.clazz, "commandID", "I");
- HICommandFc.menu_menuRef = (*env)->GetFieldID(env, HICommandFc.clazz, "menu_menuRef", "I");
- HICommandFc.menu_menuItemIndex = (*env)->GetFieldID(env, HICommandFc.clazz, "menu_menuItemIndex", "S");
- HICommandFc.cached = 1;
-}
-
-HICommand *getHICommandFields(JNIEnv *env, jobject lpObject, HICommand *lpStruct)
-{
- if (!HICommandFc.cached) cacheHICommandFields(env, lpObject);
- lpStruct->attributes = (*env)->GetIntField(env, lpObject, HICommandFc.attributes);
- lpStruct->commandID = (*env)->GetIntField(env, lpObject, HICommandFc.commandID);
- lpStruct->menu.menuRef = (MenuRef)(*env)->GetIntField(env, lpObject, HICommandFc.menu_menuRef);
- lpStruct->menu.menuItemIndex = (MenuItemIndex)(*env)->GetShortField(env, lpObject, HICommandFc.menu_menuItemIndex);
- return lpStruct;
-}
-
-void setHICommandFields(JNIEnv *env, jobject lpObject, HICommand *lpStruct)
-{
- if (!HICommandFc.cached) cacheHICommandFields(env, lpObject);
- (*env)->SetIntField(env, lpObject, HICommandFc.attributes, (jint)lpStruct->attributes);
- (*env)->SetIntField(env, lpObject, HICommandFc.commandID, (jint)lpStruct->commandID);
- (*env)->SetIntField(env, lpObject, HICommandFc.menu_menuRef, (jint)lpStruct->menu.menuRef);
- (*env)->SetShortField(env, lpObject, HICommandFc.menu_menuItemIndex, (jshort)lpStruct->menu.menuItemIndex);
-}
-#endif
-
-#ifndef NO_HILayoutInfo
-typedef struct HILayoutInfo_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID version, binding, scale, position;
-} HILayoutInfo_FID_CACHE;
-
-HILayoutInfo_FID_CACHE HILayoutInfoFc;
-
-void cacheHILayoutInfoFields(JNIEnv *env, jobject lpObject)
-{
- if (HILayoutInfoFc.cached) return;
- HILayoutInfoFc.clazz = (*env)->GetObjectClass(env, lpObject);
- HILayoutInfoFc.version = (*env)->GetFieldID(env, HILayoutInfoFc.clazz, "version", "I");
- HILayoutInfoFc.binding = (*env)->GetFieldID(env, HILayoutInfoFc.clazz, "binding", "Lorg/eclipse/swt/internal/carbon/HIBinding;");
- HILayoutInfoFc.scale = (*env)->GetFieldID(env, HILayoutInfoFc.clazz, "scale", "Lorg/eclipse/swt/internal/carbon/HIScaling;");
- HILayoutInfoFc.position = (*env)->GetFieldID(env, HILayoutInfoFc.clazz, "position", "Lorg/eclipse/swt/internal/carbon/HIPositioning;");
- HILayoutInfoFc.cached = 1;
-}
-
-HILayoutInfo *getHILayoutInfoFields(JNIEnv *env, jobject lpObject, HILayoutInfo *lpStruct)
-{
- if (!HILayoutInfoFc.cached) cacheHILayoutInfoFields(env, lpObject);
- lpStruct->version = (*env)->GetIntField(env, lpObject, HILayoutInfoFc.version);
- {
- jobject lpObject1 = (*env)->GetObjectField(env, lpObject, HILayoutInfoFc.binding);
- if (lpObject1 != NULL) getHIBindingFields(env, lpObject1, &lpStruct->binding);
- }
- {
- jobject lpObject1 = (*env)->GetObjectField(env, lpObject, HILayoutInfoFc.scale);
- if (lpObject1 != NULL) getHIScalingFields(env, lpObject1, &lpStruct->scale);
- }
- {
- jobject lpObject1 = (*env)->GetObjectField(env, lpObject, HILayoutInfoFc.position);
- if (lpObject1 != NULL) getHIPositioningFields(env, lpObject1, &lpStruct->position);
- }
- return lpStruct;
-}
-
-void setHILayoutInfoFields(JNIEnv *env, jobject lpObject, HILayoutInfo *lpStruct)
-{
- if (!HILayoutInfoFc.cached) cacheHILayoutInfoFields(env, lpObject);
- (*env)->SetIntField(env, lpObject, HILayoutInfoFc.version, (jint)lpStruct->version);
- {
- jobject lpObject1 = (*env)->GetObjectField(env, lpObject, HILayoutInfoFc.binding);
- if (lpObject1 != NULL) setHIBindingFields(env, lpObject1, &lpStruct->binding);
- }
- {
- jobject lpObject1 = (*env)->GetObjectField(env, lpObject, HILayoutInfoFc.scale);
- if (lpObject1 != NULL) setHIScalingFields(env, lpObject1, &lpStruct->scale);
- }
- {
- jobject lpObject1 = (*env)->GetObjectField(env, lpObject, HILayoutInfoFc.position);
- if (lpObject1 != NULL) setHIPositioningFields(env, lpObject1, &lpStruct->position);
- }
-}
-#endif
-
-#ifndef NO_HIPositioning
-typedef struct HIPositioning_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID x, y;
-} HIPositioning_FID_CACHE;
-
-HIPositioning_FID_CACHE HIPositioningFc;
-
-void cacheHIPositioningFields(JNIEnv *env, jobject lpObject)
-{
- if (HIPositioningFc.cached) return;
- HIPositioningFc.clazz = (*env)->GetObjectClass(env, lpObject);
- HIPositioningFc.x = (*env)->GetFieldID(env, HIPositioningFc.clazz, "x", "Lorg/eclipse/swt/internal/carbon/HIAxisPosition;");
- HIPositioningFc.y = (*env)->GetFieldID(env, HIPositioningFc.clazz, "y", "Lorg/eclipse/swt/internal/carbon/HIAxisPosition;");
- HIPositioningFc.cached = 1;
-}
-
-HIPositioning *getHIPositioningFields(JNIEnv *env, jobject lpObject, HIPositioning *lpStruct)
-{
- if (!HIPositioningFc.cached) cacheHIPositioningFields(env, lpObject);
- {
- jobject lpObject1 = (*env)->GetObjectField(env, lpObject, HIPositioningFc.x);
- if (lpObject1 != NULL) getHIAxisPositionFields(env, lpObject1, &lpStruct->x);
- }
- {
- jobject lpObject1 = (*env)->GetObjectField(env, lpObject, HIPositioningFc.y);
- if (lpObject1 != NULL) getHIAxisPositionFields(env, lpObject1, &lpStruct->y);
- }
- return lpStruct;
-}
-
-void setHIPositioningFields(JNIEnv *env, jobject lpObject, HIPositioning *lpStruct)
-{
- if (!HIPositioningFc.cached) cacheHIPositioningFields(env, lpObject);
- {
- jobject lpObject1 = (*env)->GetObjectField(env, lpObject, HIPositioningFc.x);
- if (lpObject1 != NULL) setHIAxisPositionFields(env, lpObject1, &lpStruct->x);
- }
- {
- jobject lpObject1 = (*env)->GetObjectField(env, lpObject, HIPositioningFc.y);
- if (lpObject1 != NULL) setHIAxisPositionFields(env, lpObject1, &lpStruct->y);
- }
-}
-#endif
-
-#ifndef NO_HIScaling
-typedef struct HIScaling_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID x, y;
-} HIScaling_FID_CACHE;
-
-HIScaling_FID_CACHE HIScalingFc;
-
-void cacheHIScalingFields(JNIEnv *env, jobject lpObject)
-{
- if (HIScalingFc.cached) return;
- HIScalingFc.clazz = (*env)->GetObjectClass(env, lpObject);
- HIScalingFc.x = (*env)->GetFieldID(env, HIScalingFc.clazz, "x", "Lorg/eclipse/swt/internal/carbon/HIAxisScale;");
- HIScalingFc.y = (*env)->GetFieldID(env, HIScalingFc.clazz, "y", "Lorg/eclipse/swt/internal/carbon/HIAxisScale;");
- HIScalingFc.cached = 1;
-}
-
-HIScaling *getHIScalingFields(JNIEnv *env, jobject lpObject, HIScaling *lpStruct)
-{
- if (!HIScalingFc.cached) cacheHIScalingFields(env, lpObject);
- {
- jobject lpObject1 = (*env)->GetObjectField(env, lpObject, HIScalingFc.x);
- if (lpObject1 != NULL) getHIAxisScaleFields(env, lpObject1, &lpStruct->x);
- }
- {
- jobject lpObject1 = (*env)->GetObjectField(env, lpObject, HIScalingFc.y);
- if (lpObject1 != NULL) getHIAxisScaleFields(env, lpObject1, &lpStruct->y);
- }
- return lpStruct;
-}
-
-void setHIScalingFields(JNIEnv *env, jobject lpObject, HIScaling *lpStruct)
-{
- if (!HIScalingFc.cached) cacheHIScalingFields(env, lpObject);
- {
- jobject lpObject1 = (*env)->GetObjectField(env, lpObject, HIScalingFc.x);
- if (lpObject1 != NULL) setHIAxisScaleFields(env, lpObject1, &lpStruct->x);
- }
- {
- jobject lpObject1 = (*env)->GetObjectField(env, lpObject, HIScalingFc.y);
- if (lpObject1 != NULL) setHIAxisScaleFields(env, lpObject1, &lpStruct->y);
- }
-}
-#endif
-
-#ifndef NO_HIScrollBarTrackInfo
-typedef struct HIScrollBarTrackInfo_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID version, enableState, pressState, viewsize;
-} HIScrollBarTrackInfo_FID_CACHE;
-
-HIScrollBarTrackInfo_FID_CACHE HIScrollBarTrackInfoFc;
-
-void cacheHIScrollBarTrackInfoFields(JNIEnv *env, jobject lpObject)
-{
- if (HIScrollBarTrackInfoFc.cached) return;
- HIScrollBarTrackInfoFc.clazz = (*env)->GetObjectClass(env, lpObject);
- HIScrollBarTrackInfoFc.version = (*env)->GetFieldID(env, HIScrollBarTrackInfoFc.clazz, "version", "I");
- HIScrollBarTrackInfoFc.enableState = (*env)->GetFieldID(env, HIScrollBarTrackInfoFc.clazz, "enableState", "B");
- HIScrollBarTrackInfoFc.pressState = (*env)->GetFieldID(env, HIScrollBarTrackInfoFc.clazz, "pressState", "B");
- HIScrollBarTrackInfoFc.viewsize = (*env)->GetFieldID(env, HIScrollBarTrackInfoFc.clazz, "viewsize", "F");
- HIScrollBarTrackInfoFc.cached = 1;
-}
-
-HIScrollBarTrackInfo *getHIScrollBarTrackInfoFields(JNIEnv *env, jobject lpObject, HIScrollBarTrackInfo *lpStruct)
-{
- if (!HIScrollBarTrackInfoFc.cached) cacheHIScrollBarTrackInfoFields(env, lpObject);
- lpStruct->version = (*env)->GetIntField(env, lpObject, HIScrollBarTrackInfoFc.version);
- lpStruct->enableState = (*env)->GetByteField(env, lpObject, HIScrollBarTrackInfoFc.enableState);
- lpStruct->pressState = (*env)->GetByteField(env, lpObject, HIScrollBarTrackInfoFc.pressState);
- lpStruct->viewsize = (*env)->GetFloatField(env, lpObject, HIScrollBarTrackInfoFc.viewsize);
- return lpStruct;
-}
-
-void setHIScrollBarTrackInfoFields(JNIEnv *env, jobject lpObject, HIScrollBarTrackInfo *lpStruct)
-{
- if (!HIScrollBarTrackInfoFc.cached) cacheHIScrollBarTrackInfoFields(env, lpObject);
- (*env)->SetIntField(env, lpObject, HIScrollBarTrackInfoFc.version, (jint)lpStruct->version);
- (*env)->SetByteField(env, lpObject, HIScrollBarTrackInfoFc.enableState, (jbyte)lpStruct->enableState);
- (*env)->SetByteField(env, lpObject, HIScrollBarTrackInfoFc.pressState, (jbyte)lpStruct->pressState);
- (*env)->SetFloatField(env, lpObject, HIScrollBarTrackInfoFc.viewsize, (jfloat)lpStruct->viewsize);
-}
-#endif
-
-#ifndef NO_HISideBinding
-typedef struct HISideBinding_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID toView, kind, offset;
-} HISideBinding_FID_CACHE;
-
-HISideBinding_FID_CACHE HISideBindingFc;
-
-void cacheHISideBindingFields(JNIEnv *env, jobject lpObject)
-{
- if (HISideBindingFc.cached) return;
- HISideBindingFc.clazz = (*env)->GetObjectClass(env, lpObject);
- HISideBindingFc.toView = (*env)->GetFieldID(env, HISideBindingFc.clazz, "toView", "I");
- HISideBindingFc.kind = (*env)->GetFieldID(env, HISideBindingFc.clazz, "kind", "S");
- HISideBindingFc.offset = (*env)->GetFieldID(env, HISideBindingFc.clazz, "offset", "F");
- HISideBindingFc.cached = 1;
-}
-
-HISideBinding *getHISideBindingFields(JNIEnv *env, jobject lpObject, HISideBinding *lpStruct)
-{
- if (!HISideBindingFc.cached) cacheHISideBindingFields(env, lpObject);
- lpStruct->toView = (HIViewRef)(*env)->GetIntField(env, lpObject, HISideBindingFc.toView);
- lpStruct->kind = (*env)->GetShortField(env, lpObject, HISideBindingFc.kind);
- lpStruct->offset = (*env)->GetFloatField(env, lpObject, HISideBindingFc.offset);
- return lpStruct;
-}
-
-void setHISideBindingFields(JNIEnv *env, jobject lpObject, HISideBinding *lpStruct)
-{
- if (!HISideBindingFc.cached) cacheHISideBindingFields(env, lpObject);
- (*env)->SetIntField(env, lpObject, HISideBindingFc.toView, (jint)lpStruct->toView);
- (*env)->SetShortField(env, lpObject, HISideBindingFc.kind, (jshort)lpStruct->kind);
- (*env)->SetFloatField(env, lpObject, HISideBindingFc.offset, (jfloat)lpStruct->offset);
-}
-#endif
-
-#ifndef NO_HIThemeAnimationFrameInfo
-typedef struct HIThemeAnimationFrameInfo_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID index;
-} HIThemeAnimationFrameInfo_FID_CACHE;
-
-HIThemeAnimationFrameInfo_FID_CACHE HIThemeAnimationFrameInfoFc;
-
-void cacheHIThemeAnimationFrameInfoFields(JNIEnv *env, jobject lpObject)
-{
- if (HIThemeAnimationFrameInfoFc.cached) return;
- HIThemeAnimationFrameInfoFc.clazz = (*env)->GetObjectClass(env, lpObject);
- HIThemeAnimationFrameInfoFc.index = (*env)->GetFieldID(env, HIThemeAnimationFrameInfoFc.clazz, "index", "I");
- HIThemeAnimationFrameInfoFc.cached = 1;
-}
-
-HIThemeAnimationFrameInfo *getHIThemeAnimationFrameInfoFields(JNIEnv *env, jobject lpObject, HIThemeAnimationFrameInfo *lpStruct)
-{
- if (!HIThemeAnimationFrameInfoFc.cached) cacheHIThemeAnimationFrameInfoFields(env, lpObject);
- lpStruct->index = (*env)->GetIntField(env, lpObject, HIThemeAnimationFrameInfoFc.index);
- return lpStruct;
-}
-
-void setHIThemeAnimationFrameInfoFields(JNIEnv *env, jobject lpObject, HIThemeAnimationFrameInfo *lpStruct)
-{
- if (!HIThemeAnimationFrameInfoFc.cached) cacheHIThemeAnimationFrameInfoFields(env, lpObject);
- (*env)->SetIntField(env, lpObject, HIThemeAnimationFrameInfoFc.index, (jint)lpStruct->index);
-}
-#endif
-
-#ifndef NO_HIThemeAnimationTimeInfo
-typedef struct HIThemeAnimationTimeInfo_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID start, current;
-} HIThemeAnimationTimeInfo_FID_CACHE;
-
-HIThemeAnimationTimeInfo_FID_CACHE HIThemeAnimationTimeInfoFc;
-
-void cacheHIThemeAnimationTimeInfoFields(JNIEnv *env, jobject lpObject)
-{
- if (HIThemeAnimationTimeInfoFc.cached) return;
- HIThemeAnimationTimeInfoFc.clazz = (*env)->GetObjectClass(env, lpObject);
- HIThemeAnimationTimeInfoFc.start = (*env)->GetFieldID(env, HIThemeAnimationTimeInfoFc.clazz, "start", "J");
- HIThemeAnimationTimeInfoFc.current = (*env)->GetFieldID(env, HIThemeAnimationTimeInfoFc.clazz, "current", "J");
- HIThemeAnimationTimeInfoFc.cached = 1;
-}
-
-HIThemeAnimationTimeInfo *getHIThemeAnimationTimeInfoFields(JNIEnv *env, jobject lpObject, HIThemeAnimationTimeInfo *lpStruct)
-{
- if (!HIThemeAnimationTimeInfoFc.cached) cacheHIThemeAnimationTimeInfoFields(env, lpObject);
- lpStruct->start = (*env)->GetLongField(env, lpObject, HIThemeAnimationTimeInfoFc.start);
- lpStruct->current = (*env)->GetLongField(env, lpObject, HIThemeAnimationTimeInfoFc.current);
- return lpStruct;
-}
-
-void setHIThemeAnimationTimeInfoFields(JNIEnv *env, jobject lpObject, HIThemeAnimationTimeInfo *lpStruct)
-{
- if (!HIThemeAnimationTimeInfoFc.cached) cacheHIThemeAnimationTimeInfoFields(env, lpObject);
- (*env)->SetLongField(env, lpObject, HIThemeAnimationTimeInfoFc.start, (jlong)lpStruct->start);
- (*env)->SetLongField(env, lpObject, HIThemeAnimationTimeInfoFc.current, (jlong)lpStruct->current);
-}
-#endif
-
-#ifndef NO_HIThemeBackgroundDrawInfo
-typedef struct HIThemeBackgroundDrawInfo_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID version, state, kind;
-} HIThemeBackgroundDrawInfo_FID_CACHE;
-
-HIThemeBackgroundDrawInfo_FID_CACHE HIThemeBackgroundDrawInfoFc;
-
-void cacheHIThemeBackgroundDrawInfoFields(JNIEnv *env, jobject lpObject)
-{
- if (HIThemeBackgroundDrawInfoFc.cached) return;
- HIThemeBackgroundDrawInfoFc.clazz = (*env)->GetObjectClass(env, lpObject);
- HIThemeBackgroundDrawInfoFc.version = (*env)->GetFieldID(env, HIThemeBackgroundDrawInfoFc.clazz, "version", "I");
- HIThemeBackgroundDrawInfoFc.state = (*env)->GetFieldID(env, HIThemeBackgroundDrawInfoFc.clazz, "state", "I");
- HIThemeBackgroundDrawInfoFc.kind = (*env)->GetFieldID(env, HIThemeBackgroundDrawInfoFc.clazz, "kind", "I");
- HIThemeBackgroundDrawInfoFc.cached = 1;
-}
-
-HIThemeBackgroundDrawInfo *getHIThemeBackgroundDrawInfoFields(JNIEnv *env, jobject lpObject, HIThemeBackgroundDrawInfo *lpStruct)
-{
- if (!HIThemeBackgroundDrawInfoFc.cached) cacheHIThemeBackgroundDrawInfoFields(env, lpObject);
- lpStruct->version = (*env)->GetIntField(env, lpObject, HIThemeBackgroundDrawInfoFc.version);
- lpStruct->state = (*env)->GetIntField(env, lpObject, HIThemeBackgroundDrawInfoFc.state);
- lpStruct->kind = (*env)->GetIntField(env, lpObject, HIThemeBackgroundDrawInfoFc.kind);
- return lpStruct;
-}
-
-void setHIThemeBackgroundDrawInfoFields(JNIEnv *env, jobject lpObject, HIThemeBackgroundDrawInfo *lpStruct)
-{
- if (!HIThemeBackgroundDrawInfoFc.cached) cacheHIThemeBackgroundDrawInfoFields(env, lpObject);
- (*env)->SetIntField(env, lpObject, HIThemeBackgroundDrawInfoFc.version, (jint)lpStruct->version);
- (*env)->SetIntField(env, lpObject, HIThemeBackgroundDrawInfoFc.state, (jint)lpStruct->state);
- (*env)->SetIntField(env, lpObject, HIThemeBackgroundDrawInfoFc.kind, (jint)lpStruct->kind);
-}
-#endif
-
-#ifndef NO_HIThemeButtonDrawInfo
-typedef struct HIThemeButtonDrawInfo_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID version, state, kind, value, adornment, time, frame;
-} HIThemeButtonDrawInfo_FID_CACHE;
-
-HIThemeButtonDrawInfo_FID_CACHE HIThemeButtonDrawInfoFc;
-
-void cacheHIThemeButtonDrawInfoFields(JNIEnv *env, jobject lpObject)
-{
- if (HIThemeButtonDrawInfoFc.cached) return;
- HIThemeButtonDrawInfoFc.clazz = (*env)->GetObjectClass(env, lpObject);
- HIThemeButtonDrawInfoFc.version = (*env)->GetFieldID(env, HIThemeButtonDrawInfoFc.clazz, "version", "I");
- HIThemeButtonDrawInfoFc.state = (*env)->GetFieldID(env, HIThemeButtonDrawInfoFc.clazz, "state", "I");
- HIThemeButtonDrawInfoFc.kind = (*env)->GetFieldID(env, HIThemeButtonDrawInfoFc.clazz, "kind", "I");
- HIThemeButtonDrawInfoFc.value = (*env)->GetFieldID(env, HIThemeButtonDrawInfoFc.clazz, "value", "I");
- HIThemeButtonDrawInfoFc.adornment = (*env)->GetFieldID(env, HIThemeButtonDrawInfoFc.clazz, "adornment", "I");
- HIThemeButtonDrawInfoFc.time = (*env)->GetFieldID(env, HIThemeButtonDrawInfoFc.clazz, "time", "Lorg/eclipse/swt/internal/carbon/HIThemeAnimationTimeInfo;");
- HIThemeButtonDrawInfoFc.frame = (*env)->GetFieldID(env, HIThemeButtonDrawInfoFc.clazz, "frame", "Lorg/eclipse/swt/internal/carbon/HIThemeAnimationFrameInfo;");
- HIThemeButtonDrawInfoFc.cached = 1;
-}
-
-HIThemeButtonDrawInfo *getHIThemeButtonDrawInfoFields(JNIEnv *env, jobject lpObject, HIThemeButtonDrawInfo *lpStruct)
-{
- if (!HIThemeButtonDrawInfoFc.cached) cacheHIThemeButtonDrawInfoFields(env, lpObject);
- lpStruct->version = (*env)->GetIntField(env, lpObject, HIThemeButtonDrawInfoFc.version);
- lpStruct->state = (*env)->GetIntField(env, lpObject, HIThemeButtonDrawInfoFc.state);
- lpStruct->kind = (*env)->GetIntField(env, lpObject, HIThemeButtonDrawInfoFc.kind);
- lpStruct->value = (*env)->GetIntField(env, lpObject, HIThemeButtonDrawInfoFc.value);
- lpStruct->adornment = (*env)->GetIntField(env, lpObject, HIThemeButtonDrawInfoFc.adornment);
- {
- jobject lpObject1 = (*env)->GetObjectField(env, lpObject, HIThemeButtonDrawInfoFc.time);
- if (lpObject1 != NULL) getHIThemeAnimationTimeInfoFields(env, lpObject1, &lpStruct->animation.time);
- }
- {
- jobject lpObject1 = (*env)->GetObjectField(env, lpObject, HIThemeButtonDrawInfoFc.frame);
- if (lpObject1 != NULL) getHIThemeAnimationFrameInfoFields(env, lpObject1, &lpStruct->animation.frame);
- }
- return lpStruct;
-}
-
-void setHIThemeButtonDrawInfoFields(JNIEnv *env, jobject lpObject, HIThemeButtonDrawInfo *lpStruct)
-{
- if (!HIThemeButtonDrawInfoFc.cached) cacheHIThemeButtonDrawInfoFields(env, lpObject);
- (*env)->SetIntField(env, lpObject, HIThemeButtonDrawInfoFc.version, (jint)lpStruct->version);
- (*env)->SetIntField(env, lpObject, HIThemeButtonDrawInfoFc.state, (jint)lpStruct->state);
- (*env)->SetIntField(env, lpObject, HIThemeButtonDrawInfoFc.kind, (jint)lpStruct->kind);
- (*env)->SetIntField(env, lpObject, HIThemeButtonDrawInfoFc.value, (jint)lpStruct->value);
- (*env)->SetIntField(env, lpObject, HIThemeButtonDrawInfoFc.adornment, (jint)lpStruct->adornment);
- {
- jobject lpObject1 = (*env)->GetObjectField(env, lpObject, HIThemeButtonDrawInfoFc.time);
- if (lpObject1 != NULL) setHIThemeAnimationTimeInfoFields(env, lpObject1, &lpStruct->animation.time);
- }
- {
- jobject lpObject1 = (*env)->GetObjectField(env, lpObject, HIThemeButtonDrawInfoFc.frame);
- if (lpObject1 != NULL) setHIThemeAnimationFrameInfoFields(env, lpObject1, &lpStruct->animation.frame);
- }
-}
-#endif
-
-#ifndef NO_HIThemeFrameDrawInfo
-typedef struct HIThemeFrameDrawInfo_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID version, state, kind, isFocused;
-} HIThemeFrameDrawInfo_FID_CACHE;
-
-HIThemeFrameDrawInfo_FID_CACHE HIThemeFrameDrawInfoFc;
-
-void cacheHIThemeFrameDrawInfoFields(JNIEnv *env, jobject lpObject)
-{
- if (HIThemeFrameDrawInfoFc.cached) return;
- HIThemeFrameDrawInfoFc.clazz = (*env)->GetObjectClass(env, lpObject);
- HIThemeFrameDrawInfoFc.version = (*env)->GetFieldID(env, HIThemeFrameDrawInfoFc.clazz, "version", "I");
- HIThemeFrameDrawInfoFc.state = (*env)->GetFieldID(env, HIThemeFrameDrawInfoFc.clazz, "state", "I");
- HIThemeFrameDrawInfoFc.kind = (*env)->GetFieldID(env, HIThemeFrameDrawInfoFc.clazz, "kind", "I");
- HIThemeFrameDrawInfoFc.isFocused = (*env)->GetFieldID(env, HIThemeFrameDrawInfoFc.clazz, "isFocused", "Z");
- HIThemeFrameDrawInfoFc.cached = 1;
-}
-
-HIThemeFrameDrawInfo *getHIThemeFrameDrawInfoFields(JNIEnv *env, jobject lpObject, HIThemeFrameDrawInfo *lpStruct)
-{
- if (!HIThemeFrameDrawInfoFc.cached) cacheHIThemeFrameDrawInfoFields(env, lpObject);
- lpStruct->version = (*env)->GetIntField(env, lpObject, HIThemeFrameDrawInfoFc.version);
- lpStruct->state = (*env)->GetIntField(env, lpObject, HIThemeFrameDrawInfoFc.state);
- lpStruct->kind = (*env)->GetIntField(env, lpObject, HIThemeFrameDrawInfoFc.kind);
- lpStruct->isFocused = (*env)->GetBooleanField(env, lpObject, HIThemeFrameDrawInfoFc.isFocused);
- return lpStruct;
-}
-
-void setHIThemeFrameDrawInfoFields(JNIEnv *env, jobject lpObject, HIThemeFrameDrawInfo *lpStruct)
-{
- if (!HIThemeFrameDrawInfoFc.cached) cacheHIThemeFrameDrawInfoFields(env, lpObject);
- (*env)->SetIntField(env, lpObject, HIThemeFrameDrawInfoFc.version, (jint)lpStruct->version);
- (*env)->SetIntField(env, lpObject, HIThemeFrameDrawInfoFc.state, (jint)lpStruct->state);
- (*env)->SetIntField(env, lpObject, HIThemeFrameDrawInfoFc.kind, (jint)lpStruct->kind);
- (*env)->SetBooleanField(env, lpObject, HIThemeFrameDrawInfoFc.isFocused, (jboolean)lpStruct->isFocused);
-}
-#endif
-
-#ifndef NO_HIThemeGroupBoxDrawInfo
-typedef struct HIThemeGroupBoxDrawInfo_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID version, state, kind;
-} HIThemeGroupBoxDrawInfo_FID_CACHE;
-
-HIThemeGroupBoxDrawInfo_FID_CACHE HIThemeGroupBoxDrawInfoFc;
-
-void cacheHIThemeGroupBoxDrawInfoFields(JNIEnv *env, jobject lpObject)
-{
- if (HIThemeGroupBoxDrawInfoFc.cached) return;
- HIThemeGroupBoxDrawInfoFc.clazz = (*env)->GetObjectClass(env, lpObject);
- HIThemeGroupBoxDrawInfoFc.version = (*env)->GetFieldID(env, HIThemeGroupBoxDrawInfoFc.clazz, "version", "I");
- HIThemeGroupBoxDrawInfoFc.state = (*env)->GetFieldID(env, HIThemeGroupBoxDrawInfoFc.clazz, "state", "I");
- HIThemeGroupBoxDrawInfoFc.kind = (*env)->GetFieldID(env, HIThemeGroupBoxDrawInfoFc.clazz, "kind", "I");
- HIThemeGroupBoxDrawInfoFc.cached = 1;
-}
-
-HIThemeGroupBoxDrawInfo *getHIThemeGroupBoxDrawInfoFields(JNIEnv *env, jobject lpObject, HIThemeGroupBoxDrawInfo *lpStruct)
-{
- if (!HIThemeGroupBoxDrawInfoFc.cached) cacheHIThemeGroupBoxDrawInfoFields(env, lpObject);
- lpStruct->version = (*env)->GetIntField(env, lpObject, HIThemeGroupBoxDrawInfoFc.version);
- lpStruct->state = (*env)->GetIntField(env, lpObject, HIThemeGroupBoxDrawInfoFc.state);
- lpStruct->kind = (*env)->GetIntField(env, lpObject, HIThemeGroupBoxDrawInfoFc.kind);
- return lpStruct;
-}
-
-void setHIThemeGroupBoxDrawInfoFields(JNIEnv *env, jobject lpObject, HIThemeGroupBoxDrawInfo *lpStruct)
-{
- if (!HIThemeGroupBoxDrawInfoFc.cached) cacheHIThemeGroupBoxDrawInfoFields(env, lpObject);
- (*env)->SetIntField(env, lpObject, HIThemeGroupBoxDrawInfoFc.version, (jint)lpStruct->version);
- (*env)->SetIntField(env, lpObject, HIThemeGroupBoxDrawInfoFc.state, (jint)lpStruct->state);
- (*env)->SetIntField(env, lpObject, HIThemeGroupBoxDrawInfoFc.kind, (jint)lpStruct->kind);
-}
-#endif
-
-#ifndef NO_HIThemeGrowBoxDrawInfo
-typedef struct HIThemeGrowBoxDrawInfo_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID version, kind, state, direction, size;
-} HIThemeGrowBoxDrawInfo_FID_CACHE;
-
-HIThemeGrowBoxDrawInfo_FID_CACHE HIThemeGrowBoxDrawInfoFc;
-
-void cacheHIThemeGrowBoxDrawInfoFields(JNIEnv *env, jobject lpObject)
-{
- if (HIThemeGrowBoxDrawInfoFc.cached) return;
- HIThemeGrowBoxDrawInfoFc.clazz = (*env)->GetObjectClass(env, lpObject);
- HIThemeGrowBoxDrawInfoFc.version = (*env)->GetFieldID(env, HIThemeGrowBoxDrawInfoFc.clazz, "version", "I");
- HIThemeGrowBoxDrawInfoFc.kind = (*env)->GetFieldID(env, HIThemeGrowBoxDrawInfoFc.clazz, "kind", "I");
- HIThemeGrowBoxDrawInfoFc.state = (*env)->GetFieldID(env, HIThemeGrowBoxDrawInfoFc.clazz, "state", "I");
- HIThemeGrowBoxDrawInfoFc.direction = (*env)->GetFieldID(env, HIThemeGrowBoxDrawInfoFc.clazz, "direction", "S");
- HIThemeGrowBoxDrawInfoFc.size = (*env)->GetFieldID(env, HIThemeGrowBoxDrawInfoFc.clazz, "size", "I");
- HIThemeGrowBoxDrawInfoFc.cached = 1;
-}
-
-HIThemeGrowBoxDrawInfo *getHIThemeGrowBoxDrawInfoFields(JNIEnv *env, jobject lpObject, HIThemeGrowBoxDrawInfo *lpStruct)
-{
- if (!HIThemeGrowBoxDrawInfoFc.cached) cacheHIThemeGrowBoxDrawInfoFields(env, lpObject);
- lpStruct->version = (*env)->GetIntField(env, lpObject, HIThemeGrowBoxDrawInfoFc.version);
- lpStruct->kind = (*env)->GetIntField(env, lpObject, HIThemeGrowBoxDrawInfoFc.kind);
- lpStruct->state = (*env)->GetIntField(env, lpObject, HIThemeGrowBoxDrawInfoFc.state);
- lpStruct->direction = (*env)->GetShortField(env, lpObject, HIThemeGrowBoxDrawInfoFc.direction);
- lpStruct->size = (*env)->GetIntField(env, lpObject, HIThemeGrowBoxDrawInfoFc.size);
- return lpStruct;
-}
-
-void setHIThemeGrowBoxDrawInfoFields(JNIEnv *env, jobject lpObject, HIThemeGrowBoxDrawInfo *lpStruct)
-{
- if (!HIThemeGrowBoxDrawInfoFc.cached) cacheHIThemeGrowBoxDrawInfoFields(env, lpObject);
- (*env)->SetIntField(env, lpObject, HIThemeGrowBoxDrawInfoFc.version, (jint)lpStruct->version);
- (*env)->SetIntField(env, lpObject, HIThemeGrowBoxDrawInfoFc.kind, (jint)lpStruct->kind);
- (*env)->SetIntField(env, lpObject, HIThemeGrowBoxDrawInfoFc.state, (jint)lpStruct->state);
- (*env)->SetShortField(env, lpObject, HIThemeGrowBoxDrawInfoFc.direction, (jshort)lpStruct->direction);
- (*env)->SetIntField(env, lpObject, HIThemeGrowBoxDrawInfoFc.size, (jint)lpStruct->size);
-}
-#endif
-
-#ifndef NO_HIThemePopupArrowDrawInfo
-typedef struct HIThemePopupArrowDrawInfo_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID version, state, orientation, size;
-} HIThemePopupArrowDrawInfo_FID_CACHE;
-
-HIThemePopupArrowDrawInfo_FID_CACHE HIThemePopupArrowDrawInfoFc;
-
-void cacheHIThemePopupArrowDrawInfoFields(JNIEnv *env, jobject lpObject)
-{
- if (HIThemePopupArrowDrawInfoFc.cached) return;
- HIThemePopupArrowDrawInfoFc.clazz = (*env)->GetObjectClass(env, lpObject);
- HIThemePopupArrowDrawInfoFc.version = (*env)->GetFieldID(env, HIThemePopupArrowDrawInfoFc.clazz, "version", "I");
- HIThemePopupArrowDrawInfoFc.state = (*env)->GetFieldID(env, HIThemePopupArrowDrawInfoFc.clazz, "state", "I");
- HIThemePopupArrowDrawInfoFc.orientation = (*env)->GetFieldID(env, HIThemePopupArrowDrawInfoFc.clazz, "orientation", "S");
- HIThemePopupArrowDrawInfoFc.size = (*env)->GetFieldID(env, HIThemePopupArrowDrawInfoFc.clazz, "size", "S");
- HIThemePopupArrowDrawInfoFc.cached = 1;
-}
-
-HIThemePopupArrowDrawInfo *getHIThemePopupArrowDrawInfoFields(JNIEnv *env, jobject lpObject, HIThemePopupArrowDrawInfo *lpStruct)
-{
- if (!HIThemePopupArrowDrawInfoFc.cached) cacheHIThemePopupArrowDrawInfoFields(env, lpObject);
- lpStruct->version = (*env)->GetIntField(env, lpObject, HIThemePopupArrowDrawInfoFc.version);
- lpStruct->state = (*env)->GetIntField(env, lpObject, HIThemePopupArrowDrawInfoFc.state);
- lpStruct->orientation = (*env)->GetShortField(env, lpObject, HIThemePopupArrowDrawInfoFc.orientation);
- lpStruct->size = (*env)->GetShortField(env, lpObject, HIThemePopupArrowDrawInfoFc.size);
- return lpStruct;
-}
-
-void setHIThemePopupArrowDrawInfoFields(JNIEnv *env, jobject lpObject, HIThemePopupArrowDrawInfo *lpStruct)
-{
- if (!HIThemePopupArrowDrawInfoFc.cached) cacheHIThemePopupArrowDrawInfoFields(env, lpObject);
- (*env)->SetIntField(env, lpObject, HIThemePopupArrowDrawInfoFc.version, (jint)lpStruct->version);
- (*env)->SetIntField(env, lpObject, HIThemePopupArrowDrawInfoFc.state, (jint)lpStruct->state);
- (*env)->SetShortField(env, lpObject, HIThemePopupArrowDrawInfoFc.orientation, (jshort)lpStruct->orientation);
- (*env)->SetShortField(env, lpObject, HIThemePopupArrowDrawInfoFc.size, (jshort)lpStruct->size);
-}
-#endif
-
-#ifndef NO_HIThemeSeparatorDrawInfo
-typedef struct HIThemeSeparatorDrawInfo_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID version, state;
-} HIThemeSeparatorDrawInfo_FID_CACHE;
-
-HIThemeSeparatorDrawInfo_FID_CACHE HIThemeSeparatorDrawInfoFc;
-
-void cacheHIThemeSeparatorDrawInfoFields(JNIEnv *env, jobject lpObject)
-{
- if (HIThemeSeparatorDrawInfoFc.cached) return;
- HIThemeSeparatorDrawInfoFc.clazz = (*env)->GetObjectClass(env, lpObject);
- HIThemeSeparatorDrawInfoFc.version = (*env)->GetFieldID(env, HIThemeSeparatorDrawInfoFc.clazz, "version", "I");
- HIThemeSeparatorDrawInfoFc.state = (*env)->GetFieldID(env, HIThemeSeparatorDrawInfoFc.clazz, "state", "I");
- HIThemeSeparatorDrawInfoFc.cached = 1;
-}
-
-HIThemeSeparatorDrawInfo *getHIThemeSeparatorDrawInfoFields(JNIEnv *env, jobject lpObject, HIThemeSeparatorDrawInfo *lpStruct)
-{
- if (!HIThemeSeparatorDrawInfoFc.cached) cacheHIThemeSeparatorDrawInfoFields(env, lpObject);
- lpStruct->version = (*env)->GetIntField(env, lpObject, HIThemeSeparatorDrawInfoFc.version);
- lpStruct->state = (*env)->GetIntField(env, lpObject, HIThemeSeparatorDrawInfoFc.state);
- return lpStruct;
-}
-
-void setHIThemeSeparatorDrawInfoFields(JNIEnv *env, jobject lpObject, HIThemeSeparatorDrawInfo *lpStruct)
-{
- if (!HIThemeSeparatorDrawInfoFc.cached) cacheHIThemeSeparatorDrawInfoFields(env, lpObject);
- (*env)->SetIntField(env, lpObject, HIThemeSeparatorDrawInfoFc.version, (jint)lpStruct->version);
- (*env)->SetIntField(env, lpObject, HIThemeSeparatorDrawInfoFc.state, (jint)lpStruct->state);
-}
-#endif
-
-#ifndef NO_HIThemeTabDrawInfo
-typedef struct HIThemeTabDrawInfo_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID version, style, direction, size, adornment, kind, position;
-} HIThemeTabDrawInfo_FID_CACHE;
-
-HIThemeTabDrawInfo_FID_CACHE HIThemeTabDrawInfoFc;
-
-void cacheHIThemeTabDrawInfoFields(JNIEnv *env, jobject lpObject)
-{
- if (HIThemeTabDrawInfoFc.cached) return;
- HIThemeTabDrawInfoFc.clazz = (*env)->GetObjectClass(env, lpObject);
- HIThemeTabDrawInfoFc.version = (*env)->GetFieldID(env, HIThemeTabDrawInfoFc.clazz, "version", "I");
- HIThemeTabDrawInfoFc.style = (*env)->GetFieldID(env, HIThemeTabDrawInfoFc.clazz, "style", "S");
- HIThemeTabDrawInfoFc.direction = (*env)->GetFieldID(env, HIThemeTabDrawInfoFc.clazz, "direction", "S");
- HIThemeTabDrawInfoFc.size = (*env)->GetFieldID(env, HIThemeTabDrawInfoFc.clazz, "size", "I");
- HIThemeTabDrawInfoFc.adornment = (*env)->GetFieldID(env, HIThemeTabDrawInfoFc.clazz, "adornment", "I");
- HIThemeTabDrawInfoFc.kind = (*env)->GetFieldID(env, HIThemeTabDrawInfoFc.clazz, "kind", "I");
- HIThemeTabDrawInfoFc.position = (*env)->GetFieldID(env, HIThemeTabDrawInfoFc.clazz, "position", "I");
- HIThemeTabDrawInfoFc.cached = 1;
-}
-
-HIThemeTabDrawInfo *getHIThemeTabDrawInfoFields(JNIEnv *env, jobject lpObject, HIThemeTabDrawInfo *lpStruct)
-{
- if (!HIThemeTabDrawInfoFc.cached) cacheHIThemeTabDrawInfoFields(env, lpObject);
- lpStruct->version = (*env)->GetIntField(env, lpObject, HIThemeTabDrawInfoFc.version);
- lpStruct->style = (*env)->GetShortField(env, lpObject, HIThemeTabDrawInfoFc.style);
- lpStruct->direction = (*env)->GetShortField(env, lpObject, HIThemeTabDrawInfoFc.direction);
- lpStruct->size = (*env)->GetIntField(env, lpObject, HIThemeTabDrawInfoFc.size);
- lpStruct->adornment = (*env)->GetIntField(env, lpObject, HIThemeTabDrawInfoFc.adornment);
-#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_4
- lpStruct->kind = (*env)->GetIntField(env, lpObject, HIThemeTabDrawInfoFc.kind);
-#endif
-#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_4
- lpStruct->position = (*env)->GetIntField(env, lpObject, HIThemeTabDrawInfoFc.position);
-#endif
- return lpStruct;
-}
-
-void setHIThemeTabDrawInfoFields(JNIEnv *env, jobject lpObject, HIThemeTabDrawInfo *lpStruct)
-{
- if (!HIThemeTabDrawInfoFc.cached) cacheHIThemeTabDrawInfoFields(env, lpObject);
- (*env)->SetIntField(env, lpObject, HIThemeTabDrawInfoFc.version, (jint)lpStruct->version);
- (*env)->SetShortField(env, lpObject, HIThemeTabDrawInfoFc.style, (jshort)lpStruct->style);
- (*env)->SetShortField(env, lpObject, HIThemeTabDrawInfoFc.direction, (jshort)lpStruct->direction);
- (*env)->SetIntField(env, lpObject, HIThemeTabDrawInfoFc.size, (jint)lpStruct->size);
- (*env)->SetIntField(env, lpObject, HIThemeTabDrawInfoFc.adornment, (jint)lpStruct->adornment);
-#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_4
- (*env)->SetIntField(env, lpObject, HIThemeTabDrawInfoFc.kind, (jint)lpStruct->kind);
-#endif
-#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_4
- (*env)->SetIntField(env, lpObject, HIThemeTabDrawInfoFc.position, (jint)lpStruct->position);
-#endif
-}
-#endif
-
-#ifndef NO_HIThemeTabPaneDrawInfo
-typedef struct HIThemeTabPaneDrawInfo_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID version, state, direction, size, kind, adornment;
-} HIThemeTabPaneDrawInfo_FID_CACHE;
-
-HIThemeTabPaneDrawInfo_FID_CACHE HIThemeTabPaneDrawInfoFc;
-
-void cacheHIThemeTabPaneDrawInfoFields(JNIEnv *env, jobject lpObject)
-{
- if (HIThemeTabPaneDrawInfoFc.cached) return;
- HIThemeTabPaneDrawInfoFc.clazz = (*env)->GetObjectClass(env, lpObject);
- HIThemeTabPaneDrawInfoFc.version = (*env)->GetFieldID(env, HIThemeTabPaneDrawInfoFc.clazz, "version", "I");
- HIThemeTabPaneDrawInfoFc.state = (*env)->GetFieldID(env, HIThemeTabPaneDrawInfoFc.clazz, "state", "I");
- HIThemeTabPaneDrawInfoFc.direction = (*env)->GetFieldID(env, HIThemeTabPaneDrawInfoFc.clazz, "direction", "S");
- HIThemeTabPaneDrawInfoFc.size = (*env)->GetFieldID(env, HIThemeTabPaneDrawInfoFc.clazz, "size", "I");
- HIThemeTabPaneDrawInfoFc.kind = (*env)->GetFieldID(env, HIThemeTabPaneDrawInfoFc.clazz, "kind", "I");
- HIThemeTabPaneDrawInfoFc.adornment = (*env)->GetFieldID(env, HIThemeTabPaneDrawInfoFc.clazz, "adornment", "I");
- HIThemeTabPaneDrawInfoFc.cached = 1;
-}
-
-HIThemeTabPaneDrawInfo *getHIThemeTabPaneDrawInfoFields(JNIEnv *env, jobject lpObject, HIThemeTabPaneDrawInfo *lpStruct)
-{
- if (!HIThemeTabPaneDrawInfoFc.cached) cacheHIThemeTabPaneDrawInfoFields(env, lpObject);
- lpStruct->version = (*env)->GetIntField(env, lpObject, HIThemeTabPaneDrawInfoFc.version);
- lpStruct->state = (*env)->GetIntField(env, lpObject, HIThemeTabPaneDrawInfoFc.state);
- lpStruct->direction = (*env)->GetShortField(env, lpObject, HIThemeTabPaneDrawInfoFc.direction);
- lpStruct->size = (*env)->GetIntField(env, lpObject, HIThemeTabPaneDrawInfoFc.size);
-#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_4
- lpStruct->kind = (*env)->GetIntField(env, lpObject, HIThemeTabPaneDrawInfoFc.kind);
-#endif
-#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_4
- lpStruct->adornment = (*env)->GetIntField(env, lpObject, HIThemeTabPaneDrawInfoFc.adornment);
-#endif
- return lpStruct;
-}
-
-void setHIThemeTabPaneDrawInfoFields(JNIEnv *env, jobject lpObject, HIThemeTabPaneDrawInfo *lpStruct)
-{
- if (!HIThemeTabPaneDrawInfoFc.cached) cacheHIThemeTabPaneDrawInfoFields(env, lpObject);
- (*env)->SetIntField(env, lpObject, HIThemeTabPaneDrawInfoFc.version, (jint)lpStruct->version);
- (*env)->SetIntField(env, lpObject, HIThemeTabPaneDrawInfoFc.state, (jint)lpStruct->state);
- (*env)->SetShortField(env, lpObject, HIThemeTabPaneDrawInfoFc.direction, (jshort)lpStruct->direction);
- (*env)->SetIntField(env, lpObject, HIThemeTabPaneDrawInfoFc.size, (jint)lpStruct->size);
-#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_4
- (*env)->SetIntField(env, lpObject, HIThemeTabPaneDrawInfoFc.kind, (jint)lpStruct->kind);
-#endif
-#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_4
- (*env)->SetIntField(env, lpObject, HIThemeTabPaneDrawInfoFc.adornment, (jint)lpStruct->adornment);
-#endif
-}
-#endif
-
-#ifndef NO_HIThemeTextInfo
-typedef struct HIThemeTextInfo_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID version, state, fontID, horizontalFlushness, verticalFlushness, options, truncationPosition, truncationMaxLines, truncationHappened;
-} HIThemeTextInfo_FID_CACHE;
-
-HIThemeTextInfo_FID_CACHE HIThemeTextInfoFc;
-
-void cacheHIThemeTextInfoFields(JNIEnv *env, jobject lpObject)
-{
- if (HIThemeTextInfoFc.cached) return;
- HIThemeTextInfoFc.clazz = (*env)->GetObjectClass(env, lpObject);
- HIThemeTextInfoFc.version = (*env)->GetFieldID(env, HIThemeTextInfoFc.clazz, "version", "I");
- HIThemeTextInfoFc.state = (*env)->GetFieldID(env, HIThemeTextInfoFc.clazz, "state", "I");
- HIThemeTextInfoFc.fontID = (*env)->GetFieldID(env, HIThemeTextInfoFc.clazz, "fontID", "S");
- HIThemeTextInfoFc.horizontalFlushness = (*env)->GetFieldID(env, HIThemeTextInfoFc.clazz, "horizontalFlushness", "I");
- HIThemeTextInfoFc.verticalFlushness = (*env)->GetFieldID(env, HIThemeTextInfoFc.clazz, "verticalFlushness", "I");
- HIThemeTextInfoFc.options = (*env)->GetFieldID(env, HIThemeTextInfoFc.clazz, "options", "I");
- HIThemeTextInfoFc.truncationPosition = (*env)->GetFieldID(env, HIThemeTextInfoFc.clazz, "truncationPosition", "I");
- HIThemeTextInfoFc.truncationMaxLines = (*env)->GetFieldID(env, HIThemeTextInfoFc.clazz, "truncationMaxLines", "I");
- HIThemeTextInfoFc.truncationHappened = (*env)->GetFieldID(env, HIThemeTextInfoFc.clazz, "truncationHappened", "Z");
- HIThemeTextInfoFc.cached = 1;
-}
-
-HIThemeTextInfo *getHIThemeTextInfoFields(JNIEnv *env, jobject lpObject, HIThemeTextInfo *lpStruct)
-{
- if (!HIThemeTextInfoFc.cached) cacheHIThemeTextInfoFields(env, lpObject);
- lpStruct->version = (*env)->GetIntField(env, lpObject, HIThemeTextInfoFc.version);
- lpStruct->state = (*env)->GetIntField(env, lpObject, HIThemeTextInfoFc.state);
- lpStruct->fontID = (*env)->GetShortField(env, lpObject, HIThemeTextInfoFc.fontID);
- lpStruct->horizontalFlushness = (*env)->GetIntField(env, lpObject, HIThemeTextInfoFc.horizontalFlushness);
- lpStruct->verticalFlushness = (*env)->GetIntField(env, lpObject, HIThemeTextInfoFc.verticalFlushness);
- lpStruct->options = (*env)->GetIntField(env, lpObject, HIThemeTextInfoFc.options);
- lpStruct->truncationPosition = (*env)->GetIntField(env, lpObject, HIThemeTextInfoFc.truncationPosition);
- lpStruct->truncationMaxLines = (*env)->GetIntField(env, lpObject, HIThemeTextInfoFc.truncationMaxLines);
- lpStruct->truncationHappened = (*env)->GetBooleanField(env, lpObject, HIThemeTextInfoFc.truncationHappened);
- return lpStruct;
-}
-
-void setHIThemeTextInfoFields(JNIEnv *env, jobject lpObject, HIThemeTextInfo *lpStruct)
-{
- if (!HIThemeTextInfoFc.cached) cacheHIThemeTextInfoFields(env, lpObject);
- (*env)->SetIntField(env, lpObject, HIThemeTextInfoFc.version, (jint)lpStruct->version);
- (*env)->SetIntField(env, lpObject, HIThemeTextInfoFc.state, (jint)lpStruct->state);
- (*env)->SetShortField(env, lpObject, HIThemeTextInfoFc.fontID, (jshort)lpStruct->fontID);
- (*env)->SetIntField(env, lpObject, HIThemeTextInfoFc.horizontalFlushness, (jint)lpStruct->horizontalFlushness);
- (*env)->SetIntField(env, lpObject, HIThemeTextInfoFc.verticalFlushness, (jint)lpStruct->verticalFlushness);
- (*env)->SetIntField(env, lpObject, HIThemeTextInfoFc.options, (jint)lpStruct->options);
- (*env)->SetIntField(env, lpObject, HIThemeTextInfoFc.truncationPosition, (jint)lpStruct->truncationPosition);
- (*env)->SetIntField(env, lpObject, HIThemeTextInfoFc.truncationMaxLines, (jint)lpStruct->truncationMaxLines);
- (*env)->SetBooleanField(env, lpObject, HIThemeTextInfoFc.truncationHappened, (jboolean)lpStruct->truncationHappened);
-}
-#endif
-
-#ifndef NO_HIThemeTrackDrawInfo
-typedef struct HIThemeTrackDrawInfo_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID version, kind, bounds_x, bounds_y, bounds_width, bounds_height, min, max, value, reserved, attributes, enableState, filler1, scrollbar, slider, progress;
-} HIThemeTrackDrawInfo_FID_CACHE;
-
-HIThemeTrackDrawInfo_FID_CACHE HIThemeTrackDrawInfoFc;
-
-void cacheHIThemeTrackDrawInfoFields(JNIEnv *env, jobject lpObject)
-{
- if (HIThemeTrackDrawInfoFc.cached) return;
- HIThemeTrackDrawInfoFc.clazz = (*env)->GetObjectClass(env, lpObject);
- HIThemeTrackDrawInfoFc.version = (*env)->GetFieldID(env, HIThemeTrackDrawInfoFc.clazz, "version", "I");
- HIThemeTrackDrawInfoFc.kind = (*env)->GetFieldID(env, HIThemeTrackDrawInfoFc.clazz, "kind", "S");
- HIThemeTrackDrawInfoFc.bounds_x = (*env)->GetFieldID(env, HIThemeTrackDrawInfoFc.clazz, "bounds_x", "F");
- HIThemeTrackDrawInfoFc.bounds_y = (*env)->GetFieldID(env, HIThemeTrackDrawInfoFc.clazz, "bounds_y", "F");
- HIThemeTrackDrawInfoFc.bounds_width = (*env)->GetFieldID(env, HIThemeTrackDrawInfoFc.clazz, "bounds_width", "F");
- HIThemeTrackDrawInfoFc.bounds_height = (*env)->GetFieldID(env, HIThemeTrackDrawInfoFc.clazz, "bounds_height", "F");
- HIThemeTrackDrawInfoFc.min = (*env)->GetFieldID(env, HIThemeTrackDrawInfoFc.clazz, "min", "I");
- HIThemeTrackDrawInfoFc.max = (*env)->GetFieldID(env, HIThemeTrackDrawInfoFc.clazz, "max", "I");
- HIThemeTrackDrawInfoFc.value = (*env)->GetFieldID(env, HIThemeTrackDrawInfoFc.clazz, "value", "I");
- HIThemeTrackDrawInfoFc.reserved = (*env)->GetFieldID(env, HIThemeTrackDrawInfoFc.clazz, "reserved", "I");
- HIThemeTrackDrawInfoFc.attributes = (*env)->GetFieldID(env, HIThemeTrackDrawInfoFc.clazz, "attributes", "S");
- HIThemeTrackDrawInfoFc.enableState = (*env)->GetFieldID(env, HIThemeTrackDrawInfoFc.clazz, "enableState", "B");
- HIThemeTrackDrawInfoFc.filler1 = (*env)->GetFieldID(env, HIThemeTrackDrawInfoFc.clazz, "filler1", "B");
- HIThemeTrackDrawInfoFc.scrollbar = (*env)->GetFieldID(env, HIThemeTrackDrawInfoFc.clazz, "scrollbar", "Lorg/eclipse/swt/internal/carbon/ScrollBarTrackInfo;");
- HIThemeTrackDrawInfoFc.slider = (*env)->GetFieldID(env, HIThemeTrackDrawInfoFc.clazz, "slider", "Lorg/eclipse/swt/internal/carbon/SliderTrackInfo;");
- HIThemeTrackDrawInfoFc.progress = (*env)->GetFieldID(env, HIThemeTrackDrawInfoFc.clazz, "progress", "Lorg/eclipse/swt/internal/carbon/ProgressTrackInfo;");
- HIThemeTrackDrawInfoFc.cached = 1;
-}
-
-HIThemeTrackDrawInfo *getHIThemeTrackDrawInfoFields(JNIEnv *env, jobject lpObject, HIThemeTrackDrawInfo *lpStruct)
-{
- if (!HIThemeTrackDrawInfoFc.cached) cacheHIThemeTrackDrawInfoFields(env, lpObject);
- lpStruct->version = (*env)->GetIntField(env, lpObject, HIThemeTrackDrawInfoFc.version);
- lpStruct->kind = (ThemeTrackKind)(*env)->GetShortField(env, lpObject, HIThemeTrackDrawInfoFc.kind);
- lpStruct->bounds.origin.x = (*env)->GetFloatField(env, lpObject, HIThemeTrackDrawInfoFc.bounds_x);
- lpStruct->bounds.origin.y = (*env)->GetFloatField(env, lpObject, HIThemeTrackDrawInfoFc.bounds_y);
- lpStruct->bounds.size.width = (*env)->GetFloatField(env, lpObject, HIThemeTrackDrawInfoFc.bounds_width);
- lpStruct->bounds.size.height = (*env)->GetFloatField(env, lpObject, HIThemeTrackDrawInfoFc.bounds_height);
- lpStruct->min = (*env)->GetIntField(env, lpObject, HIThemeTrackDrawInfoFc.min);
- lpStruct->max = (*env)->GetIntField(env, lpObject, HIThemeTrackDrawInfoFc.max);
- lpStruct->value = (*env)->GetIntField(env, lpObject, HIThemeTrackDrawInfoFc.value);
- lpStruct->reserved = (*env)->GetIntField(env, lpObject, HIThemeTrackDrawInfoFc.reserved);
- lpStruct->attributes = (ThemeTrackAttributes)(*env)->GetShortField(env, lpObject, HIThemeTrackDrawInfoFc.attributes);
- lpStruct->enableState = (ThemeTrackEnableState)(*env)->GetByteField(env, lpObject, HIThemeTrackDrawInfoFc.enableState);
- lpStruct->filler1 = (*env)->GetByteField(env, lpObject, HIThemeTrackDrawInfoFc.filler1);
- {
- jobject lpObject1 = (*env)->GetObjectField(env, lpObject, HIThemeTrackDrawInfoFc.scrollbar);
- if (lpObject1 != NULL) getScrollBarTrackInfoFields(env, lpObject1, &lpStruct->trackInfo.scrollbar);
- }
- {
- jobject lpObject1 = (*env)->GetObjectField(env, lpObject, HIThemeTrackDrawInfoFc.slider);
- if (lpObject1 != NULL) getSliderTrackInfoFields(env, lpObject1, &lpStruct->trackInfo.slider);
- }
- {
- jobject lpObject1 = (*env)->GetObjectField(env, lpObject, HIThemeTrackDrawInfoFc.progress);
- if (lpObject1 != NULL) getProgressTrackInfoFields(env, lpObject1, &lpStruct->trackInfo.progress);
- }
- return lpStruct;
-}
-
-void setHIThemeTrackDrawInfoFields(JNIEnv *env, jobject lpObject, HIThemeTrackDrawInfo *lpStruct)
-{
- if (!HIThemeTrackDrawInfoFc.cached) cacheHIThemeTrackDrawInfoFields(env, lpObject);
- (*env)->SetIntField(env, lpObject, HIThemeTrackDrawInfoFc.version, (jint)lpStruct->version);
- (*env)->SetShortField(env, lpObject, HIThemeTrackDrawInfoFc.kind, (jshort)lpStruct->kind);
- (*env)->SetFloatField(env, lpObject, HIThemeTrackDrawInfoFc.bounds_x, (jfloat)lpStruct->bounds.origin.x);
- (*env)->SetFloatField(env, lpObject, HIThemeTrackDrawInfoFc.bounds_y, (jfloat)lpStruct->bounds.origin.y);
- (*env)->SetFloatField(env, lpObject, HIThemeTrackDrawInfoFc.bounds_width, (jfloat)lpStruct->bounds.size.width);
- (*env)->SetFloatField(env, lpObject, HIThemeTrackDrawInfoFc.bounds_height, (jfloat)lpStruct->bounds.size.height);
- (*env)->SetIntField(env, lpObject, HIThemeTrackDrawInfoFc.min, (jint)lpStruct->min);
- (*env)->SetIntField(env, lpObject, HIThemeTrackDrawInfoFc.max, (jint)lpStruct->max);
- (*env)->SetIntField(env, lpObject, HIThemeTrackDrawInfoFc.value, (jint)lpStruct->value);
- (*env)->SetIntField(env, lpObject, HIThemeTrackDrawInfoFc.reserved, (jint)lpStruct->reserved);
- (*env)->SetShortField(env, lpObject, HIThemeTrackDrawInfoFc.attributes, (jshort)lpStruct->attributes);
- (*env)->SetByteField(env, lpObject, HIThemeTrackDrawInfoFc.enableState, (jbyte)lpStruct->enableState);
- (*env)->SetByteField(env, lpObject, HIThemeTrackDrawInfoFc.filler1, (jbyte)lpStruct->filler1);
- {
- jobject lpObject1 = (*env)->GetObjectField(env, lpObject, HIThemeTrackDrawInfoFc.scrollbar);
- if (lpObject1 != NULL) setScrollBarTrackInfoFields(env, lpObject1, &lpStruct->trackInfo.scrollbar);
- }
- {
- jobject lpObject1 = (*env)->GetObjectField(env, lpObject, HIThemeTrackDrawInfoFc.slider);
- if (lpObject1 != NULL) setSliderTrackInfoFields(env, lpObject1, &lpStruct->trackInfo.slider);
- }
- {
- jobject lpObject1 = (*env)->GetObjectField(env, lpObject, HIThemeTrackDrawInfoFc.progress);
- if (lpObject1 != NULL) setProgressTrackInfoFields(env, lpObject1, &lpStruct->trackInfo.progress);
- }
-}
-#endif
-
-#ifndef NO_HMHelpContentRec
-typedef struct HMHelpContentRec_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID version, absHotRect_top, absHotRect_left, absHotRect_bottom, absHotRect_right, tagSide, content0_contentType, content0_tagCFString, content1_contentType, content1_tagCFString;
-} HMHelpContentRec_FID_CACHE;
-
-HMHelpContentRec_FID_CACHE HMHelpContentRecFc;
-
-void cacheHMHelpContentRecFields(JNIEnv *env, jobject lpObject)
-{
- if (HMHelpContentRecFc.cached) return;
- HMHelpContentRecFc.clazz = (*env)->GetObjectClass(env, lpObject);
- HMHelpContentRecFc.version = (*env)->GetFieldID(env, HMHelpContentRecFc.clazz, "version", "I");
- HMHelpContentRecFc.absHotRect_top = (*env)->GetFieldID(env, HMHelpContentRecFc.clazz, "absHotRect_top", "S");
- HMHelpContentRecFc.absHotRect_left = (*env)->GetFieldID(env, HMHelpContentRecFc.clazz, "absHotRect_left", "S");
- HMHelpContentRecFc.absHotRect_bottom = (*env)->GetFieldID(env, HMHelpContentRecFc.clazz, "absHotRect_bottom", "S");
- HMHelpContentRecFc.absHotRect_right = (*env)->GetFieldID(env, HMHelpContentRecFc.clazz, "absHotRect_right", "S");
- HMHelpContentRecFc.tagSide = (*env)->GetFieldID(env, HMHelpContentRecFc.clazz, "tagSide", "S");
- HMHelpContentRecFc.content0_contentType = (*env)->GetFieldID(env, HMHelpContentRecFc.clazz, "content0_contentType", "I");
- HMHelpContentRecFc.content0_tagCFString = (*env)->GetFieldID(env, HMHelpContentRecFc.clazz, "content0_tagCFString", "I");
- HMHelpContentRecFc.content1_contentType = (*env)->GetFieldID(env, HMHelpContentRecFc.clazz, "content1_contentType", "I");
- HMHelpContentRecFc.content1_tagCFString = (*env)->GetFieldID(env, HMHelpContentRecFc.clazz, "content1_tagCFString", "I");
- HMHelpContentRecFc.cached = 1;
-}
-
-HMHelpContentRec *getHMHelpContentRecFields(JNIEnv *env, jobject lpObject, HMHelpContentRec *lpStruct)
-{
- if (!HMHelpContentRecFc.cached) cacheHMHelpContentRecFields(env, lpObject);
- lpStruct->version = (*env)->GetIntField(env, lpObject, HMHelpContentRecFc.version);
- lpStruct->absHotRect.top = (*env)->GetShortField(env, lpObject, HMHelpContentRecFc.absHotRect_top);
- lpStruct->absHotRect.left = (*env)->GetShortField(env, lpObject, HMHelpContentRecFc.absHotRect_left);
- lpStruct->absHotRect.bottom = (*env)->GetShortField(env, lpObject, HMHelpContentRecFc.absHotRect_bottom);
- lpStruct->absHotRect.right = (*env)->GetShortField(env, lpObject, HMHelpContentRecFc.absHotRect_right);
- lpStruct->tagSide = (*env)->GetShortField(env, lpObject, HMHelpContentRecFc.tagSide);
- lpStruct->content[0].contentType = (*env)->GetIntField(env, lpObject, HMHelpContentRecFc.content0_contentType);
- lpStruct->content[0].u.tagCFString = (CFStringRef)(*env)->GetIntField(env, lpObject, HMHelpContentRecFc.content0_tagCFString);
- lpStruct->content[1].contentType = (*env)->GetIntField(env, lpObject, HMHelpContentRecFc.content1_contentType);
- lpStruct->content[1].u.tagCFString = (CFStringRef)(*env)->GetIntField(env, lpObject, HMHelpContentRecFc.content1_tagCFString);
- return lpStruct;
-}
-
-void setHMHelpContentRecFields(JNIEnv *env, jobject lpObject, HMHelpContentRec *lpStruct)
-{
- if (!HMHelpContentRecFc.cached) cacheHMHelpContentRecFields(env, lpObject);
- (*env)->SetIntField(env, lpObject, HMHelpContentRecFc.version, (jint)lpStruct->version);
- (*env)->SetShortField(env, lpObject, HMHelpContentRecFc.absHotRect_top, (jshort)lpStruct->absHotRect.top);
- (*env)->SetShortField(env, lpObject, HMHelpContentRecFc.absHotRect_left, (jshort)lpStruct->absHotRect.left);
- (*env)->SetShortField(env, lpObject, HMHelpContentRecFc.absHotRect_bottom, (jshort)lpStruct->absHotRect.bottom);
- (*env)->SetShortField(env, lpObject, HMHelpContentRecFc.absHotRect_right, (jshort)lpStruct->absHotRect.right);
- (*env)->SetShortField(env, lpObject, HMHelpContentRecFc.tagSide, (jshort)lpStruct->tagSide);
- (*env)->SetIntField(env, lpObject, HMHelpContentRecFc.content0_contentType, (jint)lpStruct->content[0].contentType);
- (*env)->SetIntField(env, lpObject, HMHelpContentRecFc.content0_tagCFString, (jint)lpStruct->content[0].u.tagCFString);
- (*env)->SetIntField(env, lpObject, HMHelpContentRecFc.content1_contentType, (jint)lpStruct->content[1].contentType);
- (*env)->SetIntField(env, lpObject, HMHelpContentRecFc.content1_tagCFString, (jint)lpStruct->content[1].u.tagCFString);
-}
-#endif
-
-#ifndef NO_LSApplicationParameters
-typedef struct LSApplicationParameters_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID version, flags, application, asyncLaunchRefCon, environment, argv, initialEvent;
-} LSApplicationParameters_FID_CACHE;
-
-LSApplicationParameters_FID_CACHE LSApplicationParametersFc;
-
-void cacheLSApplicationParametersFields(JNIEnv *env, jobject lpObject)
-{
- if (LSApplicationParametersFc.cached) return;
- LSApplicationParametersFc.clazz = (*env)->GetObjectClass(env, lpObject);
- LSApplicationParametersFc.version = (*env)->GetFieldID(env, LSApplicationParametersFc.clazz, "version", "I");
- LSApplicationParametersFc.flags = (*env)->GetFieldID(env, LSApplicationParametersFc.clazz, "flags", "I");
- LSApplicationParametersFc.application = (*env)->GetFieldID(env, LSApplicationParametersFc.clazz, "application", "I");
- LSApplicationParametersFc.asyncLaunchRefCon = (*env)->GetFieldID(env, LSApplicationParametersFc.clazz, "asyncLaunchRefCon", "I");
- LSApplicationParametersFc.environment = (*env)->GetFieldID(env, LSApplicationParametersFc.clazz, "environment", "I");
- LSApplicationParametersFc.argv = (*env)->GetFieldID(env, LSApplicationParametersFc.clazz, "argv", "I");
- LSApplicationParametersFc.initialEvent = (*env)->GetFieldID(env, LSApplicationParametersFc.clazz, "initialEvent", "I");
- LSApplicationParametersFc.cached = 1;
-}
-
-LSApplicationParameters *getLSApplicationParametersFields(JNIEnv *env, jobject lpObject, LSApplicationParameters *lpStruct)
-{
- if (!LSApplicationParametersFc.cached) cacheLSApplicationParametersFields(env, lpObject);
- lpStruct->version = (*env)->GetIntField(env, lpObject, LSApplicationParametersFc.version);
- lpStruct->flags = (*env)->GetIntField(env, lpObject, LSApplicationParametersFc.flags);
- lpStruct->application = (const FSRef *)(*env)->GetIntField(env, lpObject, LSApplicationParametersFc.application);
- lpStruct->asyncLaunchRefCon = (void *)(*env)->GetIntField(env, lpObject, LSApplicationParametersFc.asyncLaunchRefCon);
- lpStruct->environment = (CFDictionaryRef)(*env)->GetIntField(env, lpObject, LSApplicationParametersFc.environment);
- lpStruct->argv = (CFArrayRef)(*env)->GetIntField(env, lpObject, LSApplicationParametersFc.argv);
- lpStruct->initialEvent = (AppleEvent *)(*env)->GetIntField(env, lpObject, LSApplicationParametersFc.initialEvent);
- return lpStruct;
-}
-
-void setLSApplicationParametersFields(JNIEnv *env, jobject lpObject, LSApplicationParameters *lpStruct)
-{
- if (!LSApplicationParametersFc.cached) cacheLSApplicationParametersFields(env, lpObject);
- (*env)->SetIntField(env, lpObject, LSApplicationParametersFc.version, (jint)lpStruct->version);
- (*env)->SetIntField(env, lpObject, LSApplicationParametersFc.flags, (jint)lpStruct->flags);
- (*env)->SetIntField(env, lpObject, LSApplicationParametersFc.application, (jint)lpStruct->application);
- (*env)->SetIntField(env, lpObject, LSApplicationParametersFc.asyncLaunchRefCon, (jint)lpStruct->asyncLaunchRefCon);
- (*env)->SetIntField(env, lpObject, LSApplicationParametersFc.environment, (jint)lpStruct->environment);
- (*env)->SetIntField(env, lpObject, LSApplicationParametersFc.argv, (jint)lpStruct->argv);
- (*env)->SetIntField(env, lpObject, LSApplicationParametersFc.initialEvent, (jint)lpStruct->initialEvent);
-}
-#endif
-
-#ifndef NO_LongDateRec
-typedef struct LongDateRec_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID era, year, month, day, hour, minute, second, dayOfWeek, dayOfYear, weekOfYear, pm, res1, res2, res3;
-} LongDateRec_FID_CACHE;
-
-LongDateRec_FID_CACHE LongDateRecFc;
-
-void cacheLongDateRecFields(JNIEnv *env, jobject lpObject)
-{
- if (LongDateRecFc.cached) return;
- LongDateRecFc.clazz = (*env)->GetObjectClass(env, lpObject);
- LongDateRecFc.era = (*env)->GetFieldID(env, LongDateRecFc.clazz, "era", "S");
- LongDateRecFc.year = (*env)->GetFieldID(env, LongDateRecFc.clazz, "year", "S");
- LongDateRecFc.month = (*env)->GetFieldID(env, LongDateRecFc.clazz, "month", "S");
- LongDateRecFc.day = (*env)->GetFieldID(env, LongDateRecFc.clazz, "day", "S");
- LongDateRecFc.hour = (*env)->GetFieldID(env, LongDateRecFc.clazz, "hour", "S");
- LongDateRecFc.minute = (*env)->GetFieldID(env, LongDateRecFc.clazz, "minute", "S");
- LongDateRecFc.second = (*env)->GetFieldID(env, LongDateRecFc.clazz, "second", "S");
- LongDateRecFc.dayOfWeek = (*env)->GetFieldID(env, LongDateRecFc.clazz, "dayOfWeek", "S");
- LongDateRecFc.dayOfYear = (*env)->GetFieldID(env, LongDateRecFc.clazz, "dayOfYear", "S");
- LongDateRecFc.weekOfYear = (*env)->GetFieldID(env, LongDateRecFc.clazz, "weekOfYear", "S");
- LongDateRecFc.pm = (*env)->GetFieldID(env, LongDateRecFc.clazz, "pm", "S");
- LongDateRecFc.res1 = (*env)->GetFieldID(env, LongDateRecFc.clazz, "res1", "S");
- LongDateRecFc.res2 = (*env)->GetFieldID(env, LongDateRecFc.clazz, "res2", "S");
- LongDateRecFc.res3 = (*env)->GetFieldID(env, LongDateRecFc.clazz, "res3", "S");
- LongDateRecFc.cached = 1;
-}
-
-LongDateRec *getLongDateRecFields(JNIEnv *env, jobject lpObject, LongDateRec *lpStruct)
-{
- if (!LongDateRecFc.cached) cacheLongDateRecFields(env, lpObject);
- lpStruct->ld.era = (*env)->GetShortField(env, lpObject, LongDateRecFc.era);
- lpStruct->ld.year = (*env)->GetShortField(env, lpObject, LongDateRecFc.year);
- lpStruct->ld.month = (*env)->GetShortField(env, lpObject, LongDateRecFc.month);
- lpStruct->ld.day = (*env)->GetShortField(env, lpObject, LongDateRecFc.day);
- lpStruct->ld.hour = (*env)->GetShortField(env, lpObject, LongDateRecFc.hour);
- lpStruct->ld.minute = (*env)->GetShortField(env, lpObject, LongDateRecFc.minute);
- lpStruct->ld.second = (*env)->GetShortField(env, lpObject, LongDateRecFc.second);
- lpStruct->ld.dayOfWeek = (*env)->GetShortField(env, lpObject, LongDateRecFc.dayOfWeek);
- lpStruct->ld.dayOfYear = (*env)->GetShortField(env, lpObject, LongDateRecFc.dayOfYear);
- lpStruct->ld.weekOfYear = (*env)->GetShortField(env, lpObject, LongDateRecFc.weekOfYear);
- lpStruct->ld.pm = (*env)->GetShortField(env, lpObject, LongDateRecFc.pm);
- lpStruct->ld.res1 = (*env)->GetShortField(env, lpObject, LongDateRecFc.res1);
- lpStruct->ld.res2 = (*env)->GetShortField(env, lpObject, LongDateRecFc.res2);
- lpStruct->ld.res3 = (*env)->GetShortField(env, lpObject, LongDateRecFc.res3);
- return lpStruct;
-}
-
-void setLongDateRecFields(JNIEnv *env, jobject lpObject, LongDateRec *lpStruct)
-{
- if (!LongDateRecFc.cached) cacheLongDateRecFields(env, lpObject);
- (*env)->SetShortField(env, lpObject, LongDateRecFc.era, (jshort)lpStruct->ld.era);
- (*env)->SetShortField(env, lpObject, LongDateRecFc.year, (jshort)lpStruct->ld.year);
- (*env)->SetShortField(env, lpObject, LongDateRecFc.month, (jshort)lpStruct->ld.month);
- (*env)->SetShortField(env, lpObject, LongDateRecFc.day, (jshort)lpStruct->ld.day);
- (*env)->SetShortField(env, lpObject, LongDateRecFc.hour, (jshort)lpStruct->ld.hour);
- (*env)->SetShortField(env, lpObject, LongDateRecFc.minute, (jshort)lpStruct->ld.minute);
- (*env)->SetShortField(env, lpObject, LongDateRecFc.second, (jshort)lpStruct->ld.second);
- (*env)->SetShortField(env, lpObject, LongDateRecFc.dayOfWeek, (jshort)lpStruct->ld.dayOfWeek);
- (*env)->SetShortField(env, lpObject, LongDateRecFc.dayOfYear, (jshort)lpStruct->ld.dayOfYear);
- (*env)->SetShortField(env, lpObject, LongDateRecFc.weekOfYear, (jshort)lpStruct->ld.weekOfYear);
- (*env)->SetShortField(env, lpObject, LongDateRecFc.pm, (jshort)lpStruct->ld.pm);
- (*env)->SetShortField(env, lpObject, LongDateRecFc.res1, (jshort)lpStruct->ld.res1);
- (*env)->SetShortField(env, lpObject, LongDateRecFc.res2, (jshort)lpStruct->ld.res2);
- (*env)->SetShortField(env, lpObject, LongDateRecFc.res3, (jshort)lpStruct->ld.res3);
-}
-#endif
-
-#ifndef NO_MenuTrackingData
-typedef struct MenuTrackingData_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID menu, itemSelected, itemUnderMouse, top, left, bottom, right, virtualMenuTop, virtualMenuBottom;
-} MenuTrackingData_FID_CACHE;
-
-MenuTrackingData_FID_CACHE MenuTrackingDataFc;
-
-void cacheMenuTrackingDataFields(JNIEnv *env, jobject lpObject)
-{
- if (MenuTrackingDataFc.cached) return;
- MenuTrackingDataFc.clazz = (*env)->GetObjectClass(env, lpObject);
- MenuTrackingDataFc.menu = (*env)->GetFieldID(env, MenuTrackingDataFc.clazz, "menu", "I");
- MenuTrackingDataFc.itemSelected = (*env)->GetFieldID(env, MenuTrackingDataFc.clazz, "itemSelected", "S");
- MenuTrackingDataFc.itemUnderMouse = (*env)->GetFieldID(env, MenuTrackingDataFc.clazz, "itemUnderMouse", "S");
- MenuTrackingDataFc.top = (*env)->GetFieldID(env, MenuTrackingDataFc.clazz, "top", "S");
- MenuTrackingDataFc.left = (*env)->GetFieldID(env, MenuTrackingDataFc.clazz, "left", "S");
- MenuTrackingDataFc.bottom = (*env)->GetFieldID(env, MenuTrackingDataFc.clazz, "bottom", "S");
- MenuTrackingDataFc.right = (*env)->GetFieldID(env, MenuTrackingDataFc.clazz, "right", "S");
- MenuTrackingDataFc.virtualMenuTop = (*env)->GetFieldID(env, MenuTrackingDataFc.clazz, "virtualMenuTop", "I");
- MenuTrackingDataFc.virtualMenuBottom = (*env)->GetFieldID(env, MenuTrackingDataFc.clazz, "virtualMenuBottom", "I");
- MenuTrackingDataFc.cached = 1;
-}
-
-MenuTrackingData *getMenuTrackingDataFields(JNIEnv *env, jobject lpObject, MenuTrackingData *lpStruct)
-{
- if (!MenuTrackingDataFc.cached) cacheMenuTrackingDataFields(env, lpObject);
- lpStruct->menu = (MenuRef)(*env)->GetIntField(env, lpObject, MenuTrackingDataFc.menu);
- lpStruct->itemSelected = (*env)->GetShortField(env, lpObject, MenuTrackingDataFc.itemSelected);
- lpStruct->itemUnderMouse = (*env)->GetShortField(env, lpObject, MenuTrackingDataFc.itemUnderMouse);
- lpStruct->itemRect.top = (*env)->GetShortField(env, lpObject, MenuTrackingDataFc.top);
- lpStruct->itemRect.left = (*env)->GetShortField(env, lpObject, MenuTrackingDataFc.left);
- lpStruct->itemRect.bottom = (*env)->GetShortField(env, lpObject, MenuTrackingDataFc.bottom);
- lpStruct->itemRect.right = (*env)->GetShortField(env, lpObject, MenuTrackingDataFc.right);
- lpStruct->virtualMenuTop = (*env)->GetIntField(env, lpObject, MenuTrackingDataFc.virtualMenuTop);
- lpStruct->virtualMenuBottom = (*env)->GetIntField(env, lpObject, MenuTrackingDataFc.virtualMenuBottom);
- return lpStruct;
-}
-
-void setMenuTrackingDataFields(JNIEnv *env, jobject lpObject, MenuTrackingData *lpStruct)
-{
- if (!MenuTrackingDataFc.cached) cacheMenuTrackingDataFields(env, lpObject);
- (*env)->SetIntField(env, lpObject, MenuTrackingDataFc.menu, (jint)lpStruct->menu);
- (*env)->SetShortField(env, lpObject, MenuTrackingDataFc.itemSelected, (jshort)lpStruct->itemSelected);
- (*env)->SetShortField(env, lpObject, MenuTrackingDataFc.itemUnderMouse, (jshort)lpStruct->itemUnderMouse);
- (*env)->SetShortField(env, lpObject, MenuTrackingDataFc.top, (jshort)lpStruct->itemRect.top);
- (*env)->SetShortField(env, lpObject, MenuTrackingDataFc.left, (jshort)lpStruct->itemRect.left);
- (*env)->SetShortField(env, lpObject, MenuTrackingDataFc.bottom, (jshort)lpStruct->itemRect.bottom);
- (*env)->SetShortField(env, lpObject, MenuTrackingDataFc.right, (jshort)lpStruct->itemRect.right);
- (*env)->SetIntField(env, lpObject, MenuTrackingDataFc.virtualMenuTop, (jint)lpStruct->virtualMenuTop);
- (*env)->SetIntField(env, lpObject, MenuTrackingDataFc.virtualMenuBottom, (jint)lpStruct->virtualMenuBottom);
-}
-#endif
-
-#ifndef NO_NavCBRec
-typedef struct NavCBRec_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID version, context, window, customRect, previewRect, eventData, userAction, reserved;
-} NavCBRec_FID_CACHE;
-
-NavCBRec_FID_CACHE NavCBRecFc;
-
-void cacheNavCBRecFields(JNIEnv *env, jobject lpObject)
-{
- if (NavCBRecFc.cached) return;
- NavCBRecFc.clazz = (*env)->GetObjectClass(env, lpObject);
- NavCBRecFc.version = (*env)->GetFieldID(env, NavCBRecFc.clazz, "version", "S");
- NavCBRecFc.context = (*env)->GetFieldID(env, NavCBRecFc.clazz, "context", "I");
- NavCBRecFc.window = (*env)->GetFieldID(env, NavCBRecFc.clazz, "window", "I");
- NavCBRecFc.customRect = (*env)->GetFieldID(env, NavCBRecFc.clazz, "customRect", "Lorg/eclipse/swt/internal/carbon/Rect;");
- NavCBRecFc.previewRect = (*env)->GetFieldID(env, NavCBRecFc.clazz, "previewRect", "Lorg/eclipse/swt/internal/carbon/Rect;");
- NavCBRecFc.eventData = (*env)->GetFieldID(env, NavCBRecFc.clazz, "eventData", "Lorg/eclipse/swt/internal/carbon/NavEventData;");
- NavCBRecFc.userAction = (*env)->GetFieldID(env, NavCBRecFc.clazz, "userAction", "I");
- NavCBRecFc.reserved = (*env)->GetFieldID(env, NavCBRecFc.clazz, "reserved", "[B");
- NavCBRecFc.cached = 1;
-}
-
-NavCBRec *getNavCBRecFields(JNIEnv *env, jobject lpObject, NavCBRec *lpStruct)
-{
- if (!NavCBRecFc.cached) cacheNavCBRecFields(env, lpObject);
- lpStruct->version = (*env)->GetShortField(env, lpObject, NavCBRecFc.version);
- lpStruct->context = (NavDialogRef)(*env)->GetIntField(env, lpObject, NavCBRecFc.context);
- lpStruct->window = (WindowRef)(*env)->GetIntField(env, lpObject, NavCBRecFc.window);
- {
- jobject lpObject1 = (*env)->GetObjectField(env, lpObject, NavCBRecFc.customRect);
- if (lpObject1 != NULL) getRectFields(env, lpObject1, &lpStruct->customRect);
- }
- {
- jobject lpObject1 = (*env)->GetObjectField(env, lpObject, NavCBRecFc.previewRect);
- if (lpObject1 != NULL) getRectFields(env, lpObject1, &lpStruct->previewRect);
- }
- {
- jobject lpObject1 = (*env)->GetObjectField(env, lpObject, NavCBRecFc.eventData);
- if (lpObject1 != NULL) getNavEventDataFields(env, lpObject1, &lpStruct->eventData);
- }
- lpStruct->userAction = (NavUserAction)(*env)->GetIntField(env, lpObject, NavCBRecFc.userAction);
- {
- jbyteArray lpObject1 = (jbyteArray)(*env)->GetObjectField(env, lpObject, NavCBRecFc.reserved);
- (*env)->GetByteArrayRegion(env, lpObject1, 0, sizeof(lpStruct->reserved), (jbyte *)lpStruct->reserved);
- }
- return lpStruct;
-}
-
-void setNavCBRecFields(JNIEnv *env, jobject lpObject, NavCBRec *lpStruct)
-{
- if (!NavCBRecFc.cached) cacheNavCBRecFields(env, lpObject);
- (*env)->SetShortField(env, lpObject, NavCBRecFc.version, (jshort)lpStruct->version);
- (*env)->SetIntField(env, lpObject, NavCBRecFc.context, (jint)lpStruct->context);
- (*env)->SetIntField(env, lpObject, NavCBRecFc.window, (jint)lpStruct->window);
- {
- jobject lpObject1 = (*env)->GetObjectField(env, lpObject, NavCBRecFc.customRect);
- if (lpObject1 != NULL) setRectFields(env, lpObject1, &lpStruct->customRect);
- }
- {
- jobject lpObject1 = (*env)->GetObjectField(env, lpObject, NavCBRecFc.previewRect);
- if (lpObject1 != NULL) setRectFields(env, lpObject1, &lpStruct->previewRect);
- }
- {
- jobject lpObject1 = (*env)->GetObjectField(env, lpObject, NavCBRecFc.eventData);
- if (lpObject1 != NULL) setNavEventDataFields(env, lpObject1, &lpStruct->eventData);
- }
- (*env)->SetIntField(env, lpObject, NavCBRecFc.userAction, (jint)lpStruct->userAction);
- {
- jbyteArray lpObject1 = (jbyteArray)(*env)->GetObjectField(env, lpObject, NavCBRecFc.reserved);
- (*env)->SetByteArrayRegion(env, lpObject1, 0, sizeof(lpStruct->reserved), (jbyte *)lpStruct->reserved);
- }
-}
-#endif
-
-#ifndef NO_NavDialogCreationOptions
-typedef struct NavDialogCreationOptions_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID version, optionFlags, location_h, location_v, clientName, windowTitle, actionButtonLabel, cancelButtonLabel, saveFileName, message, preferenceKey, popupExtension, modality, parentWindow;
-} NavDialogCreationOptions_FID_CACHE;
-
-NavDialogCreationOptions_FID_CACHE NavDialogCreationOptionsFc;
-
-void cacheNavDialogCreationOptionsFields(JNIEnv *env, jobject lpObject)
-{
- if (NavDialogCreationOptionsFc.cached) return;
- NavDialogCreationOptionsFc.clazz = (*env)->GetObjectClass(env, lpObject);
- NavDialogCreationOptionsFc.version = (*env)->GetFieldID(env, NavDialogCreationOptionsFc.clazz, "version", "S");
- NavDialogCreationOptionsFc.optionFlags = (*env)->GetFieldID(env, NavDialogCreationOptionsFc.clazz, "optionFlags", "I");
- NavDialogCreationOptionsFc.location_h = (*env)->GetFieldID(env, NavDialogCreationOptionsFc.clazz, "location_h", "S");
- NavDialogCreationOptionsFc.location_v = (*env)->GetFieldID(env, NavDialogCreationOptionsFc.clazz, "location_v", "S");
- NavDialogCreationOptionsFc.clientName = (*env)->GetFieldID(env, NavDialogCreationOptionsFc.clazz, "clientName", "I");
- NavDialogCreationOptionsFc.windowTitle = (*env)->GetFieldID(env, NavDialogCreationOptionsFc.clazz, "windowTitle", "I");
- NavDialogCreationOptionsFc.actionButtonLabel = (*env)->GetFieldID(env, NavDialogCreationOptionsFc.clazz, "actionButtonLabel", "I");
- NavDialogCreationOptionsFc.cancelButtonLabel = (*env)->GetFieldID(env, NavDialogCreationOptionsFc.clazz, "cancelButtonLabel", "I");
- NavDialogCreationOptionsFc.saveFileName = (*env)->GetFieldID(env, NavDialogCreationOptionsFc.clazz, "saveFileName", "I");
- NavDialogCreationOptionsFc.message = (*env)->GetFieldID(env, NavDialogCreationOptionsFc.clazz, "message", "I");
- NavDialogCreationOptionsFc.preferenceKey = (*env)->GetFieldID(env, NavDialogCreationOptionsFc.clazz, "preferenceKey", "I");
- NavDialogCreationOptionsFc.popupExtension = (*env)->GetFieldID(env, NavDialogCreationOptionsFc.clazz, "popupExtension", "I");
- NavDialogCreationOptionsFc.modality = (*env)->GetFieldID(env, NavDialogCreationOptionsFc.clazz, "modality", "I");
- NavDialogCreationOptionsFc.parentWindow = (*env)->GetFieldID(env, NavDialogCreationOptionsFc.clazz, "parentWindow", "I");
- NavDialogCreationOptionsFc.cached = 1;
-}
-
-NavDialogCreationOptions *getNavDialogCreationOptionsFields(JNIEnv *env, jobject lpObject, NavDialogCreationOptions *lpStruct)
-{
- if (!NavDialogCreationOptionsFc.cached) cacheNavDialogCreationOptionsFields(env, lpObject);
- lpStruct->version = (*env)->GetShortField(env, lpObject, NavDialogCreationOptionsFc.version);
- lpStruct->optionFlags = (NavDialogOptionFlags)(*env)->GetIntField(env, lpObject, NavDialogCreationOptionsFc.optionFlags);
- lpStruct->location.h = (*env)->GetShortField(env, lpObject, NavDialogCreationOptionsFc.location_h);
- lpStruct->location.v = (*env)->GetShortField(env, lpObject, NavDialogCreationOptionsFc.location_v);
- lpStruct->clientName = (CFStringRef)(*env)->GetIntField(env, lpObject, NavDialogCreationOptionsFc.clientName);
- lpStruct->windowTitle = (CFStringRef)(*env)->GetIntField(env, lpObject, NavDialogCreationOptionsFc.windowTitle);
- lpStruct->actionButtonLabel = (CFStringRef)(*env)->GetIntField(env, lpObject, NavDialogCreationOptionsFc.actionButtonLabel);
- lpStruct->cancelButtonLabel = (CFStringRef)(*env)->GetIntField(env, lpObject, NavDialogCreationOptionsFc.cancelButtonLabel);
- lpStruct->saveFileName = (CFStringRef)(*env)->GetIntField(env, lpObject, NavDialogCreationOptionsFc.saveFileName);
- lpStruct->message = (CFStringRef)(*env)->GetIntField(env, lpObject, NavDialogCreationOptionsFc.message);
- lpStruct->preferenceKey = (*env)->GetIntField(env, lpObject, NavDialogCreationOptionsFc.preferenceKey);
- lpStruct->popupExtension = (CFArrayRef)(*env)->GetIntField(env, lpObject, NavDialogCreationOptionsFc.popupExtension);
- lpStruct->modality = (WindowModality)(*env)->GetIntField(env, lpObject, NavDialogCreationOptionsFc.modality);
- lpStruct->parentWindow = (WindowRef)(*env)->GetIntField(env, lpObject, NavDialogCreationOptionsFc.parentWindow);
- return lpStruct;
-}
-
-void setNavDialogCreationOptionsFields(JNIEnv *env, jobject lpObject, NavDialogCreationOptions *lpStruct)
-{
- if (!NavDialogCreationOptionsFc.cached) cacheNavDialogCreationOptionsFields(env, lpObject);
- (*env)->SetShortField(env, lpObject, NavDialogCreationOptionsFc.version, (jshort)lpStruct->version);
- (*env)->SetIntField(env, lpObject, NavDialogCreationOptionsFc.optionFlags, (jint)lpStruct->optionFlags);
- (*env)->SetShortField(env, lpObject, NavDialogCreationOptionsFc.location_h, (jshort)lpStruct->location.h);
- (*env)->SetShortField(env, lpObject, NavDialogCreationOptionsFc.location_v, (jshort)lpStruct->location.v);
- (*env)->SetIntField(env, lpObject, NavDialogCreationOptionsFc.clientName, (jint)lpStruct->clientName);
- (*env)->SetIntField(env, lpObject, NavDialogCreationOptionsFc.windowTitle, (jint)lpStruct->windowTitle);
- (*env)->SetIntField(env, lpObject, NavDialogCreationOptionsFc.actionButtonLabel, (jint)lpStruct->actionButtonLabel);
- (*env)->SetIntField(env, lpObject, NavDialogCreationOptionsFc.cancelButtonLabel, (jint)lpStruct->cancelButtonLabel);
- (*env)->SetIntField(env, lpObject, NavDialogCreationOptionsFc.saveFileName, (jint)lpStruct->saveFileName);
- (*env)->SetIntField(env, lpObject, NavDialogCreationOptionsFc.message, (jint)lpStruct->message);
- (*env)->SetIntField(env, lpObject, NavDialogCreationOptionsFc.preferenceKey, (jint)lpStruct->preferenceKey);
- (*env)->SetIntField(env, lpObject, NavDialogCreationOptionsFc.popupExtension, (jint)lpStruct->popupExtension);
- (*env)->SetIntField(env, lpObject, NavDialogCreationOptionsFc.modality, (jint)lpStruct->modality);
- (*env)->SetIntField(env, lpObject, NavDialogCreationOptionsFc.parentWindow, (jint)lpStruct->parentWindow);
-}
-#endif
-
-#ifndef NO_NavEventData
-typedef struct NavEventData_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID eventDataParms, itemHit;
-} NavEventData_FID_CACHE;
-
-NavEventData_FID_CACHE NavEventDataFc;
-
-void cacheNavEventDataFields(JNIEnv *env, jobject lpObject)
-{
- if (NavEventDataFc.cached) return;
- NavEventDataFc.clazz = (*env)->GetObjectClass(env, lpObject);
- NavEventDataFc.eventDataParms = (*env)->GetFieldID(env, NavEventDataFc.clazz, "eventDataParms", "Lorg/eclipse/swt/internal/carbon/NavEventDataInfo;");
- NavEventDataFc.itemHit = (*env)->GetFieldID(env, NavEventDataFc.clazz, "itemHit", "S");
- NavEventDataFc.cached = 1;
-}
-
-NavEventData *getNavEventDataFields(JNIEnv *env, jobject lpObject, NavEventData *lpStruct)
-{
- if (!NavEventDataFc.cached) cacheNavEventDataFields(env, lpObject);
- {
- jobject lpObject1 = (*env)->GetObjectField(env, lpObject, NavEventDataFc.eventDataParms);
- if (lpObject1 != NULL) getNavEventDataInfoFields(env, lpObject1, &lpStruct->eventDataParms);
- }
- lpStruct->itemHit = (*env)->GetShortField(env, lpObject, NavEventDataFc.itemHit);
- return lpStruct;
-}
-
-void setNavEventDataFields(JNIEnv *env, jobject lpObject, NavEventData *lpStruct)
-{
- if (!NavEventDataFc.cached) cacheNavEventDataFields(env, lpObject);
- {
- jobject lpObject1 = (*env)->GetObjectField(env, lpObject, NavEventDataFc.eventDataParms);
- if (lpObject1 != NULL) setNavEventDataInfoFields(env, lpObject1, &lpStruct->eventDataParms);
- }
- (*env)->SetShortField(env, lpObject, NavEventDataFc.itemHit, (jshort)lpStruct->itemHit);
-}
-#endif
-
-#ifndef NO_NavEventDataInfo
-typedef struct NavEventDataInfo_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID event, param;
-} NavEventDataInfo_FID_CACHE;
-
-NavEventDataInfo_FID_CACHE NavEventDataInfoFc;
-
-void cacheNavEventDataInfoFields(JNIEnv *env, jobject lpObject)
-{
- if (NavEventDataInfoFc.cached) return;
- NavEventDataInfoFc.clazz = (*env)->GetObjectClass(env, lpObject);
- NavEventDataInfoFc.event = (*env)->GetFieldID(env, NavEventDataInfoFc.clazz, "event", "I");
- NavEventDataInfoFc.param = (*env)->GetFieldID(env, NavEventDataInfoFc.clazz, "param", "I");
- NavEventDataInfoFc.cached = 1;
-}
-
-NavEventDataInfo *getNavEventDataInfoFields(JNIEnv *env, jobject lpObject, NavEventDataInfo *lpStruct)
-{
- if (!NavEventDataInfoFc.cached) cacheNavEventDataInfoFields(env, lpObject);
- lpStruct->event = (EventRecord *)(*env)->GetIntField(env, lpObject, NavEventDataInfoFc.event);
- lpStruct->param = (void *)(*env)->GetIntField(env, lpObject, NavEventDataInfoFc.param);
- return lpStruct;
-}
-
-void setNavEventDataInfoFields(JNIEnv *env, jobject lpObject, NavEventDataInfo *lpStruct)
-{
- if (!NavEventDataInfoFc.cached) cacheNavEventDataInfoFields(env, lpObject);
- (*env)->SetIntField(env, lpObject, NavEventDataInfoFc.event, (jint)lpStruct->event);
- (*env)->SetIntField(env, lpObject, NavEventDataInfoFc.param, (jint)lpStruct->param);
-}
-#endif
-
-#ifndef NO_NavFileOrFolderInfo
-typedef struct NavFileOrFolderInfo_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID version, isFolder, visible, creationDate, modificationDate;
-} NavFileOrFolderInfo_FID_CACHE;
-
-NavFileOrFolderInfo_FID_CACHE NavFileOrFolderInfoFc;
-
-void cacheNavFileOrFolderInfoFields(JNIEnv *env, jobject lpObject)
-{
- if (NavFileOrFolderInfoFc.cached) return;
- NavFileOrFolderInfoFc.clazz = (*env)->GetObjectClass(env, lpObject);
- NavFileOrFolderInfoFc.version = (*env)->GetFieldID(env, NavFileOrFolderInfoFc.clazz, "version", "S");
- NavFileOrFolderInfoFc.isFolder = (*env)->GetFieldID(env, NavFileOrFolderInfoFc.clazz, "isFolder", "Z");
- NavFileOrFolderInfoFc.visible = (*env)->GetFieldID(env, NavFileOrFolderInfoFc.clazz, "visible", "Z");
- NavFileOrFolderInfoFc.creationDate = (*env)->GetFieldID(env, NavFileOrFolderInfoFc.clazz, "creationDate", "I");
- NavFileOrFolderInfoFc.modificationDate = (*env)->GetFieldID(env, NavFileOrFolderInfoFc.clazz, "modificationDate", "I");
- NavFileOrFolderInfoFc.cached = 1;
-}
-
-NavFileOrFolderInfo *getNavFileOrFolderInfoFields(JNIEnv *env, jobject lpObject, NavFileOrFolderInfo *lpStruct)
-{
- if (!NavFileOrFolderInfoFc.cached) cacheNavFileOrFolderInfoFields(env, lpObject);
- lpStruct->version = (*env)->GetShortField(env, lpObject, NavFileOrFolderInfoFc.version);
- lpStruct->isFolder = (*env)->GetBooleanField(env, lpObject, NavFileOrFolderInfoFc.isFolder);
- lpStruct->visible = (*env)->GetBooleanField(env, lpObject, NavFileOrFolderInfoFc.visible);
- lpStruct->creationDate = (*env)->GetIntField(env, lpObject, NavFileOrFolderInfoFc.creationDate);
- lpStruct->modificationDate = (*env)->GetIntField(env, lpObject, NavFileOrFolderInfoFc.modificationDate);
- return lpStruct;
-}
-
-void setNavFileOrFolderInfoFields(JNIEnv *env, jobject lpObject, NavFileOrFolderInfo *lpStruct)
-{
- if (!NavFileOrFolderInfoFc.cached) cacheNavFileOrFolderInfoFields(env, lpObject);
- (*env)->SetShortField(env, lpObject, NavFileOrFolderInfoFc.version, (jshort)lpStruct->version);
- (*env)->SetBooleanField(env, lpObject, NavFileOrFolderInfoFc.isFolder, (jboolean)lpStruct->isFolder);
- (*env)->SetBooleanField(env, lpObject, NavFileOrFolderInfoFc.visible, (jboolean)lpStruct->visible);
- (*env)->SetIntField(env, lpObject, NavFileOrFolderInfoFc.creationDate, (jint)lpStruct->creationDate);
- (*env)->SetIntField(env, lpObject, NavFileOrFolderInfoFc.modificationDate, (jint)lpStruct->modificationDate);
-}
-#endif
-
-#ifndef NO_NavMenuItemSpec
-typedef struct NavMenuItemSpec_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID version, menuCreator, menuType, menuItemName, reserved;
-} NavMenuItemSpec_FID_CACHE;
-
-NavMenuItemSpec_FID_CACHE NavMenuItemSpecFc;
-
-void cacheNavMenuItemSpecFields(JNIEnv *env, jobject lpObject)
-{
- if (NavMenuItemSpecFc.cached) return;
- NavMenuItemSpecFc.clazz = (*env)->GetObjectClass(env, lpObject);
- NavMenuItemSpecFc.version = (*env)->GetFieldID(env, NavMenuItemSpecFc.clazz, "version", "S");
- NavMenuItemSpecFc.menuCreator = (*env)->GetFieldID(env, NavMenuItemSpecFc.clazz, "menuCreator", "I");
- NavMenuItemSpecFc.menuType = (*env)->GetFieldID(env, NavMenuItemSpecFc.clazz, "menuType", "I");
- NavMenuItemSpecFc.menuItemName = (*env)->GetFieldID(env, NavMenuItemSpecFc.clazz, "menuItemName", "[B");
- NavMenuItemSpecFc.reserved = (*env)->GetFieldID(env, NavMenuItemSpecFc.clazz, "reserved", "[B");
- NavMenuItemSpecFc.cached = 1;
-}
-
-NavMenuItemSpec *getNavMenuItemSpecFields(JNIEnv *env, jobject lpObject, NavMenuItemSpec *lpStruct)
-{
- if (!NavMenuItemSpecFc.cached) cacheNavMenuItemSpecFields(env, lpObject);
- lpStruct->version = (*env)->GetShortField(env, lpObject, NavMenuItemSpecFc.version);
- lpStruct->menuCreator = (*env)->GetIntField(env, lpObject, NavMenuItemSpecFc.menuCreator);
- lpStruct->menuType = (*env)->GetIntField(env, lpObject, NavMenuItemSpecFc.menuType);
- {
- jbyteArray lpObject1 = (jbyteArray)(*env)->GetObjectField(env, lpObject, NavMenuItemSpecFc.menuItemName);
- (*env)->GetByteArrayRegion(env, lpObject1, 0, sizeof(lpStruct->menuItemName), (jbyte *)lpStruct->menuItemName);
- }
- {
- jbyteArray lpObject1 = (jbyteArray)(*env)->GetObjectField(env, lpObject, NavMenuItemSpecFc.reserved);
- (*env)->GetByteArrayRegion(env, lpObject1, 0, sizeof(lpStruct->reserved), (jbyte *)lpStruct->reserved);
- }
- return lpStruct;
-}
-
-void setNavMenuItemSpecFields(JNIEnv *env, jobject lpObject, NavMenuItemSpec *lpStruct)
-{
- if (!NavMenuItemSpecFc.cached) cacheNavMenuItemSpecFields(env, lpObject);
- (*env)->SetShortField(env, lpObject, NavMenuItemSpecFc.version, (jshort)lpStruct->version);
- (*env)->SetIntField(env, lpObject, NavMenuItemSpecFc.menuCreator, (jint)lpStruct->menuCreator);
- (*env)->SetIntField(env, lpObject, NavMenuItemSpecFc.menuType, (jint)lpStruct->menuType);
- {
- jbyteArray lpObject1 = (jbyteArray)(*env)->GetObjectField(env, lpObject, NavMenuItemSpecFc.menuItemName);
- (*env)->SetByteArrayRegion(env, lpObject1, 0, sizeof(lpStruct->menuItemName), (jbyte *)lpStruct->menuItemName);
- }
- {
- jbyteArray lpObject1 = (jbyteArray)(*env)->GetObjectField(env, lpObject, NavMenuItemSpecFc.reserved);
- (*env)->SetByteArrayRegion(env, lpObject1, 0, sizeof(lpStruct->reserved), (jbyte *)lpStruct->reserved);
- }
-}
-#endif
-
-#ifndef NO_NavReplyRecord
-typedef struct NavReplyRecord_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID version, validRecord, replacing, isStationery, translationNeeded, selection_descriptorType, selection_dataHandle, keyScript, fileTranslation, reserved1, saveFileName, saveFileExtensionHidden, reserved2, reserved;
-} NavReplyRecord_FID_CACHE;
-
-NavReplyRecord_FID_CACHE NavReplyRecordFc;
-
-void cacheNavReplyRecordFields(JNIEnv *env, jobject lpObject)
-{
- if (NavReplyRecordFc.cached) return;
- NavReplyRecordFc.clazz = (*env)->GetObjectClass(env, lpObject);
- NavReplyRecordFc.version = (*env)->GetFieldID(env, NavReplyRecordFc.clazz, "version", "S");
- NavReplyRecordFc.validRecord = (*env)->GetFieldID(env, NavReplyRecordFc.clazz, "validRecord", "Z");
- NavReplyRecordFc.replacing = (*env)->GetFieldID(env, NavReplyRecordFc.clazz, "replacing", "Z");
- NavReplyRecordFc.isStationery = (*env)->GetFieldID(env, NavReplyRecordFc.clazz, "isStationery", "Z");
- NavReplyRecordFc.translationNeeded = (*env)->GetFieldID(env, NavReplyRecordFc.clazz, "translationNeeded", "Z");
- NavReplyRecordFc.selection_descriptorType = (*env)->GetFieldID(env, NavReplyRecordFc.clazz, "selection_descriptorType", "I");
- NavReplyRecordFc.selection_dataHandle = (*env)->GetFieldID(env, NavReplyRecordFc.clazz, "selection_dataHandle", "I");
- NavReplyRecordFc.keyScript = (*env)->GetFieldID(env, NavReplyRecordFc.clazz, "keyScript", "S");
- NavReplyRecordFc.fileTranslation = (*env)->GetFieldID(env, NavReplyRecordFc.clazz, "fileTranslation", "I");
- NavReplyRecordFc.reserved1 = (*env)->GetFieldID(env, NavReplyRecordFc.clazz, "reserved1", "I");
- NavReplyRecordFc.saveFileName = (*env)->GetFieldID(env, NavReplyRecordFc.clazz, "saveFileName", "I");
- NavReplyRecordFc.saveFileExtensionHidden = (*env)->GetFieldID(env, NavReplyRecordFc.clazz, "saveFileExtensionHidden", "Z");
- NavReplyRecordFc.reserved2 = (*env)->GetFieldID(env, NavReplyRecordFc.clazz, "reserved2", "B");
- NavReplyRecordFc.reserved = (*env)->GetFieldID(env, NavReplyRecordFc.clazz, "reserved", "[B");
- NavReplyRecordFc.cached = 1;
-}
-
-NavReplyRecord *getNavReplyRecordFields(JNIEnv *env, jobject lpObject, NavReplyRecord *lpStruct)
-{
- if (!NavReplyRecordFc.cached) cacheNavReplyRecordFields(env, lpObject);
- lpStruct->version = (UInt16)(*env)->GetShortField(env, lpObject, NavReplyRecordFc.version);
- lpStruct->validRecord = (Boolean)(*env)->GetBooleanField(env, lpObject, NavReplyRecordFc.validRecord);
- lpStruct->replacing = (Boolean)(*env)->GetBooleanField(env, lpObject, NavReplyRecordFc.replacing);
- lpStruct->isStationery = (Boolean)(*env)->GetBooleanField(env, lpObject, NavReplyRecordFc.isStationery);
- lpStruct->translationNeeded = (Boolean)(*env)->GetBooleanField(env, lpObject, NavReplyRecordFc.translationNeeded);
- lpStruct->selection.descriptorType = (DescType)(*env)->GetIntField(env, lpObject, NavReplyRecordFc.selection_descriptorType);
- lpStruct->selection.dataHandle = (AEDataStorage)(*env)->GetIntField(env, lpObject, NavReplyRecordFc.selection_dataHandle);
- lpStruct->keyScript = (ScriptCode)(*env)->GetShortField(env, lpObject, NavReplyRecordFc.keyScript);
- lpStruct->fileTranslation = (FileTranslationSpecArrayHandle)(*env)->GetIntField(env, lpObject, NavReplyRecordFc.fileTranslation);
- lpStruct->reserved1 = (UInt32)(*env)->GetIntField(env, lpObject, NavReplyRecordFc.reserved1);
- lpStruct->saveFileName = (CFStringRef)(*env)->GetIntField(env, lpObject, NavReplyRecordFc.saveFileName);
- lpStruct->saveFileExtensionHidden = (Boolean)(*env)->GetBooleanField(env, lpObject, NavReplyRecordFc.saveFileExtensionHidden);
- lpStruct->reserved2 = (UInt8)(*env)->GetByteField(env, lpObject, NavReplyRecordFc.reserved2);
- {
- jbyteArray lpObject1 = (jbyteArray)(*env)->GetObjectField(env, lpObject, NavReplyRecordFc.reserved);
- (*env)->GetByteArrayRegion(env, lpObject1, 0, sizeof(lpStruct->reserved), (jbyte *)lpStruct->reserved);
- }
- return lpStruct;
-}
-
-void setNavReplyRecordFields(JNIEnv *env, jobject lpObject, NavReplyRecord *lpStruct)
-{
- if (!NavReplyRecordFc.cached) cacheNavReplyRecordFields(env, lpObject);
- (*env)->SetShortField(env, lpObject, NavReplyRecordFc.version, (jshort)lpStruct->version);
- (*env)->SetBooleanField(env, lpObject, NavReplyRecordFc.validRecord, (jboolean)lpStruct->validRecord);
- (*env)->SetBooleanField(env, lpObject, NavReplyRecordFc.replacing, (jboolean)lpStruct->replacing);
- (*env)->SetBooleanField(env, lpObject, NavReplyRecordFc.isStationery, (jboolean)lpStruct->isStationery);
- (*env)->SetBooleanField(env, lpObject, NavReplyRecordFc.translationNeeded, (jboolean)lpStruct->translationNeeded);
- (*env)->SetIntField(env, lpObject, NavReplyRecordFc.selection_descriptorType, (jint)lpStruct->selection.descriptorType);
- (*env)->SetIntField(env, lpObject, NavReplyRecordFc.selection_dataHandle, (jint)lpStruct->selection.dataHandle);
- (*env)->SetShortField(env, lpObject, NavReplyRecordFc.keyScript, (jshort)lpStruct->keyScript);
- (*env)->SetIntField(env, lpObject, NavReplyRecordFc.fileTranslation, (jint)lpStruct->fileTranslation);
- (*env)->SetIntField(env, lpObject, NavReplyRecordFc.reserved1, (jint)lpStruct->reserved1);
- (*env)->SetIntField(env, lpObject, NavReplyRecordFc.saveFileName, (jint)lpStruct->saveFileName);
- (*env)->SetBooleanField(env, lpObject, NavReplyRecordFc.saveFileExtensionHidden, (jboolean)lpStruct->saveFileExtensionHidden);
- (*env)->SetByteField(env, lpObject, NavReplyRecordFc.reserved2, (jbyte)lpStruct->reserved2);
- {
- jbyteArray lpObject1 = (jbyteArray)(*env)->GetObjectField(env, lpObject, NavReplyRecordFc.reserved);
- (*env)->SetByteArrayRegion(env, lpObject1, 0, sizeof(lpStruct->reserved), (jbyte *)lpStruct->reserved);
- }
-}
-#endif
-
-#ifndef NO_PMRect
-typedef struct PMRect_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID top, left, bottom, right;
-} PMRect_FID_CACHE;
-
-PMRect_FID_CACHE PMRectFc;
-
-void cachePMRectFields(JNIEnv *env, jobject lpObject)
-{
- if (PMRectFc.cached) return;
- PMRectFc.clazz = (*env)->GetObjectClass(env, lpObject);
- PMRectFc.top = (*env)->GetFieldID(env, PMRectFc.clazz, "top", "D");
- PMRectFc.left = (*env)->GetFieldID(env, PMRectFc.clazz, "left", "D");
- PMRectFc.bottom = (*env)->GetFieldID(env, PMRectFc.clazz, "bottom", "D");
- PMRectFc.right = (*env)->GetFieldID(env, PMRectFc.clazz, "right", "D");
- PMRectFc.cached = 1;
-}
-
-PMRect *getPMRectFields(JNIEnv *env, jobject lpObject, PMRect *lpStruct)
-{
- if (!PMRectFc.cached) cachePMRectFields(env, lpObject);
- lpStruct->top = (double)(*env)->GetDoubleField(env, lpObject, PMRectFc.top);
- lpStruct->left = (double)(*env)->GetDoubleField(env, lpObject, PMRectFc.left);
- lpStruct->bottom = (double)(*env)->GetDoubleField(env, lpObject, PMRectFc.bottom);
- lpStruct->right = (double)(*env)->GetDoubleField(env, lpObject, PMRectFc.right);
- return lpStruct;
-}
-
-void setPMRectFields(JNIEnv *env, jobject lpObject, PMRect *lpStruct)
-{
- if (!PMRectFc.cached) cachePMRectFields(env, lpObject);
- (*env)->SetDoubleField(env, lpObject, PMRectFc.top, (jdouble)lpStruct->top);
- (*env)->SetDoubleField(env, lpObject, PMRectFc.left, (jdouble)lpStruct->left);
- (*env)->SetDoubleField(env, lpObject, PMRectFc.bottom, (jdouble)lpStruct->bottom);
- (*env)->SetDoubleField(env, lpObject, PMRectFc.right, (jdouble)lpStruct->right);
-}
-#endif
-
-#ifndef NO_PMResolution
-typedef struct PMResolution_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID hRes, vRes;
-} PMResolution_FID_CACHE;
-
-PMResolution_FID_CACHE PMResolutionFc;
-
-void cachePMResolutionFields(JNIEnv *env, jobject lpObject)
-{
- if (PMResolutionFc.cached) return;
- PMResolutionFc.clazz = (*env)->GetObjectClass(env, lpObject);
- PMResolutionFc.hRes = (*env)->GetFieldID(env, PMResolutionFc.clazz, "hRes", "D");
- PMResolutionFc.vRes = (*env)->GetFieldID(env, PMResolutionFc.clazz, "vRes", "D");
- PMResolutionFc.cached = 1;
-}
-
-PMResolution *getPMResolutionFields(JNIEnv *env, jobject lpObject, PMResolution *lpStruct)
-{
- if (!PMResolutionFc.cached) cachePMResolutionFields(env, lpObject);
- lpStruct->hRes = (*env)->GetDoubleField(env, lpObject, PMResolutionFc.hRes);
- lpStruct->vRes = (*env)->GetDoubleField(env, lpObject, PMResolutionFc.vRes);
- return lpStruct;
-}
-
-void setPMResolutionFields(JNIEnv *env, jobject lpObject, PMResolution *lpStruct)
-{
- if (!PMResolutionFc.cached) cachePMResolutionFields(env, lpObject);
- (*env)->SetDoubleField(env, lpObject, PMResolutionFc.hRes, (jdouble)lpStruct->hRes);
- (*env)->SetDoubleField(env, lpObject, PMResolutionFc.vRes, (jdouble)lpStruct->vRes);
-}
-#endif
-
-#ifndef NO_PixMap
-typedef struct PixMap_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID pmVersion, packType, packSize, hRes, vRes, pixelType, pixelSize, cmpCount, cmpSize, pixelFormat, pmTable, pmExt;
-} PixMap_FID_CACHE;
-
-PixMap_FID_CACHE PixMapFc;
-
-void cachePixMapFields(JNIEnv *env, jobject lpObject)
-{
- if (PixMapFc.cached) return;
- cacheBitMapFields(env, lpObject);
- PixMapFc.clazz = (*env)->GetObjectClass(env, lpObject);
- PixMapFc.pmVersion = (*env)->GetFieldID(env, PixMapFc.clazz, "pmVersion", "S");
- PixMapFc.packType = (*env)->GetFieldID(env, PixMapFc.clazz, "packType", "S");
- PixMapFc.packSize = (*env)->GetFieldID(env, PixMapFc.clazz, "packSize", "I");
- PixMapFc.hRes = (*env)->GetFieldID(env, PixMapFc.clazz, "hRes", "I");
- PixMapFc.vRes = (*env)->GetFieldID(env, PixMapFc.clazz, "vRes", "I");
- PixMapFc.pixelType = (*env)->GetFieldID(env, PixMapFc.clazz, "pixelType", "S");
- PixMapFc.pixelSize = (*env)->GetFieldID(env, PixMapFc.clazz, "pixelSize", "S");
- PixMapFc.cmpCount = (*env)->GetFieldID(env, PixMapFc.clazz, "cmpCount", "S");
- PixMapFc.cmpSize = (*env)->GetFieldID(env, PixMapFc.clazz, "cmpSize", "S");
- PixMapFc.pixelFormat = (*env)->GetFieldID(env, PixMapFc.clazz, "pixelFormat", "I");
- PixMapFc.pmTable = (*env)->GetFieldID(env, PixMapFc.clazz, "pmTable", "I");
- PixMapFc.pmExt = (*env)->GetFieldID(env, PixMapFc.clazz, "pmExt", "I");
- PixMapFc.cached = 1;
-}
-
-PixMap *getPixMapFields(JNIEnv *env, jobject lpObject, PixMap *lpStruct)
-{
- if (!PixMapFc.cached) cachePixMapFields(env, lpObject);
- getBitMapFields(env, lpObject, (BitMap *)lpStruct);
- lpStruct->pmVersion = (*env)->GetShortField(env, lpObject, PixMapFc.pmVersion);
- lpStruct->packType = (*env)->GetShortField(env, lpObject, PixMapFc.packType);
- lpStruct->packSize = (*env)->GetIntField(env, lpObject, PixMapFc.packSize);
- lpStruct->hRes = (*env)->GetIntField(env, lpObject, PixMapFc.hRes);
- lpStruct->vRes = (*env)->GetIntField(env, lpObject, PixMapFc.vRes);
- lpStruct->pixelType = (*env)->GetShortField(env, lpObject, PixMapFc.pixelType);
- lpStruct->pixelSize = (*env)->GetShortField(env, lpObject, PixMapFc.pixelSize);
- lpStruct->cmpCount = (*env)->GetShortField(env, lpObject, PixMapFc.cmpCount);
- lpStruct->cmpSize = (*env)->GetShortField(env, lpObject, PixMapFc.cmpSize);
- lpStruct->pixelFormat = (*env)->GetIntField(env, lpObject, PixMapFc.pixelFormat);
- lpStruct->pmTable = (CTabHandle)(*env)->GetIntField(env, lpObject, PixMapFc.pmTable);
- lpStruct->pmExt = (void *)(*env)->GetIntField(env, lpObject, PixMapFc.pmExt);
- return lpStruct;
-}
-
-void setPixMapFields(JNIEnv *env, jobject lpObject, PixMap *lpStruct)
-{
- if (!PixMapFc.cached) cachePixMapFields(env, lpObject);
- setBitMapFields(env, lpObject, (BitMap *)lpStruct);
- (*env)->SetShortField(env, lpObject, PixMapFc.pmVersion, (jshort)lpStruct->pmVersion);
- (*env)->SetShortField(env, lpObject, PixMapFc.packType, (jshort)lpStruct->packType);
- (*env)->SetIntField(env, lpObject, PixMapFc.packSize, (jint)lpStruct->packSize);
- (*env)->SetIntField(env, lpObject, PixMapFc.hRes, (jint)lpStruct->hRes);
- (*env)->SetIntField(env, lpObject, PixMapFc.vRes, (jint)lpStruct->vRes);
- (*env)->SetShortField(env, lpObject, PixMapFc.pixelType, (jshort)lpStruct->pixelType);
- (*env)->SetShortField(env, lpObject, PixMapFc.pixelSize, (jshort)lpStruct->pixelSize);
- (*env)->SetShortField(env, lpObject, PixMapFc.cmpCount, (jshort)lpStruct->cmpCount);
- (*env)->SetShortField(env, lpObject, PixMapFc.cmpSize, (jshort)lpStruct->cmpSize);
- (*env)->SetIntField(env, lpObject, PixMapFc.pixelFormat, (jint)lpStruct->pixelFormat);
- (*env)->SetIntField(env, lpObject, PixMapFc.pmTable, (jint)lpStruct->pmTable);
- (*env)->SetIntField(env, lpObject, PixMapFc.pmExt, (jint)lpStruct->pmExt);
-}
-#endif
-
-#ifndef NO_Point
-typedef struct Point_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID v, h;
-} Point_FID_CACHE;
-
-Point_FID_CACHE PointFc;
-
-void cachePointFields(JNIEnv *env, jobject lpObject)
-{
- if (PointFc.cached) return;
- PointFc.clazz = (*env)->GetObjectClass(env, lpObject);
- PointFc.v = (*env)->GetFieldID(env, PointFc.clazz, "v", "S");
- PointFc.h = (*env)->GetFieldID(env, PointFc.clazz, "h", "S");
- PointFc.cached = 1;
-}
-
-Point *getPointFields(JNIEnv *env, jobject lpObject, Point *lpStruct)
-{
- if (!PointFc.cached) cachePointFields(env, lpObject);
- lpStruct->v = (*env)->GetShortField(env, lpObject, PointFc.v);
- lpStruct->h = (*env)->GetShortField(env, lpObject, PointFc.h);
- return lpStruct;
-}
-
-void setPointFields(JNIEnv *env, jobject lpObject, Point *lpStruct)
-{
- if (!PointFc.cached) cachePointFields(env, lpObject);
- (*env)->SetShortField(env, lpObject, PointFc.v, (jshort)lpStruct->v);
- (*env)->SetShortField(env, lpObject, PointFc.h, (jshort)lpStruct->h);
-}
-#endif
-
-#ifndef NO_ProgressTrackInfo
-typedef struct ProgressTrackInfo_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID phase;
-} ProgressTrackInfo_FID_CACHE;
-
-ProgressTrackInfo_FID_CACHE ProgressTrackInfoFc;
-
-void cacheProgressTrackInfoFields(JNIEnv *env, jobject lpObject)
-{
- if (ProgressTrackInfoFc.cached) return;
- ProgressTrackInfoFc.clazz = (*env)->GetObjectClass(env, lpObject);
- ProgressTrackInfoFc.phase = (*env)->GetFieldID(env, ProgressTrackInfoFc.clazz, "phase", "B");
- ProgressTrackInfoFc.cached = 1;
-}
-
-ProgressTrackInfo *getProgressTrackInfoFields(JNIEnv *env, jobject lpObject, ProgressTrackInfo *lpStruct)
-{
- if (!ProgressTrackInfoFc.cached) cacheProgressTrackInfoFields(env, lpObject);
- lpStruct->phase = (*env)->GetByteField(env, lpObject, ProgressTrackInfoFc.phase);
- return lpStruct;
-}
-
-void setProgressTrackInfoFields(JNIEnv *env, jobject lpObject, ProgressTrackInfo *lpStruct)
-{
- if (!ProgressTrackInfoFc.cached) cacheProgressTrackInfoFields(env, lpObject);
- (*env)->SetByteField(env, lpObject, ProgressTrackInfoFc.phase, (jbyte)lpStruct->phase);
-}
-#endif
-
-#ifndef NO_RGBColor
-typedef struct RGBColor_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID red, green, blue;
-} RGBColor_FID_CACHE;
-
-RGBColor_FID_CACHE RGBColorFc;
-
-void cacheRGBColorFields(JNIEnv *env, jobject lpObject)
-{
- if (RGBColorFc.cached) return;
- RGBColorFc.clazz = (*env)->GetObjectClass(env, lpObject);
- RGBColorFc.red = (*env)->GetFieldID(env, RGBColorFc.clazz, "red", "S");
- RGBColorFc.green = (*env)->GetFieldID(env, RGBColorFc.clazz, "green", "S");
- RGBColorFc.blue = (*env)->GetFieldID(env, RGBColorFc.clazz, "blue", "S");
- RGBColorFc.cached = 1;
-}
-
-RGBColor *getRGBColorFields(JNIEnv *env, jobject lpObject, RGBColor *lpStruct)
-{
- if (!RGBColorFc.cached) cacheRGBColorFields(env, lpObject);
- lpStruct->red = (*env)->GetShortField(env, lpObject, RGBColorFc.red);
- lpStruct->green = (*env)->GetShortField(env, lpObject, RGBColorFc.green);
- lpStruct->blue = (*env)->GetShortField(env, lpObject, RGBColorFc.blue);
- return lpStruct;
-}
-
-void setRGBColorFields(JNIEnv *env, jobject lpObject, RGBColor *lpStruct)
-{
- if (!RGBColorFc.cached) cacheRGBColorFields(env, lpObject);
- (*env)->SetShortField(env, lpObject, RGBColorFc.red, (jshort)lpStruct->red);
- (*env)->SetShortField(env, lpObject, RGBColorFc.green, (jshort)lpStruct->green);
- (*env)->SetShortField(env, lpObject, RGBColorFc.blue, (jshort)lpStruct->blue);
-}
-#endif
-
-#ifndef NO_Rect
-typedef struct Rect_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID top, left, bottom, right;
-} Rect_FID_CACHE;
-
-Rect_FID_CACHE RectFc;
-
-void cacheRectFields(JNIEnv *env, jobject lpObject)
-{
- if (RectFc.cached) return;
- RectFc.clazz = (*env)->GetObjectClass(env, lpObject);
- RectFc.top = (*env)->GetFieldID(env, RectFc.clazz, "top", "S");
- RectFc.left = (*env)->GetFieldID(env, RectFc.clazz, "left", "S");
- RectFc.bottom = (*env)->GetFieldID(env, RectFc.clazz, "bottom", "S");
- RectFc.right = (*env)->GetFieldID(env, RectFc.clazz, "right", "S");
- RectFc.cached = 1;
-}
-
-Rect *getRectFields(JNIEnv *env, jobject lpObject, Rect *lpStruct)
-{
- if (!RectFc.cached) cacheRectFields(env, lpObject);
- lpStruct->top = (*env)->GetShortField(env, lpObject, RectFc.top);
- lpStruct->left = (*env)->GetShortField(env, lpObject, RectFc.left);
- lpStruct->bottom = (*env)->GetShortField(env, lpObject, RectFc.bottom);
- lpStruct->right = (*env)->GetShortField(env, lpObject, RectFc.right);
- return lpStruct;
-}
-
-void setRectFields(JNIEnv *env, jobject lpObject, Rect *lpStruct)
-{
- if (!RectFc.cached) cacheRectFields(env, lpObject);
- (*env)->SetShortField(env, lpObject, RectFc.top, (jshort)lpStruct->top);
- (*env)->SetShortField(env, lpObject, RectFc.left, (jshort)lpStruct->left);
- (*env)->SetShortField(env, lpObject, RectFc.bottom, (jshort)lpStruct->bottom);
- (*env)->SetShortField(env, lpObject, RectFc.right, (jshort)lpStruct->right);
-}
-#endif
-
-#ifndef NO_ScrollBarTrackInfo
-typedef struct ScrollBarTrackInfo_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID viewsize, pressState;
-} ScrollBarTrackInfo_FID_CACHE;
-
-ScrollBarTrackInfo_FID_CACHE ScrollBarTrackInfoFc;
-
-void cacheScrollBarTrackInfoFields(JNIEnv *env, jobject lpObject)
-{
- if (ScrollBarTrackInfoFc.cached) return;
- ScrollBarTrackInfoFc.clazz = (*env)->GetObjectClass(env, lpObject);
- ScrollBarTrackInfoFc.viewsize = (*env)->GetFieldID(env, ScrollBarTrackInfoFc.clazz, "viewsize", "I");
- ScrollBarTrackInfoFc.pressState = (*env)->GetFieldID(env, ScrollBarTrackInfoFc.clazz, "pressState", "B");
- ScrollBarTrackInfoFc.cached = 1;
-}
-
-ScrollBarTrackInfo *getScrollBarTrackInfoFields(JNIEnv *env, jobject lpObject, ScrollBarTrackInfo *lpStruct)
-{
- if (!ScrollBarTrackInfoFc.cached) cacheScrollBarTrackInfoFields(env, lpObject);
- lpStruct->viewsize = (*env)->GetIntField(env, lpObject, ScrollBarTrackInfoFc.viewsize);
- lpStruct->pressState = (*env)->GetByteField(env, lpObject, ScrollBarTrackInfoFc.pressState);
- return lpStruct;
-}
-
-void setScrollBarTrackInfoFields(JNIEnv *env, jobject lpObject, ScrollBarTrackInfo *lpStruct)
-{
- if (!ScrollBarTrackInfoFc.cached) cacheScrollBarTrackInfoFields(env, lpObject);
- (*env)->SetIntField(env, lpObject, ScrollBarTrackInfoFc.viewsize, (jint)lpStruct->viewsize);
- (*env)->SetByteField(env, lpObject, ScrollBarTrackInfoFc.pressState, (jbyte)lpStruct->pressState);
-}
-#endif
-
-#ifndef NO_SliderTrackInfo
-typedef struct SliderTrackInfo_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID thumbDir, pressState;
-} SliderTrackInfo_FID_CACHE;
-
-SliderTrackInfo_FID_CACHE SliderTrackInfoFc;
-
-void cacheSliderTrackInfoFields(JNIEnv *env, jobject lpObject)
-{
- if (SliderTrackInfoFc.cached) return;
- SliderTrackInfoFc.clazz = (*env)->GetObjectClass(env, lpObject);
- SliderTrackInfoFc.thumbDir = (*env)->GetFieldID(env, SliderTrackInfoFc.clazz, "thumbDir", "B");
- SliderTrackInfoFc.pressState = (*env)->GetFieldID(env, SliderTrackInfoFc.clazz, "pressState", "B");
- SliderTrackInfoFc.cached = 1;
-}
-
-SliderTrackInfo *getSliderTrackInfoFields(JNIEnv *env, jobject lpObject, SliderTrackInfo *lpStruct)
-{
- if (!SliderTrackInfoFc.cached) cacheSliderTrackInfoFields(env, lpObject);
- lpStruct->thumbDir = (*env)->GetByteField(env, lpObject, SliderTrackInfoFc.thumbDir);
- lpStruct->pressState = (*env)->GetByteField(env, lpObject, SliderTrackInfoFc.pressState);
- return lpStruct;
-}
-
-void setSliderTrackInfoFields(JNIEnv *env, jobject lpObject, SliderTrackInfo *lpStruct)
-{
- if (!SliderTrackInfoFc.cached) cacheSliderTrackInfoFields(env, lpObject);
- (*env)->SetByteField(env, lpObject, SliderTrackInfoFc.thumbDir, (jbyte)lpStruct->thumbDir);
- (*env)->SetByteField(env, lpObject, SliderTrackInfoFc.pressState, (jbyte)lpStruct->pressState);
-}
-#endif
-
-#ifndef NO_TXNBackground
-typedef struct TXNBackground_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID bgType, bg_red, bg_green, bg_blue;
-} TXNBackground_FID_CACHE;
-
-TXNBackground_FID_CACHE TXNBackgroundFc;
-
-void cacheTXNBackgroundFields(JNIEnv *env, jobject lpObject)
-{
- if (TXNBackgroundFc.cached) return;
- TXNBackgroundFc.clazz = (*env)->GetObjectClass(env, lpObject);
- TXNBackgroundFc.bgType = (*env)->GetFieldID(env, TXNBackgroundFc.clazz, "bgType", "I");
- TXNBackgroundFc.bg_red = (*env)->GetFieldID(env, TXNBackgroundFc.clazz, "bg_red", "S");
- TXNBackgroundFc.bg_green = (*env)->GetFieldID(env, TXNBackgroundFc.clazz, "bg_green", "S");
- TXNBackgroundFc.bg_blue = (*env)->GetFieldID(env, TXNBackgroundFc.clazz, "bg_blue", "S");
- TXNBackgroundFc.cached = 1;
-}
-
-TXNBackground *getTXNBackgroundFields(JNIEnv *env, jobject lpObject, TXNBackground *lpStruct)
-{
- if (!TXNBackgroundFc.cached) cacheTXNBackgroundFields(env, lpObject);
- lpStruct->bgType = (*env)->GetIntField(env, lpObject, TXNBackgroundFc.bgType);
- lpStruct->bg.color.red = (*env)->GetShortField(env, lpObject, TXNBackgroundFc.bg_red);
- lpStruct->bg.color.green = (*env)->GetShortField(env, lpObject, TXNBackgroundFc.bg_green);
- lpStruct->bg.color.blue = (*env)->GetShortField(env, lpObject, TXNBackgroundFc.bg_blue);
- return lpStruct;
-}
-
-void setTXNBackgroundFields(JNIEnv *env, jobject lpObject, TXNBackground *lpStruct)
-{
- if (!TXNBackgroundFc.cached) cacheTXNBackgroundFields(env, lpObject);
- (*env)->SetIntField(env, lpObject, TXNBackgroundFc.bgType, (jint)lpStruct->bgType);
- (*env)->SetShortField(env, lpObject, TXNBackgroundFc.bg_red, (jshort)lpStruct->bg.color.red);
- (*env)->SetShortField(env, lpObject, TXNBackgroundFc.bg_green, (jshort)lpStruct->bg.color.green);
- (*env)->SetShortField(env, lpObject, TXNBackgroundFc.bg_blue, (jshort)lpStruct->bg.color.blue);
-}
-#endif
-
-#ifndef NO_TXNTab
-typedef struct TXNTab_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID value, tabType, filler;
-} TXNTab_FID_CACHE;
-
-TXNTab_FID_CACHE TXNTabFc;
-
-void cacheTXNTabFields(JNIEnv *env, jobject lpObject)
-{
- if (TXNTabFc.cached) return;
- TXNTabFc.clazz = (*env)->GetObjectClass(env, lpObject);
- TXNTabFc.value = (*env)->GetFieldID(env, TXNTabFc.clazz, "value", "S");
- TXNTabFc.tabType = (*env)->GetFieldID(env, TXNTabFc.clazz, "tabType", "B");
- TXNTabFc.filler = (*env)->GetFieldID(env, TXNTabFc.clazz, "filler", "B");
- TXNTabFc.cached = 1;
-}
-
-TXNTab *getTXNTabFields(JNIEnv *env, jobject lpObject, TXNTab *lpStruct)
-{
- if (!TXNTabFc.cached) cacheTXNTabFields(env, lpObject);
- lpStruct->value = (*env)->GetShortField(env, lpObject, TXNTabFc.value);
- lpStruct->tabType = (*env)->GetByteField(env, lpObject, TXNTabFc.tabType);
- lpStruct->filler = (*env)->GetByteField(env, lpObject, TXNTabFc.filler);
- return lpStruct;
-}
-
-void setTXNTabFields(JNIEnv *env, jobject lpObject, TXNTab *lpStruct)
-{
- if (!TXNTabFc.cached) cacheTXNTabFields(env, lpObject);
- (*env)->SetShortField(env, lpObject, TXNTabFc.value, (jshort)lpStruct->value);
- (*env)->SetByteField(env, lpObject, TXNTabFc.tabType, (jbyte)lpStruct->tabType);
- (*env)->SetByteField(env, lpObject, TXNTabFc.filler, (jbyte)lpStruct->filler);
-}
-#endif
-
-#ifndef NO_TextRange
-typedef struct TextRange_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID fStart, fEnd, fHiliteStyle;
-} TextRange_FID_CACHE;
-
-TextRange_FID_CACHE TextRangeFc;
-
-void cacheTextRangeFields(JNIEnv *env, jobject lpObject)
-{
- if (TextRangeFc.cached) return;
- TextRangeFc.clazz = (*env)->GetObjectClass(env, lpObject);
- TextRangeFc.fStart = (*env)->GetFieldID(env, TextRangeFc.clazz, "fStart", "I");
- TextRangeFc.fEnd = (*env)->GetFieldID(env, TextRangeFc.clazz, "fEnd", "I");
- TextRangeFc.fHiliteStyle = (*env)->GetFieldID(env, TextRangeFc.clazz, "fHiliteStyle", "S");
- TextRangeFc.cached = 1;
-}
-
-TextRange *getTextRangeFields(JNIEnv *env, jobject lpObject, TextRange *lpStruct)
-{
- if (!TextRangeFc.cached) cacheTextRangeFields(env, lpObject);
- lpStruct->fStart = (*env)->GetIntField(env, lpObject, TextRangeFc.fStart);
- lpStruct->fEnd = (*env)->GetIntField(env, lpObject, TextRangeFc.fEnd);
- lpStruct->fHiliteStyle = (*env)->GetShortField(env, lpObject, TextRangeFc.fHiliteStyle);
- return lpStruct;
-}
-
-void setTextRangeFields(JNIEnv *env, jobject lpObject, TextRange *lpStruct)
-{
- if (!TextRangeFc.cached) cacheTextRangeFields(env, lpObject);
- (*env)->SetIntField(env, lpObject, TextRangeFc.fStart, (jint)lpStruct->fStart);
- (*env)->SetIntField(env, lpObject, TextRangeFc.fEnd, (jint)lpStruct->fEnd);
- (*env)->SetShortField(env, lpObject, TextRangeFc.fHiliteStyle, (jshort)lpStruct->fHiliteStyle);
-}
-#endif
-
-#ifndef NO_ThemeButtonDrawInfo
-typedef struct ThemeButtonDrawInfo_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID state, value, adornment;
-} ThemeButtonDrawInfo_FID_CACHE;
-
-ThemeButtonDrawInfo_FID_CACHE ThemeButtonDrawInfoFc;
-
-void cacheThemeButtonDrawInfoFields(JNIEnv *env, jobject lpObject)
-{
- if (ThemeButtonDrawInfoFc.cached) return;
- ThemeButtonDrawInfoFc.clazz = (*env)->GetObjectClass(env, lpObject);
- ThemeButtonDrawInfoFc.state = (*env)->GetFieldID(env, ThemeButtonDrawInfoFc.clazz, "state", "I");
- ThemeButtonDrawInfoFc.value = (*env)->GetFieldID(env, ThemeButtonDrawInfoFc.clazz, "value", "S");
- ThemeButtonDrawInfoFc.adornment = (*env)->GetFieldID(env, ThemeButtonDrawInfoFc.clazz, "adornment", "S");
- ThemeButtonDrawInfoFc.cached = 1;
-}
-
-ThemeButtonDrawInfo *getThemeButtonDrawInfoFields(JNIEnv *env, jobject lpObject, ThemeButtonDrawInfo *lpStruct)
-{
- if (!ThemeButtonDrawInfoFc.cached) cacheThemeButtonDrawInfoFields(env, lpObject);
- lpStruct->state = (ThemeDrawState)(*env)->GetIntField(env, lpObject, ThemeButtonDrawInfoFc.state);
- lpStruct->value = (ThemeButtonValue)(*env)->GetShortField(env, lpObject, ThemeButtonDrawInfoFc.value);
- lpStruct->adornment = (ThemeButtonAdornment)(*env)->GetShortField(env, lpObject, ThemeButtonDrawInfoFc.adornment);
- return lpStruct;
-}
-
-void setThemeButtonDrawInfoFields(JNIEnv *env, jobject lpObject, ThemeButtonDrawInfo *lpStruct)
-{
- if (!ThemeButtonDrawInfoFc.cached) cacheThemeButtonDrawInfoFields(env, lpObject);
- (*env)->SetIntField(env, lpObject, ThemeButtonDrawInfoFc.state, (jint)lpStruct->state);
- (*env)->SetShortField(env, lpObject, ThemeButtonDrawInfoFc.value, (jshort)lpStruct->value);
- (*env)->SetShortField(env, lpObject, ThemeButtonDrawInfoFc.adornment, (jshort)lpStruct->adornment);
-}
-#endif
-
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os_structs.h b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os_structs.h
deleted file mode 100644
index 55bdfd6cae..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os_structs.h
+++ /dev/null
@@ -1,949 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2008 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-
-#include "os.h"
-
-#ifndef NO_AEDesc
-void cacheAEDescFields(JNIEnv *env, jobject lpObject);
-AEDesc *getAEDescFields(JNIEnv *env, jobject lpObject, AEDesc *lpStruct);
-void setAEDescFields(JNIEnv *env, jobject lpObject, AEDesc *lpStruct);
-#define AEDesc_sizeof() sizeof(AEDesc)
-#else
-#define cacheAEDescFields(a,b)
-#define getAEDescFields(a,b,c) NULL
-#define setAEDescFields(a,b,c)
-#define AEDesc_sizeof() 0
-#endif
-
-#ifndef NO_ATSFontMetrics
-void cacheATSFontMetricsFields(JNIEnv *env, jobject lpObject);
-ATSFontMetrics *getATSFontMetricsFields(JNIEnv *env, jobject lpObject, ATSFontMetrics *lpStruct);
-void setATSFontMetricsFields(JNIEnv *env, jobject lpObject, ATSFontMetrics *lpStruct);
-#define ATSFontMetrics_sizeof() sizeof(ATSFontMetrics)
-#else
-#define cacheATSFontMetricsFields(a,b)
-#define getATSFontMetricsFields(a,b,c) NULL
-#define setATSFontMetricsFields(a,b,c)
-#define ATSFontMetrics_sizeof() 0
-#endif
-
-#ifndef NO_ATSLayoutRecord
-void cacheATSLayoutRecordFields(JNIEnv *env, jobject lpObject);
-ATSLayoutRecord *getATSLayoutRecordFields(JNIEnv *env, jobject lpObject, ATSLayoutRecord *lpStruct);
-void setATSLayoutRecordFields(JNIEnv *env, jobject lpObject, ATSLayoutRecord *lpStruct);
-#define ATSLayoutRecord_sizeof() sizeof(ATSLayoutRecord)
-#else
-#define cacheATSLayoutRecordFields(a,b)
-#define getATSLayoutRecordFields(a,b,c) NULL
-#define setATSLayoutRecordFields(a,b,c)
-#define ATSLayoutRecord_sizeof() 0
-#endif
-
-#ifndef NO_ATSTrapezoid
-void cacheATSTrapezoidFields(JNIEnv *env, jobject lpObject);
-ATSTrapezoid *getATSTrapezoidFields(JNIEnv *env, jobject lpObject, ATSTrapezoid *lpStruct);
-void setATSTrapezoidFields(JNIEnv *env, jobject lpObject, ATSTrapezoid *lpStruct);
-#define ATSTrapezoid_sizeof() sizeof(ATSTrapezoid)
-#else
-#define cacheATSTrapezoidFields(a,b)
-#define getATSTrapezoidFields(a,b,c) NULL
-#define setATSTrapezoidFields(a,b,c)
-#define ATSTrapezoid_sizeof() 0
-#endif
-
-#ifndef NO_ATSUCaret
-void cacheATSUCaretFields(JNIEnv *env, jobject lpObject);
-ATSUCaret *getATSUCaretFields(JNIEnv *env, jobject lpObject, ATSUCaret *lpStruct);
-void setATSUCaretFields(JNIEnv *env, jobject lpObject, ATSUCaret *lpStruct);
-#define ATSUCaret_sizeof() sizeof(ATSUCaret)
-#else
-#define cacheATSUCaretFields(a,b)
-#define getATSUCaretFields(a,b,c) NULL
-#define setATSUCaretFields(a,b,c)
-#define ATSUCaret_sizeof() 0
-#endif
-
-#ifndef NO_ATSUTab
-void cacheATSUTabFields(JNIEnv *env, jobject lpObject);
-ATSUTab *getATSUTabFields(JNIEnv *env, jobject lpObject, ATSUTab *lpStruct);
-void setATSUTabFields(JNIEnv *env, jobject lpObject, ATSUTab *lpStruct);
-#define ATSUTab_sizeof() sizeof(ATSUTab)
-#else
-#define cacheATSUTabFields(a,b)
-#define getATSUTabFields(a,b,c) NULL
-#define setATSUTabFields(a,b,c)
-#define ATSUTab_sizeof() 0
-#endif
-
-#ifndef NO_ATSUUnhighlightData
-void cacheATSUUnhighlightDataFields(JNIEnv *env, jobject lpObject);
-ATSUUnhighlightData *getATSUUnhighlightDataFields(JNIEnv *env, jobject lpObject, ATSUUnhighlightData *lpStruct);
-void setATSUUnhighlightDataFields(JNIEnv *env, jobject lpObject, ATSUUnhighlightData *lpStruct);
-#define ATSUUnhighlightData_sizeof() sizeof(ATSUUnhighlightData)
-#else
-#define cacheATSUUnhighlightDataFields(a,b)
-#define getATSUUnhighlightDataFields(a,b,c) NULL
-#define setATSUUnhighlightDataFields(a,b,c)
-#define ATSUUnhighlightData_sizeof() 0
-#endif
-
-#ifndef NO_AlertStdCFStringAlertParamRec
-void cacheAlertStdCFStringAlertParamRecFields(JNIEnv *env, jobject lpObject);
-AlertStdCFStringAlertParamRec *getAlertStdCFStringAlertParamRecFields(JNIEnv *env, jobject lpObject, AlertStdCFStringAlertParamRec *lpStruct);
-void setAlertStdCFStringAlertParamRecFields(JNIEnv *env, jobject lpObject, AlertStdCFStringAlertParamRec *lpStruct);
-#define AlertStdCFStringAlertParamRec_sizeof() sizeof(AlertStdCFStringAlertParamRec)
-#else
-#define cacheAlertStdCFStringAlertParamRecFields(a,b)
-#define getAlertStdCFStringAlertParamRecFields(a,b,c) NULL
-#define setAlertStdCFStringAlertParamRecFields(a,b,c)
-#define AlertStdCFStringAlertParamRec_sizeof() 0
-#endif
-
-#ifndef NO_BitMap
-void cacheBitMapFields(JNIEnv *env, jobject lpObject);
-BitMap *getBitMapFields(JNIEnv *env, jobject lpObject, BitMap *lpStruct);
-void setBitMapFields(JNIEnv *env, jobject lpObject, BitMap *lpStruct);
-#define BitMap_sizeof() sizeof(BitMap)
-#else
-#define cacheBitMapFields(a,b)
-#define getBitMapFields(a,b,c) NULL
-#define setBitMapFields(a,b,c)
-#define BitMap_sizeof() 0
-#endif
-
-#ifndef NO_CFRange
-void cacheCFRangeFields(JNIEnv *env, jobject lpObject);
-CFRange *getCFRangeFields(JNIEnv *env, jobject lpObject, CFRange *lpStruct);
-void setCFRangeFields(JNIEnv *env, jobject lpObject, CFRange *lpStruct);
-#define CFRange_sizeof() sizeof(CFRange)
-#else
-#define cacheCFRangeFields(a,b)
-#define getCFRangeFields(a,b,c) NULL
-#define setCFRangeFields(a,b,c)
-#define CFRange_sizeof() 0
-#endif
-
-#ifndef NO_CFRunLoopSourceContext
-void cacheCFRunLoopSourceContextFields(JNIEnv *env, jobject lpObject);
-CFRunLoopSourceContext *getCFRunLoopSourceContextFields(JNIEnv *env, jobject lpObject, CFRunLoopSourceContext *lpStruct);
-void setCFRunLoopSourceContextFields(JNIEnv *env, jobject lpObject, CFRunLoopSourceContext *lpStruct);
-#define CFRunLoopSourceContext_sizeof() sizeof(CFRunLoopSourceContext)
-#else
-#define cacheCFRunLoopSourceContextFields(a,b)
-#define getCFRunLoopSourceContextFields(a,b,c) NULL
-#define setCFRunLoopSourceContextFields(a,b,c)
-#define CFRunLoopSourceContext_sizeof() 0
-#endif
-
-#ifndef NO_CGFunctionCallbacks
-void cacheCGFunctionCallbacksFields(JNIEnv *env, jobject lpObject);
-CGFunctionCallbacks *getCGFunctionCallbacksFields(JNIEnv *env, jobject lpObject, CGFunctionCallbacks *lpStruct);
-void setCGFunctionCallbacksFields(JNIEnv *env, jobject lpObject, CGFunctionCallbacks *lpStruct);
-#define CGFunctionCallbacks_sizeof() sizeof(CGFunctionCallbacks)
-#else
-#define cacheCGFunctionCallbacksFields(a,b)
-#define getCGFunctionCallbacksFields(a,b,c) NULL
-#define setCGFunctionCallbacksFields(a,b,c)
-#define CGFunctionCallbacks_sizeof() 0
-#endif
-
-#ifndef NO_CGPathElement
-void cacheCGPathElementFields(JNIEnv *env, jobject lpObject);
-CGPathElement *getCGPathElementFields(JNIEnv *env, jobject lpObject, CGPathElement *lpStruct);
-void setCGPathElementFields(JNIEnv *env, jobject lpObject, CGPathElement *lpStruct);
-#define CGPathElement_sizeof() sizeof(CGPathElement)
-#else
-#define cacheCGPathElementFields(a,b)
-#define getCGPathElementFields(a,b,c) NULL
-#define setCGPathElementFields(a,b,c)
-#define CGPathElement_sizeof() 0
-#endif
-
-#ifndef NO_CGPatternCallbacks
-void cacheCGPatternCallbacksFields(JNIEnv *env, jobject lpObject);
-CGPatternCallbacks *getCGPatternCallbacksFields(JNIEnv *env, jobject lpObject, CGPatternCallbacks *lpStruct);
-void setCGPatternCallbacksFields(JNIEnv *env, jobject lpObject, CGPatternCallbacks *lpStruct);
-#define CGPatternCallbacks_sizeof() sizeof(CGPatternCallbacks)
-#else
-#define cacheCGPatternCallbacksFields(a,b)
-#define getCGPatternCallbacksFields(a,b,c) NULL
-#define setCGPatternCallbacksFields(a,b,c)
-#define CGPatternCallbacks_sizeof() 0
-#endif
-
-#ifndef NO_CGPoint
-void cacheCGPointFields(JNIEnv *env, jobject lpObject);
-CGPoint *getCGPointFields(JNIEnv *env, jobject lpObject, CGPoint *lpStruct);
-void setCGPointFields(JNIEnv *env, jobject lpObject, CGPoint *lpStruct);
-#define CGPoint_sizeof() sizeof(CGPoint)
-#else
-#define cacheCGPointFields(a,b)
-#define getCGPointFields(a,b,c) NULL
-#define setCGPointFields(a,b,c)
-#define CGPoint_sizeof() 0
-#endif
-
-#ifndef NO_CGRect
-void cacheCGRectFields(JNIEnv *env, jobject lpObject);
-CGRect *getCGRectFields(JNIEnv *env, jobject lpObject, CGRect *lpStruct);
-void setCGRectFields(JNIEnv *env, jobject lpObject, CGRect *lpStruct);
-#define CGRect_sizeof() sizeof(CGRect)
-#else
-#define cacheCGRectFields(a,b)
-#define getCGRectFields(a,b,c) NULL
-#define setCGRectFields(a,b,c)
-#define CGRect_sizeof() 0
-#endif
-
-#ifndef NO_CGSize
-void cacheCGSizeFields(JNIEnv *env, jobject lpObject);
-CGSize *getCGSizeFields(JNIEnv *env, jobject lpObject, CGSize *lpStruct);
-void setCGSizeFields(JNIEnv *env, jobject lpObject, CGSize *lpStruct);
-#define CGSize_sizeof() sizeof(CGSize)
-#else
-#define cacheCGSizeFields(a,b)
-#define getCGSizeFields(a,b,c) NULL
-#define setCGSizeFields(a,b,c)
-#define CGSize_sizeof() 0
-#endif
-
-#ifndef NO_ColorPickerInfo
-void cacheColorPickerInfoFields(JNIEnv *env, jobject lpObject);
-ColorPickerInfo *getColorPickerInfoFields(JNIEnv *env, jobject lpObject, ColorPickerInfo *lpStruct);
-void setColorPickerInfoFields(JNIEnv *env, jobject lpObject, ColorPickerInfo *lpStruct);
-#define ColorPickerInfo_sizeof() sizeof(ColorPickerInfo)
-#else
-#define cacheColorPickerInfoFields(a,b)
-#define getColorPickerInfoFields(a,b,c) NULL
-#define setColorPickerInfoFields(a,b,c)
-#define ColorPickerInfo_sizeof() 0
-#endif
-
-#ifndef NO_ControlButtonContentInfo
-void cacheControlButtonContentInfoFields(JNIEnv *env, jobject lpObject);
-ControlButtonContentInfo *getControlButtonContentInfoFields(JNIEnv *env, jobject lpObject, ControlButtonContentInfo *lpStruct);
-void setControlButtonContentInfoFields(JNIEnv *env, jobject lpObject, ControlButtonContentInfo *lpStruct);
-#define ControlButtonContentInfo_sizeof() sizeof(ControlButtonContentInfo)
-#else
-#define cacheControlButtonContentInfoFields(a,b)
-#define getControlButtonContentInfoFields(a,b,c) NULL
-#define setControlButtonContentInfoFields(a,b,c)
-#define ControlButtonContentInfo_sizeof() 0
-#endif
-
-#ifndef NO_ControlEditTextSelectionRec
-void cacheControlEditTextSelectionRecFields(JNIEnv *env, jobject lpObject);
-ControlEditTextSelectionRec *getControlEditTextSelectionRecFields(JNIEnv *env, jobject lpObject, ControlEditTextSelectionRec *lpStruct);
-void setControlEditTextSelectionRecFields(JNIEnv *env, jobject lpObject, ControlEditTextSelectionRec *lpStruct);
-#define ControlEditTextSelectionRec_sizeof() sizeof(ControlEditTextSelectionRec)
-#else
-#define cacheControlEditTextSelectionRecFields(a,b)
-#define getControlEditTextSelectionRecFields(a,b,c) NULL
-#define setControlEditTextSelectionRecFields(a,b,c)
-#define ControlEditTextSelectionRec_sizeof() 0
-#endif
-
-#ifndef NO_ControlFontStyleRec
-void cacheControlFontStyleRecFields(JNIEnv *env, jobject lpObject);
-ControlFontStyleRec *getControlFontStyleRecFields(JNIEnv *env, jobject lpObject, ControlFontStyleRec *lpStruct);
-void setControlFontStyleRecFields(JNIEnv *env, jobject lpObject, ControlFontStyleRec *lpStruct);
-#define ControlFontStyleRec_sizeof() sizeof(ControlFontStyleRec)
-#else
-#define cacheControlFontStyleRecFields(a,b)
-#define getControlFontStyleRecFields(a,b,c) NULL
-#define setControlFontStyleRecFields(a,b,c)
-#define ControlFontStyleRec_sizeof() 0
-#endif
-
-#ifndef NO_ControlKind
-void cacheControlKindFields(JNIEnv *env, jobject lpObject);
-ControlKind *getControlKindFields(JNIEnv *env, jobject lpObject, ControlKind *lpStruct);
-void setControlKindFields(JNIEnv *env, jobject lpObject, ControlKind *lpStruct);
-#define ControlKind_sizeof() sizeof(ControlKind)
-#else
-#define cacheControlKindFields(a,b)
-#define getControlKindFields(a,b,c) NULL
-#define setControlKindFields(a,b,c)
-#define ControlKind_sizeof() 0
-#endif
-
-#ifndef NO_ControlTabEntry
-void cacheControlTabEntryFields(JNIEnv *env, jobject lpObject);
-ControlTabEntry *getControlTabEntryFields(JNIEnv *env, jobject lpObject, ControlTabEntry *lpStruct);
-void setControlTabEntryFields(JNIEnv *env, jobject lpObject, ControlTabEntry *lpStruct);
-#define ControlTabEntry_sizeof() sizeof(ControlTabEntry)
-#else
-#define cacheControlTabEntryFields(a,b)
-#define getControlTabEntryFields(a,b,c) NULL
-#define setControlTabEntryFields(a,b,c)
-#define ControlTabEntry_sizeof() 0
-#endif
-
-#ifndef NO_ControlTabInfoRecV1
-void cacheControlTabInfoRecV1Fields(JNIEnv *env, jobject lpObject);
-ControlTabInfoRecV1 *getControlTabInfoRecV1Fields(JNIEnv *env, jobject lpObject, ControlTabInfoRecV1 *lpStruct);
-void setControlTabInfoRecV1Fields(JNIEnv *env, jobject lpObject, ControlTabInfoRecV1 *lpStruct);
-#define ControlTabInfoRecV1_sizeof() sizeof(ControlTabInfoRecV1)
-#else
-#define cacheControlTabInfoRecV1Fields(a,b)
-#define getControlTabInfoRecV1Fields(a,b,c) NULL
-#define setControlTabInfoRecV1Fields(a,b,c)
-#define ControlTabInfoRecV1_sizeof() 0
-#endif
-
-#ifndef NO_Cursor
-void cacheCursorFields(JNIEnv *env, jobject lpObject);
-Cursor *getCursorFields(JNIEnv *env, jobject lpObject, Cursor *lpStruct);
-void setCursorFields(JNIEnv *env, jobject lpObject, Cursor *lpStruct);
-#define Cursor_sizeof() sizeof(Cursor)
-#else
-#define cacheCursorFields(a,b)
-#define getCursorFields(a,b,c) NULL
-#define setCursorFields(a,b,c)
-#define Cursor_sizeof() 0
-#endif
-
-#ifndef NO_DataBrowserAccessibilityItemInfo
-void cacheDataBrowserAccessibilityItemInfoFields(JNIEnv *env, jobject lpObject);
-DataBrowserAccessibilityItemInfo *getDataBrowserAccessibilityItemInfoFields(JNIEnv *env, jobject lpObject, DataBrowserAccessibilityItemInfo *lpStruct);
-void setDataBrowserAccessibilityItemInfoFields(JNIEnv *env, jobject lpObject, DataBrowserAccessibilityItemInfo *lpStruct);
-#define DataBrowserAccessibilityItemInfo_sizeof() sizeof(DataBrowserAccessibilityItemInfo)
-#else
-#define cacheDataBrowserAccessibilityItemInfoFields(a,b)
-#define getDataBrowserAccessibilityItemInfoFields(a,b,c) NULL
-#define setDataBrowserAccessibilityItemInfoFields(a,b,c)
-#define DataBrowserAccessibilityItemInfo_sizeof() 0
-#endif
-
-#ifndef NO_DataBrowserCallbacks
-void cacheDataBrowserCallbacksFields(JNIEnv *env, jobject lpObject);
-DataBrowserCallbacks *getDataBrowserCallbacksFields(JNIEnv *env, jobject lpObject, DataBrowserCallbacks *lpStruct);
-void setDataBrowserCallbacksFields(JNIEnv *env, jobject lpObject, DataBrowserCallbacks *lpStruct);
-#define DataBrowserCallbacks_sizeof() sizeof(DataBrowserCallbacks)
-#else
-#define cacheDataBrowserCallbacksFields(a,b)
-#define getDataBrowserCallbacksFields(a,b,c) NULL
-#define setDataBrowserCallbacksFields(a,b,c)
-#define DataBrowserCallbacks_sizeof() 0
-#endif
-
-#ifndef NO_DataBrowserCustomCallbacks
-void cacheDataBrowserCustomCallbacksFields(JNIEnv *env, jobject lpObject);
-DataBrowserCustomCallbacks *getDataBrowserCustomCallbacksFields(JNIEnv *env, jobject lpObject, DataBrowserCustomCallbacks *lpStruct);
-void setDataBrowserCustomCallbacksFields(JNIEnv *env, jobject lpObject, DataBrowserCustomCallbacks *lpStruct);
-#define DataBrowserCustomCallbacks_sizeof() sizeof(DataBrowserCustomCallbacks)
-#else
-#define cacheDataBrowserCustomCallbacksFields(a,b)
-#define getDataBrowserCustomCallbacksFields(a,b,c) NULL
-#define setDataBrowserCustomCallbacksFields(a,b,c)
-#define DataBrowserCustomCallbacks_sizeof() 0
-#endif
-
-#ifndef NO_DataBrowserListViewColumnDesc
-void cacheDataBrowserListViewColumnDescFields(JNIEnv *env, jobject lpObject);
-DataBrowserListViewColumnDesc *getDataBrowserListViewColumnDescFields(JNIEnv *env, jobject lpObject, DataBrowserListViewColumnDesc *lpStruct);
-void setDataBrowserListViewColumnDescFields(JNIEnv *env, jobject lpObject, DataBrowserListViewColumnDesc *lpStruct);
-#define DataBrowserListViewColumnDesc_sizeof() sizeof(DataBrowserListViewColumnDesc)
-#else
-#define cacheDataBrowserListViewColumnDescFields(a,b)
-#define getDataBrowserListViewColumnDescFields(a,b,c) NULL
-#define setDataBrowserListViewColumnDescFields(a,b,c)
-#define DataBrowserListViewColumnDesc_sizeof() 0
-#endif
-
-#ifndef NO_DataBrowserListViewHeaderDesc
-void cacheDataBrowserListViewHeaderDescFields(JNIEnv *env, jobject lpObject);
-DataBrowserListViewHeaderDesc *getDataBrowserListViewHeaderDescFields(JNIEnv *env, jobject lpObject, DataBrowserListViewHeaderDesc *lpStruct);
-void setDataBrowserListViewHeaderDescFields(JNIEnv *env, jobject lpObject, DataBrowserListViewHeaderDesc *lpStruct);
-#define DataBrowserListViewHeaderDesc_sizeof() sizeof(DataBrowserListViewHeaderDesc)
-#else
-#define cacheDataBrowserListViewHeaderDescFields(a,b)
-#define getDataBrowserListViewHeaderDescFields(a,b,c) NULL
-#define setDataBrowserListViewHeaderDescFields(a,b,c)
-#define DataBrowserListViewHeaderDesc_sizeof() 0
-#endif
-
-#ifndef NO_EventRecord
-void cacheEventRecordFields(JNIEnv *env, jobject lpObject);
-EventRecord *getEventRecordFields(JNIEnv *env, jobject lpObject, EventRecord *lpStruct);
-void setEventRecordFields(JNIEnv *env, jobject lpObject, EventRecord *lpStruct);
-#define EventRecord_sizeof() sizeof(EventRecord)
-#else
-#define cacheEventRecordFields(a,b)
-#define getEventRecordFields(a,b,c) NULL
-#define setEventRecordFields(a,b,c)
-#define EventRecord_sizeof() 0
-#endif
-
-#ifndef NO_GDevice
-void cacheGDeviceFields(JNIEnv *env, jobject lpObject);
-GDevice *getGDeviceFields(JNIEnv *env, jobject lpObject, GDevice *lpStruct);
-void setGDeviceFields(JNIEnv *env, jobject lpObject, GDevice *lpStruct);
-#define GDevice_sizeof() sizeof(GDevice)
-#else
-#define cacheGDeviceFields(a,b)
-#define getGDeviceFields(a,b,c) NULL
-#define setGDeviceFields(a,b,c)
-#define GDevice_sizeof() 0
-#endif
-
-#ifndef NO_HIAxisPosition
-void cacheHIAxisPositionFields(JNIEnv *env, jobject lpObject);
-HIAxisPosition *getHIAxisPositionFields(JNIEnv *env, jobject lpObject, HIAxisPosition *lpStruct);
-void setHIAxisPositionFields(JNIEnv *env, jobject lpObject, HIAxisPosition *lpStruct);
-#define HIAxisPosition_sizeof() sizeof(HIAxisPosition)
-#else
-#define cacheHIAxisPositionFields(a,b)
-#define getHIAxisPositionFields(a,b,c) NULL
-#define setHIAxisPositionFields(a,b,c)
-#define HIAxisPosition_sizeof() 0
-#endif
-
-#ifndef NO_HIAxisScale
-void cacheHIAxisScaleFields(JNIEnv *env, jobject lpObject);
-HIAxisScale *getHIAxisScaleFields(JNIEnv *env, jobject lpObject, HIAxisScale *lpStruct);
-void setHIAxisScaleFields(JNIEnv *env, jobject lpObject, HIAxisScale *lpStruct);
-#define HIAxisScale_sizeof() sizeof(HIAxisScale)
-#else
-#define cacheHIAxisScaleFields(a,b)
-#define getHIAxisScaleFields(a,b,c) NULL
-#define setHIAxisScaleFields(a,b,c)
-#define HIAxisScale_sizeof() 0
-#endif
-
-#ifndef NO_HIBinding
-void cacheHIBindingFields(JNIEnv *env, jobject lpObject);
-HIBinding *getHIBindingFields(JNIEnv *env, jobject lpObject, HIBinding *lpStruct);
-void setHIBindingFields(JNIEnv *env, jobject lpObject, HIBinding *lpStruct);
-#define HIBinding_sizeof() sizeof(HIBinding)
-#else
-#define cacheHIBindingFields(a,b)
-#define getHIBindingFields(a,b,c) NULL
-#define setHIBindingFields(a,b,c)
-#define HIBinding_sizeof() 0
-#endif
-
-#ifndef NO_HICommand
-void cacheHICommandFields(JNIEnv *env, jobject lpObject);
-HICommand *getHICommandFields(JNIEnv *env, jobject lpObject, HICommand *lpStruct);
-void setHICommandFields(JNIEnv *env, jobject lpObject, HICommand *lpStruct);
-#define HICommand_sizeof() sizeof(HICommand)
-#else
-#define cacheHICommandFields(a,b)
-#define getHICommandFields(a,b,c) NULL
-#define setHICommandFields(a,b,c)
-#define HICommand_sizeof() 0
-#endif
-
-#ifndef NO_HILayoutInfo
-void cacheHILayoutInfoFields(JNIEnv *env, jobject lpObject);
-HILayoutInfo *getHILayoutInfoFields(JNIEnv *env, jobject lpObject, HILayoutInfo *lpStruct);
-void setHILayoutInfoFields(JNIEnv *env, jobject lpObject, HILayoutInfo *lpStruct);
-#define HILayoutInfo_sizeof() sizeof(HILayoutInfo)
-#else
-#define cacheHILayoutInfoFields(a,b)
-#define getHILayoutInfoFields(a,b,c) NULL
-#define setHILayoutInfoFields(a,b,c)
-#define HILayoutInfo_sizeof() 0
-#endif
-
-#ifndef NO_HIPositioning
-void cacheHIPositioningFields(JNIEnv *env, jobject lpObject);
-HIPositioning *getHIPositioningFields(JNIEnv *env, jobject lpObject, HIPositioning *lpStruct);
-void setHIPositioningFields(JNIEnv *env, jobject lpObject, HIPositioning *lpStruct);
-#define HIPositioning_sizeof() sizeof(HIPositioning)
-#else
-#define cacheHIPositioningFields(a,b)
-#define getHIPositioningFields(a,b,c) NULL
-#define setHIPositioningFields(a,b,c)
-#define HIPositioning_sizeof() 0
-#endif
-
-#ifndef NO_HIScaling
-void cacheHIScalingFields(JNIEnv *env, jobject lpObject);
-HIScaling *getHIScalingFields(JNIEnv *env, jobject lpObject, HIScaling *lpStruct);
-void setHIScalingFields(JNIEnv *env, jobject lpObject, HIScaling *lpStruct);
-#define HIScaling_sizeof() sizeof(HIScaling)
-#else
-#define cacheHIScalingFields(a,b)
-#define getHIScalingFields(a,b,c) NULL
-#define setHIScalingFields(a,b,c)
-#define HIScaling_sizeof() 0
-#endif
-
-#ifndef NO_HIScrollBarTrackInfo
-void cacheHIScrollBarTrackInfoFields(JNIEnv *env, jobject lpObject);
-HIScrollBarTrackInfo *getHIScrollBarTrackInfoFields(JNIEnv *env, jobject lpObject, HIScrollBarTrackInfo *lpStruct);
-void setHIScrollBarTrackInfoFields(JNIEnv *env, jobject lpObject, HIScrollBarTrackInfo *lpStruct);
-#define HIScrollBarTrackInfo_sizeof() sizeof(HIScrollBarTrackInfo)
-#else
-#define cacheHIScrollBarTrackInfoFields(a,b)
-#define getHIScrollBarTrackInfoFields(a,b,c) NULL
-#define setHIScrollBarTrackInfoFields(a,b,c)
-#define HIScrollBarTrackInfo_sizeof() 0
-#endif
-
-#ifndef NO_HISideBinding
-void cacheHISideBindingFields(JNIEnv *env, jobject lpObject);
-HISideBinding *getHISideBindingFields(JNIEnv *env, jobject lpObject, HISideBinding *lpStruct);
-void setHISideBindingFields(JNIEnv *env, jobject lpObject, HISideBinding *lpStruct);
-#define HISideBinding_sizeof() sizeof(HISideBinding)
-#else
-#define cacheHISideBindingFields(a,b)
-#define getHISideBindingFields(a,b,c) NULL
-#define setHISideBindingFields(a,b,c)
-#define HISideBinding_sizeof() 0
-#endif
-
-#ifndef NO_HIThemeAnimationFrameInfo
-void cacheHIThemeAnimationFrameInfoFields(JNIEnv *env, jobject lpObject);
-HIThemeAnimationFrameInfo *getHIThemeAnimationFrameInfoFields(JNIEnv *env, jobject lpObject, HIThemeAnimationFrameInfo *lpStruct);
-void setHIThemeAnimationFrameInfoFields(JNIEnv *env, jobject lpObject, HIThemeAnimationFrameInfo *lpStruct);
-#define HIThemeAnimationFrameInfo_sizeof() sizeof(HIThemeAnimationFrameInfo)
-#else
-#define cacheHIThemeAnimationFrameInfoFields(a,b)
-#define getHIThemeAnimationFrameInfoFields(a,b,c) NULL
-#define setHIThemeAnimationFrameInfoFields(a,b,c)
-#define HIThemeAnimationFrameInfo_sizeof() 0
-#endif
-
-#ifndef NO_HIThemeAnimationTimeInfo
-void cacheHIThemeAnimationTimeInfoFields(JNIEnv *env, jobject lpObject);
-HIThemeAnimationTimeInfo *getHIThemeAnimationTimeInfoFields(JNIEnv *env, jobject lpObject, HIThemeAnimationTimeInfo *lpStruct);
-void setHIThemeAnimationTimeInfoFields(JNIEnv *env, jobject lpObject, HIThemeAnimationTimeInfo *lpStruct);
-#define HIThemeAnimationTimeInfo_sizeof() sizeof(HIThemeAnimationTimeInfo)
-#else
-#define cacheHIThemeAnimationTimeInfoFields(a,b)
-#define getHIThemeAnimationTimeInfoFields(a,b,c) NULL
-#define setHIThemeAnimationTimeInfoFields(a,b,c)
-#define HIThemeAnimationTimeInfo_sizeof() 0
-#endif
-
-#ifndef NO_HIThemeBackgroundDrawInfo
-void cacheHIThemeBackgroundDrawInfoFields(JNIEnv *env, jobject lpObject);
-HIThemeBackgroundDrawInfo *getHIThemeBackgroundDrawInfoFields(JNIEnv *env, jobject lpObject, HIThemeBackgroundDrawInfo *lpStruct);
-void setHIThemeBackgroundDrawInfoFields(JNIEnv *env, jobject lpObject, HIThemeBackgroundDrawInfo *lpStruct);
-#define HIThemeBackgroundDrawInfo_sizeof() sizeof(HIThemeBackgroundDrawInfo)
-#else
-#define cacheHIThemeBackgroundDrawInfoFields(a,b)
-#define getHIThemeBackgroundDrawInfoFields(a,b,c) NULL
-#define setHIThemeBackgroundDrawInfoFields(a,b,c)
-#define HIThemeBackgroundDrawInfo_sizeof() 0
-#endif
-
-#ifndef NO_HIThemeButtonDrawInfo
-void cacheHIThemeButtonDrawInfoFields(JNIEnv *env, jobject lpObject);
-HIThemeButtonDrawInfo *getHIThemeButtonDrawInfoFields(JNIEnv *env, jobject lpObject, HIThemeButtonDrawInfo *lpStruct);
-void setHIThemeButtonDrawInfoFields(JNIEnv *env, jobject lpObject, HIThemeButtonDrawInfo *lpStruct);
-#define HIThemeButtonDrawInfo_sizeof() sizeof(HIThemeButtonDrawInfo)
-#else
-#define cacheHIThemeButtonDrawInfoFields(a,b)
-#define getHIThemeButtonDrawInfoFields(a,b,c) NULL
-#define setHIThemeButtonDrawInfoFields(a,b,c)
-#define HIThemeButtonDrawInfo_sizeof() 0
-#endif
-
-#ifndef NO_HIThemeFrameDrawInfo
-void cacheHIThemeFrameDrawInfoFields(JNIEnv *env, jobject lpObject);
-HIThemeFrameDrawInfo *getHIThemeFrameDrawInfoFields(JNIEnv *env, jobject lpObject, HIThemeFrameDrawInfo *lpStruct);
-void setHIThemeFrameDrawInfoFields(JNIEnv *env, jobject lpObject, HIThemeFrameDrawInfo *lpStruct);
-#define HIThemeFrameDrawInfo_sizeof() sizeof(HIThemeFrameDrawInfo)
-#else
-#define cacheHIThemeFrameDrawInfoFields(a,b)
-#define getHIThemeFrameDrawInfoFields(a,b,c) NULL
-#define setHIThemeFrameDrawInfoFields(a,b,c)
-#define HIThemeFrameDrawInfo_sizeof() 0
-#endif
-
-#ifndef NO_HIThemeGroupBoxDrawInfo
-void cacheHIThemeGroupBoxDrawInfoFields(JNIEnv *env, jobject lpObject);
-HIThemeGroupBoxDrawInfo *getHIThemeGroupBoxDrawInfoFields(JNIEnv *env, jobject lpObject, HIThemeGroupBoxDrawInfo *lpStruct);
-void setHIThemeGroupBoxDrawInfoFields(JNIEnv *env, jobject lpObject, HIThemeGroupBoxDrawInfo *lpStruct);
-#define HIThemeGroupBoxDrawInfo_sizeof() sizeof(HIThemeGroupBoxDrawInfo)
-#else
-#define cacheHIThemeGroupBoxDrawInfoFields(a,b)
-#define getHIThemeGroupBoxDrawInfoFields(a,b,c) NULL
-#define setHIThemeGroupBoxDrawInfoFields(a,b,c)
-#define HIThemeGroupBoxDrawInfo_sizeof() 0
-#endif
-
-#ifndef NO_HIThemeGrowBoxDrawInfo
-void cacheHIThemeGrowBoxDrawInfoFields(JNIEnv *env, jobject lpObject);
-HIThemeGrowBoxDrawInfo *getHIThemeGrowBoxDrawInfoFields(JNIEnv *env, jobject lpObject, HIThemeGrowBoxDrawInfo *lpStruct);
-void setHIThemeGrowBoxDrawInfoFields(JNIEnv *env, jobject lpObject, HIThemeGrowBoxDrawInfo *lpStruct);
-#define HIThemeGrowBoxDrawInfo_sizeof() sizeof(HIThemeGrowBoxDrawInfo)
-#else
-#define cacheHIThemeGrowBoxDrawInfoFields(a,b)
-#define getHIThemeGrowBoxDrawInfoFields(a,b,c) NULL
-#define setHIThemeGrowBoxDrawInfoFields(a,b,c)
-#define HIThemeGrowBoxDrawInfo_sizeof() 0
-#endif
-
-#ifndef NO_HIThemePopupArrowDrawInfo
-void cacheHIThemePopupArrowDrawInfoFields(JNIEnv *env, jobject lpObject);
-HIThemePopupArrowDrawInfo *getHIThemePopupArrowDrawInfoFields(JNIEnv *env, jobject lpObject, HIThemePopupArrowDrawInfo *lpStruct);
-void setHIThemePopupArrowDrawInfoFields(JNIEnv *env, jobject lpObject, HIThemePopupArrowDrawInfo *lpStruct);
-#define HIThemePopupArrowDrawInfo_sizeof() sizeof(HIThemePopupArrowDrawInfo)
-#else
-#define cacheHIThemePopupArrowDrawInfoFields(a,b)
-#define getHIThemePopupArrowDrawInfoFields(a,b,c) NULL
-#define setHIThemePopupArrowDrawInfoFields(a,b,c)
-#define HIThemePopupArrowDrawInfo_sizeof() 0
-#endif
-
-#ifndef NO_HIThemeSeparatorDrawInfo
-void cacheHIThemeSeparatorDrawInfoFields(JNIEnv *env, jobject lpObject);
-HIThemeSeparatorDrawInfo *getHIThemeSeparatorDrawInfoFields(JNIEnv *env, jobject lpObject, HIThemeSeparatorDrawInfo *lpStruct);
-void setHIThemeSeparatorDrawInfoFields(JNIEnv *env, jobject lpObject, HIThemeSeparatorDrawInfo *lpStruct);
-#define HIThemeSeparatorDrawInfo_sizeof() sizeof(HIThemeSeparatorDrawInfo)
-#else
-#define cacheHIThemeSeparatorDrawInfoFields(a,b)
-#define getHIThemeSeparatorDrawInfoFields(a,b,c) NULL
-#define setHIThemeSeparatorDrawInfoFields(a,b,c)
-#define HIThemeSeparatorDrawInfo_sizeof() 0
-#endif
-
-#ifndef NO_HIThemeTabDrawInfo
-void cacheHIThemeTabDrawInfoFields(JNIEnv *env, jobject lpObject);
-HIThemeTabDrawInfo *getHIThemeTabDrawInfoFields(JNIEnv *env, jobject lpObject, HIThemeTabDrawInfo *lpStruct);
-void setHIThemeTabDrawInfoFields(JNIEnv *env, jobject lpObject, HIThemeTabDrawInfo *lpStruct);
-#define HIThemeTabDrawInfo_sizeof() sizeof(HIThemeTabDrawInfo)
-#else
-#define cacheHIThemeTabDrawInfoFields(a,b)
-#define getHIThemeTabDrawInfoFields(a,b,c) NULL
-#define setHIThemeTabDrawInfoFields(a,b,c)
-#define HIThemeTabDrawInfo_sizeof() 0
-#endif
-
-#ifndef NO_HIThemeTabPaneDrawInfo
-void cacheHIThemeTabPaneDrawInfoFields(JNIEnv *env, jobject lpObject);
-HIThemeTabPaneDrawInfo *getHIThemeTabPaneDrawInfoFields(JNIEnv *env, jobject lpObject, HIThemeTabPaneDrawInfo *lpStruct);
-void setHIThemeTabPaneDrawInfoFields(JNIEnv *env, jobject lpObject, HIThemeTabPaneDrawInfo *lpStruct);
-#define HIThemeTabPaneDrawInfo_sizeof() sizeof(HIThemeTabPaneDrawInfo)
-#else
-#define cacheHIThemeTabPaneDrawInfoFields(a,b)
-#define getHIThemeTabPaneDrawInfoFields(a,b,c) NULL
-#define setHIThemeTabPaneDrawInfoFields(a,b,c)
-#define HIThemeTabPaneDrawInfo_sizeof() 0
-#endif
-
-#ifndef NO_HIThemeTextInfo
-void cacheHIThemeTextInfoFields(JNIEnv *env, jobject lpObject);
-HIThemeTextInfo *getHIThemeTextInfoFields(JNIEnv *env, jobject lpObject, HIThemeTextInfo *lpStruct);
-void setHIThemeTextInfoFields(JNIEnv *env, jobject lpObject, HIThemeTextInfo *lpStruct);
-#define HIThemeTextInfo_sizeof() sizeof(HIThemeTextInfo)
-#else
-#define cacheHIThemeTextInfoFields(a,b)
-#define getHIThemeTextInfoFields(a,b,c) NULL
-#define setHIThemeTextInfoFields(a,b,c)
-#define HIThemeTextInfo_sizeof() 0
-#endif
-
-#ifndef NO_HIThemeTrackDrawInfo
-void cacheHIThemeTrackDrawInfoFields(JNIEnv *env, jobject lpObject);
-HIThemeTrackDrawInfo *getHIThemeTrackDrawInfoFields(JNIEnv *env, jobject lpObject, HIThemeTrackDrawInfo *lpStruct);
-void setHIThemeTrackDrawInfoFields(JNIEnv *env, jobject lpObject, HIThemeTrackDrawInfo *lpStruct);
-#define HIThemeTrackDrawInfo_sizeof() sizeof(HIThemeTrackDrawInfo)
-#else
-#define cacheHIThemeTrackDrawInfoFields(a,b)
-#define getHIThemeTrackDrawInfoFields(a,b,c) NULL
-#define setHIThemeTrackDrawInfoFields(a,b,c)
-#define HIThemeTrackDrawInfo_sizeof() 0
-#endif
-
-#ifndef NO_HMHelpContentRec
-void cacheHMHelpContentRecFields(JNIEnv *env, jobject lpObject);
-HMHelpContentRec *getHMHelpContentRecFields(JNIEnv *env, jobject lpObject, HMHelpContentRec *lpStruct);
-void setHMHelpContentRecFields(JNIEnv *env, jobject lpObject, HMHelpContentRec *lpStruct);
-#define HMHelpContentRec_sizeof() sizeof(HMHelpContentRec)
-#else
-#define cacheHMHelpContentRecFields(a,b)
-#define getHMHelpContentRecFields(a,b,c) NULL
-#define setHMHelpContentRecFields(a,b,c)
-#define HMHelpContentRec_sizeof() 0
-#endif
-
-#ifndef NO_LSApplicationParameters
-void cacheLSApplicationParametersFields(JNIEnv *env, jobject lpObject);
-LSApplicationParameters *getLSApplicationParametersFields(JNIEnv *env, jobject lpObject, LSApplicationParameters *lpStruct);
-void setLSApplicationParametersFields(JNIEnv *env, jobject lpObject, LSApplicationParameters *lpStruct);
-#define LSApplicationParameters_sizeof() sizeof(LSApplicationParameters)
-#else
-#define cacheLSApplicationParametersFields(a,b)
-#define getLSApplicationParametersFields(a,b,c) NULL
-#define setLSApplicationParametersFields(a,b,c)
-#define LSApplicationParameters_sizeof() 0
-#endif
-
-#ifndef NO_LongDateRec
-void cacheLongDateRecFields(JNIEnv *env, jobject lpObject);
-LongDateRec *getLongDateRecFields(JNIEnv *env, jobject lpObject, LongDateRec *lpStruct);
-void setLongDateRecFields(JNIEnv *env, jobject lpObject, LongDateRec *lpStruct);
-#define LongDateRec_sizeof() sizeof(LongDateRec)
-#else
-#define cacheLongDateRecFields(a,b)
-#define getLongDateRecFields(a,b,c) NULL
-#define setLongDateRecFields(a,b,c)
-#define LongDateRec_sizeof() 0
-#endif
-
-#ifndef NO_MenuTrackingData
-void cacheMenuTrackingDataFields(JNIEnv *env, jobject lpObject);
-MenuTrackingData *getMenuTrackingDataFields(JNIEnv *env, jobject lpObject, MenuTrackingData *lpStruct);
-void setMenuTrackingDataFields(JNIEnv *env, jobject lpObject, MenuTrackingData *lpStruct);
-#define MenuTrackingData_sizeof() sizeof(MenuTrackingData)
-#else
-#define cacheMenuTrackingDataFields(a,b)
-#define getMenuTrackingDataFields(a,b,c) NULL
-#define setMenuTrackingDataFields(a,b,c)
-#define MenuTrackingData_sizeof() 0
-#endif
-
-#ifndef NO_NavCBRec
-void cacheNavCBRecFields(JNIEnv *env, jobject lpObject);
-NavCBRec *getNavCBRecFields(JNIEnv *env, jobject lpObject, NavCBRec *lpStruct);
-void setNavCBRecFields(JNIEnv *env, jobject lpObject, NavCBRec *lpStruct);
-#define NavCBRec_sizeof() sizeof(NavCBRec)
-#else
-#define cacheNavCBRecFields(a,b)
-#define getNavCBRecFields(a,b,c) NULL
-#define setNavCBRecFields(a,b,c)
-#define NavCBRec_sizeof() 0
-#endif
-
-#ifndef NO_NavDialogCreationOptions
-void cacheNavDialogCreationOptionsFields(JNIEnv *env, jobject lpObject);
-NavDialogCreationOptions *getNavDialogCreationOptionsFields(JNIEnv *env, jobject lpObject, NavDialogCreationOptions *lpStruct);
-void setNavDialogCreationOptionsFields(JNIEnv *env, jobject lpObject, NavDialogCreationOptions *lpStruct);
-#define NavDialogCreationOptions_sizeof() sizeof(NavDialogCreationOptions)
-#else
-#define cacheNavDialogCreationOptionsFields(a,b)
-#define getNavDialogCreationOptionsFields(a,b,c) NULL
-#define setNavDialogCreationOptionsFields(a,b,c)
-#define NavDialogCreationOptions_sizeof() 0
-#endif
-
-#ifndef NO_NavEventData
-void cacheNavEventDataFields(JNIEnv *env, jobject lpObject);
-NavEventData *getNavEventDataFields(JNIEnv *env, jobject lpObject, NavEventData *lpStruct);
-void setNavEventDataFields(JNIEnv *env, jobject lpObject, NavEventData *lpStruct);
-#define NavEventData_sizeof() sizeof(NavEventData)
-#else
-#define cacheNavEventDataFields(a,b)
-#define getNavEventDataFields(a,b,c) NULL
-#define setNavEventDataFields(a,b,c)
-#define NavEventData_sizeof() 0
-#endif
-
-#ifndef NO_NavEventDataInfo
-void cacheNavEventDataInfoFields(JNIEnv *env, jobject lpObject);
-NavEventDataInfo *getNavEventDataInfoFields(JNIEnv *env, jobject lpObject, NavEventDataInfo *lpStruct);
-void setNavEventDataInfoFields(JNIEnv *env, jobject lpObject, NavEventDataInfo *lpStruct);
-#define NavEventDataInfo_sizeof() sizeof(NavEventDataInfo)
-#else
-#define cacheNavEventDataInfoFields(a,b)
-#define getNavEventDataInfoFields(a,b,c) NULL
-#define setNavEventDataInfoFields(a,b,c)
-#define NavEventDataInfo_sizeof() 0
-#endif
-
-#ifndef NO_NavFileOrFolderInfo
-void cacheNavFileOrFolderInfoFields(JNIEnv *env, jobject lpObject);
-NavFileOrFolderInfo *getNavFileOrFolderInfoFields(JNIEnv *env, jobject lpObject, NavFileOrFolderInfo *lpStruct);
-void setNavFileOrFolderInfoFields(JNIEnv *env, jobject lpObject, NavFileOrFolderInfo *lpStruct);
-#define NavFileOrFolderInfo_sizeof() sizeof(NavFileOrFolderInfo)
-#else
-#define cacheNavFileOrFolderInfoFields(a,b)
-#define getNavFileOrFolderInfoFields(a,b,c) NULL
-#define setNavFileOrFolderInfoFields(a,b,c)
-#define NavFileOrFolderInfo_sizeof() 0
-#endif
-
-#ifndef NO_NavMenuItemSpec
-void cacheNavMenuItemSpecFields(JNIEnv *env, jobject lpObject);
-NavMenuItemSpec *getNavMenuItemSpecFields(JNIEnv *env, jobject lpObject, NavMenuItemSpec *lpStruct);
-void setNavMenuItemSpecFields(JNIEnv *env, jobject lpObject, NavMenuItemSpec *lpStruct);
-#define NavMenuItemSpec_sizeof() sizeof(NavMenuItemSpec)
-#else
-#define cacheNavMenuItemSpecFields(a,b)
-#define getNavMenuItemSpecFields(a,b,c) NULL
-#define setNavMenuItemSpecFields(a,b,c)
-#define NavMenuItemSpec_sizeof() 0
-#endif
-
-#ifndef NO_NavReplyRecord
-void cacheNavReplyRecordFields(JNIEnv *env, jobject lpObject);
-NavReplyRecord *getNavReplyRecordFields(JNIEnv *env, jobject lpObject, NavReplyRecord *lpStruct);
-void setNavReplyRecordFields(JNIEnv *env, jobject lpObject, NavReplyRecord *lpStruct);
-#define NavReplyRecord_sizeof() sizeof(NavReplyRecord)
-#else
-#define cacheNavReplyRecordFields(a,b)
-#define getNavReplyRecordFields(a,b,c) NULL
-#define setNavReplyRecordFields(a,b,c)
-#define NavReplyRecord_sizeof() 0
-#endif
-
-#ifndef NO_PMRect
-void cachePMRectFields(JNIEnv *env, jobject lpObject);
-PMRect *getPMRectFields(JNIEnv *env, jobject lpObject, PMRect *lpStruct);
-void setPMRectFields(JNIEnv *env, jobject lpObject, PMRect *lpStruct);
-#define PMRect_sizeof() sizeof(PMRect)
-#else
-#define cachePMRectFields(a,b)
-#define getPMRectFields(a,b,c) NULL
-#define setPMRectFields(a,b,c)
-#define PMRect_sizeof() 0
-#endif
-
-#ifndef NO_PMResolution
-void cachePMResolutionFields(JNIEnv *env, jobject lpObject);
-PMResolution *getPMResolutionFields(JNIEnv *env, jobject lpObject, PMResolution *lpStruct);
-void setPMResolutionFields(JNIEnv *env, jobject lpObject, PMResolution *lpStruct);
-#define PMResolution_sizeof() sizeof(PMResolution)
-#else
-#define cachePMResolutionFields(a,b)
-#define getPMResolutionFields(a,b,c) NULL
-#define setPMResolutionFields(a,b,c)
-#define PMResolution_sizeof() 0
-#endif
-
-#ifndef NO_PixMap
-void cachePixMapFields(JNIEnv *env, jobject lpObject);
-PixMap *getPixMapFields(JNIEnv *env, jobject lpObject, PixMap *lpStruct);
-void setPixMapFields(JNIEnv *env, jobject lpObject, PixMap *lpStruct);
-#define PixMap_sizeof() sizeof(PixMap)
-#else
-#define cachePixMapFields(a,b)
-#define getPixMapFields(a,b,c) NULL
-#define setPixMapFields(a,b,c)
-#define PixMap_sizeof() 0
-#endif
-
-#ifndef NO_Point
-void cachePointFields(JNIEnv *env, jobject lpObject);
-Point *getPointFields(JNIEnv *env, jobject lpObject, Point *lpStruct);
-void setPointFields(JNIEnv *env, jobject lpObject, Point *lpStruct);
-#define Point_sizeof() sizeof(Point)
-#else
-#define cachePointFields(a,b)
-#define getPointFields(a,b,c) NULL
-#define setPointFields(a,b,c)
-#define Point_sizeof() 0
-#endif
-
-#ifndef NO_ProgressTrackInfo
-void cacheProgressTrackInfoFields(JNIEnv *env, jobject lpObject);
-ProgressTrackInfo *getProgressTrackInfoFields(JNIEnv *env, jobject lpObject, ProgressTrackInfo *lpStruct);
-void setProgressTrackInfoFields(JNIEnv *env, jobject lpObject, ProgressTrackInfo *lpStruct);
-#define ProgressTrackInfo_sizeof() sizeof(ProgressTrackInfo)
-#else
-#define cacheProgressTrackInfoFields(a,b)
-#define getProgressTrackInfoFields(a,b,c) NULL
-#define setProgressTrackInfoFields(a,b,c)
-#define ProgressTrackInfo_sizeof() 0
-#endif
-
-#ifndef NO_RGBColor
-void cacheRGBColorFields(JNIEnv *env, jobject lpObject);
-RGBColor *getRGBColorFields(JNIEnv *env, jobject lpObject, RGBColor *lpStruct);
-void setRGBColorFields(JNIEnv *env, jobject lpObject, RGBColor *lpStruct);
-#define RGBColor_sizeof() sizeof(RGBColor)
-#else
-#define cacheRGBColorFields(a,b)
-#define getRGBColorFields(a,b,c) NULL
-#define setRGBColorFields(a,b,c)
-#define RGBColor_sizeof() 0
-#endif
-
-#ifndef NO_Rect
-void cacheRectFields(JNIEnv *env, jobject lpObject);
-Rect *getRectFields(JNIEnv *env, jobject lpObject, Rect *lpStruct);
-void setRectFields(JNIEnv *env, jobject lpObject, Rect *lpStruct);
-#define Rect_sizeof() sizeof(Rect)
-#else
-#define cacheRectFields(a,b)
-#define getRectFields(a,b,c) NULL
-#define setRectFields(a,b,c)
-#define Rect_sizeof() 0
-#endif
-
-#ifndef NO_ScrollBarTrackInfo
-void cacheScrollBarTrackInfoFields(JNIEnv *env, jobject lpObject);
-ScrollBarTrackInfo *getScrollBarTrackInfoFields(JNIEnv *env, jobject lpObject, ScrollBarTrackInfo *lpStruct);
-void setScrollBarTrackInfoFields(JNIEnv *env, jobject lpObject, ScrollBarTrackInfo *lpStruct);
-#define ScrollBarTrackInfo_sizeof() sizeof(ScrollBarTrackInfo)
-#else
-#define cacheScrollBarTrackInfoFields(a,b)
-#define getScrollBarTrackInfoFields(a,b,c) NULL
-#define setScrollBarTrackInfoFields(a,b,c)
-#define ScrollBarTrackInfo_sizeof() 0
-#endif
-
-#ifndef NO_SliderTrackInfo
-void cacheSliderTrackInfoFields(JNIEnv *env, jobject lpObject);
-SliderTrackInfo *getSliderTrackInfoFields(JNIEnv *env, jobject lpObject, SliderTrackInfo *lpStruct);
-void setSliderTrackInfoFields(JNIEnv *env, jobject lpObject, SliderTrackInfo *lpStruct);
-#define SliderTrackInfo_sizeof() sizeof(SliderTrackInfo)
-#else
-#define cacheSliderTrackInfoFields(a,b)
-#define getSliderTrackInfoFields(a,b,c) NULL
-#define setSliderTrackInfoFields(a,b,c)
-#define SliderTrackInfo_sizeof() 0
-#endif
-
-#ifndef NO_TXNBackground
-void cacheTXNBackgroundFields(JNIEnv *env, jobject lpObject);
-TXNBackground *getTXNBackgroundFields(JNIEnv *env, jobject lpObject, TXNBackground *lpStruct);
-void setTXNBackgroundFields(JNIEnv *env, jobject lpObject, TXNBackground *lpStruct);
-#define TXNBackground_sizeof() sizeof(TXNBackground)
-#else
-#define cacheTXNBackgroundFields(a,b)
-#define getTXNBackgroundFields(a,b,c) NULL
-#define setTXNBackgroundFields(a,b,c)
-#define TXNBackground_sizeof() 0
-#endif
-
-#ifndef NO_TXNTab
-void cacheTXNTabFields(JNIEnv *env, jobject lpObject);
-TXNTab *getTXNTabFields(JNIEnv *env, jobject lpObject, TXNTab *lpStruct);
-void setTXNTabFields(JNIEnv *env, jobject lpObject, TXNTab *lpStruct);
-#define TXNTab_sizeof() sizeof(TXNTab)
-#else
-#define cacheTXNTabFields(a,b)
-#define getTXNTabFields(a,b,c) NULL
-#define setTXNTabFields(a,b,c)
-#define TXNTab_sizeof() 0
-#endif
-
-#ifndef NO_TextRange
-void cacheTextRangeFields(JNIEnv *env, jobject lpObject);
-TextRange *getTextRangeFields(JNIEnv *env, jobject lpObject, TextRange *lpStruct);
-void setTextRangeFields(JNIEnv *env, jobject lpObject, TextRange *lpStruct);
-#define TextRange_sizeof() sizeof(TextRange)
-#else
-#define cacheTextRangeFields(a,b)
-#define getTextRangeFields(a,b,c) NULL
-#define setTextRangeFields(a,b,c)
-#define TextRange_sizeof() 0
-#endif
-
-#ifndef NO_ThemeButtonDrawInfo
-void cacheThemeButtonDrawInfoFields(JNIEnv *env, jobject lpObject);
-ThemeButtonDrawInfo *getThemeButtonDrawInfoFields(JNIEnv *env, jobject lpObject, ThemeButtonDrawInfo *lpStruct);
-void setThemeButtonDrawInfoFields(JNIEnv *env, jobject lpObject, ThemeButtonDrawInfo *lpStruct);
-#define ThemeButtonDrawInfo_sizeof() sizeof(ThemeButtonDrawInfo)
-#else
-#define cacheThemeButtonDrawInfoFields(a,b)
-#define getThemeButtonDrawInfoFields(a,b,c) NULL
-#define setThemeButtonDrawInfoFields(a,b,c)
-#define ThemeButtonDrawInfo_sizeof() 0
-#endif
-
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/Lock.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/Lock.java
deleted file mode 100644
index 7712dd0f6a..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/Lock.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2008 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.internal;
-
-/**
- * Instances of this represent a recursive monitor. Note that this
- * is an empty implementation which does not actually perform locking.
- */
-public class Lock {
-
-/**
- * Locks the monitor and returns the lock count. If
- * the lock is owned by another thread, wait until
- * the lock is released.
- *
- * @return the lock count
- */
-public int lock() {
- return 0;
-}
-
-/**
- * Unlocks the monitor. If the current thread is not
- * the monitor owner, do nothing.
- */
-public void unlock() {
-}
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/Platform.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/Platform.java
deleted file mode 100644
index e8a829be18..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/Platform.java
+++ /dev/null
@@ -1,18 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2008 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.internal;
-
-public class Platform {
-
-public static final String PLATFORM = "carbon"; //$NON-NLS-1$
-public static final Lock lock = new Lock ();
-
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/AEDesc.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/AEDesc.java
deleted file mode 100644
index afd6aa1e18..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/AEDesc.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2008 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class AEDesc {
- /** @field cast=(DescType) */
- public int descriptorType;
- /** @field cast=(AEDataStorage) */
- public int dataHandle;
- public static final int sizeof = 8;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/ATSFontMetrics.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/ATSFontMetrics.java
deleted file mode 100644
index 3bb857a2ff..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/ATSFontMetrics.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2006 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class ATSFontMetrics {
- public int version;
- public float ascent;
- public float descent;
- public float leading;
- public float avgAdvanceWidth;
- public float maxAdvanceWidth;
- public float minLeftSideBearing;
- public float minRightSideBearing;
- public float stemWidth;
- public float stemHeight;
- public float capHeight;
- public float xHeight;
- public float italicAngle;
- public float underlinePosition;
- public float underlineThickness;
- public static final int sizeof = 60;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/ATSLayoutRecord.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/ATSLayoutRecord.java
deleted file mode 100644
index 8cf798793e..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/ATSLayoutRecord.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003-2004 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class ATSLayoutRecord {
- public short glyphID;
- public int flags;
- public int originalOffset;
- public int realPos;
- public static final int sizeof = 14;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/ATSTrapezoid.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/ATSTrapezoid.java
deleted file mode 100644
index 0f3c6e73c1..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/ATSTrapezoid.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2008 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class ATSTrapezoid {
- //FixedPoint upperLeft;
- /** @field accessor=upperLeft.x */
- public int upperLeft_x;
- /** @field accessor=upperLeft.y */
- public int upperLeft_y;
- //FixedPoint upperRight;
- /** @field accessor=upperRight.x */
- public int upperRight_x;
- /** @field accessor=upperRight.y */
- public int upperRight_y;
- //FixedPoint lowerRight;
- /** @field accessor=lowerRight.x */
- public int lowerRight_x;
- /** @field accessor=lowerRight.y */
- public int lowerRight_y;
- //FixedPoint lowerLeft;
- /** @field accessor=lowerLeft.x */
- public int lowerLeft_x;
- /** @field accessor=lowerLeft.y */
- public int lowerLeft_y;
- public static final int sizeof = 32;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/ATSUCaret.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/ATSUCaret.java
deleted file mode 100644
index c48373b13f..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/ATSUCaret.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003-2004 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class ATSUCaret {
- public int fX;
- public int fY;
- public int fDeltaX;
- public int fDeltaY;
- public static final int sizeof = 16;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/ATSUTab.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/ATSUTab.java
deleted file mode 100644
index 68799d6d23..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/ATSUTab.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003-2004 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class ATSUTab {
- public int tabPosition;
- public short tabType;
- public static final int sizeof = 6;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/ATSUUnhighlightData.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/ATSUUnhighlightData.java
deleted file mode 100644
index d48cc7562c..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/ATSUUnhighlightData.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2008 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class ATSUUnhighlightData {
- public int dataType;
- /** @field accessor=unhighlightData.backgroundColor.red */
- public float red;
- /** @field accessor=unhighlightData.backgroundColor.green */
- public float green;
- /** @field accessor=unhighlightData.backgroundColor.blue */
- public float blue;
- /** @field accessor=unhighlightData.backgroundColor.alpha */
- public float alpha;
- public static final int sizeof = 20;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/AlertStdCFStringAlertParamRec.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/AlertStdCFStringAlertParamRec.java
deleted file mode 100644
index 9e1d7b3842..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/AlertStdCFStringAlertParamRec.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2008 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class AlertStdCFStringAlertParamRec {
- public int version;
- public boolean movable;
- public boolean helpButton;
- /** @field cast=(CFStringRef) */
- public int defaultText;
- /** @field cast=(CFStringRef) */
- public int cancelText;
- /** @field cast=(CFStringRef) */
- public int otherText;
- public short defaultButton;
- public short cancelButton;
- public short position;
- public int flags;
-
- public static final int sizeof = 28;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/BitMap.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/BitMap.java
deleted file mode 100644
index eb60d0a86b..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/BitMap.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2008 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class BitMap {
- /** @field cast=(void *) */
- public int baseAddr;
- public short rowBytes;
- //Rect bounds;
- /** @field accessor=bounds.top */
- public short top;
- /** @field accessor=bounds.left */
- public short left;
- /** @field accessor=bounds.bottom */
- public short bottom;
- /** @field accessor=bounds.right */
- public short right;
- public static final int sizeof = 14;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/CFRange.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/CFRange.java
deleted file mode 100644
index d5055a662f..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/CFRange.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2008 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class CFRange {
- /** @field cast=(CFIndex) */
- public int location;
- /** @field cast=(CFIndex) */
- public int length;
- public static final int sizeof = 8;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/CFRunLoopSourceContext.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/CFRunLoopSourceContext.java
deleted file mode 100644
index 39bc8fd31b..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/CFRunLoopSourceContext.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2008 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class CFRunLoopSourceContext {
- /** @field cast=(CFIndex) */
- public int version;
- /** @field cast=(void *) */
- public int info;
- /** @field cast=(void *) */
- public int retain;
- /** @field cast=(void *) */
- public int release;
- /** @field cast=(void *) */
- public int copyDescription;
- /** @field cast=(void *) */
- public int equal;
- /** @field cast=(void *) */
- public int hash;
- /** @field cast=(void *) */
- public int schedule;
- /** @field cast=(void *) */
- public int cancel;
- /** @field cast=(void *) */
- public int perform;
- public static final int sizeof = 40;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/CGFunctionCallbacks.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/CGFunctionCallbacks.java
deleted file mode 100644
index 09c3c027b6..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/CGFunctionCallbacks.java
+++ /dev/null
@@ -1,23 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2008 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class CGFunctionCallbacks {
- public int version;
- /** @field cast=(CGFunctionEvaluateCallback) */
- public int evaluate;
- /** @field cast=(CGFunctionReleaseInfoCallback) */
- public int releaseInfo;
- public static final int sizeof = 12;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/CGPathElement.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/CGPathElement.java
deleted file mode 100644
index df2b1edce2..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/CGPathElement.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2008 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class CGPathElement {
- /** @field cast=(CGPathElementType) */
- public int type;
- /** @field cast=(CGPoint *) */
- public int points;
- public static final int sizeof = 8;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/CGPatternCallbacks.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/CGPatternCallbacks.java
deleted file mode 100644
index 7d271c8dcc..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/CGPatternCallbacks.java
+++ /dev/null
@@ -1,23 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2008 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class CGPatternCallbacks {
- public int version;
- /** @field cast=(CGPatternDrawPatternCallback) */
- public int drawPattern;
- /** @field cast=(CGPatternReleaseInfoCallback) */
- public int releaseInfo;
- public static final int sizeof = 12;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/CGPoint.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/CGPoint.java
deleted file mode 100644
index cdf4bd310d..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/CGPoint.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2008 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class CGPoint {
- /** @field cast=(float) */
- public float x;
- /** @field cast=(float) */
- public float y;
- public static final int sizeof = 8;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/CGRect.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/CGRect.java
deleted file mode 100644
index febfe66513..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/CGRect.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2008 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class CGRect {
- /** @field accessor=origin.x,cast=(float) */
- public float x;
- /** @field accessor=origin.y,cast=(float) */
- public float y;
- /** @field accessor=size.width,cast=(float) */
- public float width;
- /** @field accessor=size.height,cast=(float) */
- public float height;
- public static final int sizeof = 16;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/CGSize.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/CGSize.java
deleted file mode 100644
index 512df38fdb..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/CGSize.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2008 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class CGSize {
- public float width;
- public float height;
- public static final int sizeof = 8;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/ColorPickerInfo.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/ColorPickerInfo.java
deleted file mode 100644
index 247c9986ff..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/ColorPickerInfo.java
+++ /dev/null
@@ -1,65 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2008 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class ColorPickerInfo {
-// PMColor theColor;
- /** @field accessor=theColor.profile,cast=(CMProfileHandle) */
- public int profile;
- /** @field accessor=theColor.color.rgb.red,cast=(UInt16) */
- public short red;
- /** @field accessor=theColor.color.rgb.green,cast=(UInt16) */
- public short green;
- /** @field accessor=theColor.color.rgb.blue,cast=(UInt16) */
- public short blue;
- /** @field cast=(CMProfileHandle) */
- public int dstProfile;
- /** @field cast=(UInt32) */
- public int flags;
- /** @field cast=(DialogPlacementSpec) */
- public short placeWhere;
-// Point dialogOrigin
- /** @field accessor=dialogOrigin.h,cast=(short) */
- public short h;
- /** @field accessor=dialogOrigin.v,cast=(short) */
- public short v;
- /** @field cast=(OSType) */
- public int pickerType;
- /** @field cast=(UserEventUPP) */
- public int eventProc;
- /** @field cast=(ColorChangedUPP) */
- public int colorProc;
- /** @field cast=(UInt32) */
- public int colorProcData;
-// Str255 prompt;
- /** @field cast=(Str255) */
- public byte [] prompt = new byte [256];
-// PickerMenuItemInfo mInfo;
- /** @field accessor=mInfo.editMenuID,cast=(SInt16) */
- public short editMenuID;
- /** @field accessor=mInfo.cutItem,cast=(SInt16) */
- public short cutItem;
- /** @field accessor=mInfo.copyItem,cast=(SInt16) */
- public short copyItem;
- /** @field accessor=mInfo.pasteItem,cast=(SInt16) */
- public short pasteItem;
- /** @field accessor=mInfo.clearItem,cast=(SInt16) */
- public short clearItem;
- /** @field accessor=mInfo.undoItem,cast=(SInt16) */
- public short undoItem;
- /** @field cast=(Boolean) */
- public boolean newColorChosen;
-// SInt8 filler;
- public static final int sizeof = 312;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/ControlButtonContentInfo.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/ControlButtonContentInfo.java
deleted file mode 100644
index 68087882aa..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/ControlButtonContentInfo.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2008 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class ControlButtonContentInfo {
- /** @field cast=(ControlContentType) */
- public short contentType;
- /** @field accessor=u.iconRef,cast=(void *) */
- public int iconRef;
- public static final int sizeof = 6;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/ControlEditTextSelectionRec.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/ControlEditTextSelectionRec.java
deleted file mode 100644
index a0109ac580..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/ControlEditTextSelectionRec.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2005 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class ControlEditTextSelectionRec {
- public short selStart;
- public short selEnd;
- public static final int sizeof = 4;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/ControlFontStyleRec.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/ControlFontStyleRec.java
deleted file mode 100644
index 42ec05775d..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/ControlFontStyleRec.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2008 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class ControlFontStyleRec {
- public short flags;
- public short font;
- public short size;
- public short style;
- public short mode;
- public short just;
-// RGBColor foreColor;
- /** @field accessor=foreColor.red */
- public short foreColor_red;
- /** @field accessor=foreColor.green */
- public short foreColor_green;
- /** @field accessor=foreColor.blue */
- public short foreColor_blue;
-// RGBColor backColor;
- /** @field accessor=backColor.red */
- public short backColor_red;
- /** @field accessor=backColor.green */
- public short backColor_green;
- /** @field accessor=backColor.blue */
- public short backColor_blue;
- public static final int sizeof = 24;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/ControlKind.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/ControlKind.java
deleted file mode 100644
index e28fcc8359..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/ControlKind.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2005 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class ControlKind {
- public int signature;
- public int kind;
- public static final int sizeof = 8;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/ControlTabEntry.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/ControlTabEntry.java
deleted file mode 100644
index 1c584afe87..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/ControlTabEntry.java
+++ /dev/null
@@ -1,24 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2008 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class ControlTabEntry {
- /** @field cast=(ControlButtonContentInfo *) */
- public int icon;
- /** @field cast=(CFStringRef) */
- public int name;
- /** @field cast=(Boolean) */
- public boolean enabled;
- public static final int sizeof = 10;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/ControlTabInfoRecV1.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/ControlTabInfoRecV1.java
deleted file mode 100644
index 3607bed25d..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/ControlTabInfoRecV1.java
+++ /dev/null
@@ -1,24 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2008 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class ControlTabInfoRecV1 {
- /** @field cast=(SInt16) */
- public short version;
- /** @field cast=(SInt16) */
- public short iconSuiteID;
- /** @field cast=(CFStringRef) */
- public int name;
- public static final int sizeof = 8;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/Cursor.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/Cursor.java
deleted file mode 100644
index aa34829a0c..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/Cursor.java
+++ /dev/null
@@ -1,24 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2008 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class Cursor {
- public byte[] data = new byte[16 * 2];
- public byte[] mask = new byte[16 * 2];
- /** @field accessor=hotSpot.v */
- public short hotSpot_v;
- /** @field accessor=hotSpot.h */
- public short hotSpot_h;
- public static final int sizeof = 68;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/DataBrowserAccessibilityItemInfo.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/DataBrowserAccessibilityItemInfo.java
deleted file mode 100644
index f1e248e44b..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/DataBrowserAccessibilityItemInfo.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2008 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class DataBrowserAccessibilityItemInfo {
- /** @field cast=(UInt32) */
- public int version;
- /** @field accessor=u.v0.container,cast=(DataBrowserItemID) */
- public int v0_container;
- /** @field accessor=u.v0.item,cast=(DataBrowserItemID) */
- public int v0_item;
- /** @field accessor=u.v0.columnProperty,cast=(DataBrowserPropertyID) */
- public int v0_columnProperty;
- /** @field accessor=u.v0.propertyPart,cast=(DataBrowserPropertyPart) */
- public int v0_propertyPart;
-
- public static final int sizeof = 20;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/DataBrowserCallbacks.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/DataBrowserCallbacks.java
deleted file mode 100644
index 762c2228df..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/DataBrowserCallbacks.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2008 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class DataBrowserCallbacks {
- /** @field cast=(UInt32) */
- public int version;
- /** @field accessor=u.v1.itemDataCallback,cast=(DataBrowserItemDataUPP) */
- public int v1_itemDataCallback;
- /** @field accessor=u.v1.itemCompareCallback,cast=(DataBrowserItemCompareUPP) */
- public int v1_itemCompareCallback;
- /** @field accessor=u.v1.itemNotificationCallback,cast=(DataBrowserItemNotificationUPP) */
- public int v1_itemNotificationCallback;
- /** @field accessor=u.v1.addDragItemCallback,cast=(DataBrowserAddDragItemUPP) */
- public int v1_addDragItemCallback;
- /** @field accessor=u.v1.acceptDragCallback,cast=(DataBrowserAcceptDragUPP) */
- public int v1_acceptDragCallback;
- /** @field accessor=u.v1.receiveDragCallback,cast=(DataBrowserReceiveDragUPP) */
- public int v1_receiveDragCallback;
- /** @field accessor=u.v1.postProcessDragCallback,cast=(DataBrowserPostProcessDragUPP) */
- public int v1_postProcessDragCallback;
- /** @field accessor=u.v1.itemHelpContentCallback,cast=(DataBrowserItemHelpContentUPP) */
- public int v1_itemHelpContentCallback;
- /** @field accessor=u.v1.getContextualMenuCallback,cast=(DataBrowserGetContextualMenuUPP) */
- public int v1_getContextualMenuCallback;
- /** @field accessor=u.v1.selectContextualMenuCallback,cast=(DataBrowserSelectContextualMenuUPP) */
- public int v1_selectContextualMenuCallback;
- public static final int sizeof = 44;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/DataBrowserCustomCallbacks.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/DataBrowserCustomCallbacks.java
deleted file mode 100644
index 202a413534..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/DataBrowserCustomCallbacks.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2008 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class DataBrowserCustomCallbacks {
- public int version;
- /** @field accessor=u.v1.drawItemCallback,cast=(DataBrowserDrawItemUPP) */
- public int v1_drawItemCallback;
- /** @field accessor=u.v1.editTextCallback,cast=(DataBrowserEditItemUPP) */
- public int v1_editTextCallback;
- /** @field accessor=u.v1.hitTestCallback,cast=(DataBrowserHitTestUPP) */
- public int v1_hitTestCallback;
- /** @field accessor=u.v1.trackingCallback,cast=(DataBrowserTrackingUPP) */
- public int v1_trackingCallback;
- /** @field accessor=u.v1.dragRegionCallback,cast=(DataBrowserItemDragRgnUPP) */
- public int v1_dragRegionCallback;
- /** @field accessor=u.v1.acceptDragCallback,cast=(DataBrowserItemAcceptDragUPP) */
- public int v1_acceptDragCallback;
- /** @field accessor=u.v1.receiveDragCallback,cast=(DataBrowserItemReceiveDragUPP) */
- public int v1_receiveDragCallback;
- public static final int sizeof = 32;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/DataBrowserListViewColumnDesc.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/DataBrowserListViewColumnDesc.java
deleted file mode 100644
index 59129db345..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/DataBrowserListViewColumnDesc.java
+++ /dev/null
@@ -1,70 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2008 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class DataBrowserListViewColumnDesc {
- //DataBrowserTableViewColumnDesc propertyDesc;
- /** @field accessor=propertyDesc.propertyID,cast=(DataBrowserPropertyID) */
- public int propertyDesc_propertyID;
- /** @field accessor=propertyDesc.propertyType,cast=(OSType) */
- public int propertyDesc_propertyType;
- /** @field accessor=propertyDesc.propertyFlags,cast=(DataBrowserPropertyFlags) */
- public int propertyDesc_propertyFlags;
- //DataBrowserListViewHeaderDesc headerBtnDesc;
- /** @field accessor=headerBtnDesc.version,cast=(UInt32) */
- public int headerBtnDesc_version;
- /** @field accessor=headerBtnDesc.minimumWidth,cast=(UInt16) */
- public short headerBtnDesc_minimumWidth;
- /** @field accessor=headerBtnDesc.maximumWidth,cast=(UInt16) */
- public short headerBtnDesc_maximumWidth;
- /** @field accessor=headerBtnDesc.titleOffset,cast=(SInt16) */
- public short headerBtnDesc_titleOffset;
- /** @field accessor=headerBtnDesc.titleString,cast=(CFStringRef) */
- public int headerBtnDesc_titleString;
- /** @field accessor=headerBtnDesc.initialOrder,cast=(DataBrowserSortOrder) */
- public short headerBtnDesc_initialOrder;
- //ControlFontStyleRec headerBtnDesc_btnFontStyle;
- /** @field accessor=headerBtnDesc.btnFontStyle.flags,cast=(SInt16) */
- public short headerBtnDesc_btnFontStyle_flags;
- /** @field accessor=headerBtnDesc.btnFontStyle.font,cast=(SInt16) */
- public short headerBtnDesc_btnFontStyle_font;
- /** @field accessor=headerBtnDesc.btnFontStyle.size,cast=(SInt16) */
- public short headerBtnDesc_btnFontStyle_size;
- /** @field accessor=headerBtnDesc.btnFontStyle.style,cast=(SInt16) */
- public short headerBtnDesc_btnFontStyle_style;
- /** @field accessor=headerBtnDesc.btnFontStyle.mode,cast=(SInt16) */
- public short headerBtnDesc_btnFontStyle_mode;
- /** @field accessor=headerBtnDesc.btnFontStyle.just,cast=(SInt16) */
- public short headerBtnDesc_btnFontStyle_just;
- // RGBColor headerBtnDesc_btnFontStyle_foreColor;
- /** @field accessor=headerBtnDesc.btnFontStyle.foreColor.red,cast=(unsigned short) */
- public short headerBtnDesc_btnFontStyle_foreColor_red;
- /** @field accessor=headerBtnDesc.btnFontStyle.foreColor.green,cast=(unsigned short) */
- public short headerBtnDesc_btnFontStyle_foreColor_green;
- /** @field accessor=headerBtnDesc.btnFontStyle.foreColor.blue,cast=(unsigned short) */
- public short headerBtnDesc_btnFontStyle_foreColor_blue;
- //RGBColor headerBtnDesc_btnFontStyle_backColor;
- /** @field accessor=headerBtnDesc.btnFontStyle.backColor.red,cast=(unsigned short) */
- public short headerBtnDesc_btnFontStyle_backColor_red;
- /** @field accessor=headerBtnDesc.btnFontStyle.backColor.green,cast=(unsigned short) */
- public short headerBtnDesc_btnFontStyle_backColor_green;
- /** @field accessor=headerBtnDesc.btnFontStyle.backColor.blue,cast=(unsigned short) */
- public short headerBtnDesc_btnFontStyle_backColor_blue;
- //public ControlButtonContentInfo headerBtnDesc_btnContentInfo;
- /** @field accessor=headerBtnDesc.btnContentInfo.contentType,cast=(ControlContentType) */
- public short headerBtnDesc_btnContentInfo_contentType;
- /** @field accessor=headerBtnDesc.btnContentInfo.u.iconRef,cast=(IconRef) */
- public int headerBtnDesc_btnContentInfo_iconRef; // union field
- public static final int sizeof = 58;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/DataBrowserListViewHeaderDesc.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/DataBrowserListViewHeaderDesc.java
deleted file mode 100644
index 9c16ed525c..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/DataBrowserListViewHeaderDesc.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2008 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class DataBrowserListViewHeaderDesc {
- public int version;
- public short minimumWidth;
- public short maximumWidth;
- public short titleOffset;
- /** @field cast=(CFStringRef) */
- public int titleString;
- public short initialOrder;
- // ControlFontStyleRec btnFontStyle;
- /** @field accessor=btnFontStyle.flags */
- public short btnFontStyle_flags;
- /** @field accessor=btnFontStyle.font */
- public short btnFontStyle_font;
- /** @field accessor=btnFontStyle.size */
- public short btnFontStyle_size;
- /** @field accessor=btnFontStyle.style */
- public short btnFontStyle_style;
- /** @field accessor=btnFontStyle.mode */
- public short btnFontStyle_mode;
- /** @field accessor=btnFontStyle.just */
- public short btnFontStyle_just;
- //RGBColor btnFontStyle_foreColor;
- /** @field accessor=btnFontStyle.foreColor.red */
- public short btnFontStyle_foreColor_red;
- /** @field accessor=btnFontStyle.foreColor.green */
- public short btnFontStyle_foreColor_green;
- /** @field accessor=btnFontStyle.foreColor.blue */
- public short btnFontStyle_foreColor_blue;
- //RGBColor btnFontStyle_backColor;
- /** @field accessor=btnFontStyle.backColor.red */
- public short btnFontStyle_backColor_red;
- /** @field accessor=btnFontStyle.backColor.green */
- public short btnFontStyle_backColor_green;
- /** @field accessor=btnFontStyle.backColor.blue */
- public short btnFontStyle_backColor_blue;
- //ControlButtonContentInfo btnContentInfo;
- /** @field accessor=btnContentInfo.contentType */
- public short btnContentInfo_contentType;
- /** @field accessor=btnContentInfo.u.iconRef,cast=(IconRef) */
- public int btnContentInfo_iconRef;
-
- public static final int sizeof = 46;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/EventRecord.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/EventRecord.java
deleted file mode 100644
index f3b1c0a123..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/EventRecord.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2008 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-public class EventRecord {
- /** @field cast=(EventKind) */
- public short what;
- public int message;
- public int when;
- //Point where;
- /** @field accessor=where.v */
- public short where_v;
- /** @field accessor=where.h */
- public short where_h;
- /** @field cast=(EventModifiers) */
- public short modifiers;
- public static final int sizeof = 16;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/GDevice.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/GDevice.java
deleted file mode 100644
index 3220a57610..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/GDevice.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2008 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class GDevice {
- public short gdRefNum;
- public short gdID;
- public short gdType;
- /** @field cast=(ITabHandle) */
- public int gdITable;
- public short gdResPref;
- /** @field cast=(SProcHndl) */
- public int gdSearchProc;
- /** @field cast=(CProcHndl) */
- public int gdCompProc;
- public short gdFlags;
- /** @field cast=(PixMapHandle) */
- public int gdPMap;
- public int gdRefCon;
- /** @field cast=(GDHandle) */
- public int gdNextGD;
- //Rect gdRect;
- /** @field accessor=gdRect.left */
- public short left;
- /** @field accessor=gdRect.top */
- public short top;
- /** @field accessor=gdRect.right */
- public short right;
- /** @field accessor=gdRect.bottom */
- public short bottom;
- public int gdMode;
- public short gdCCBytes;
- public short gdCCDepth;
- /** @field cast=(Handle) */
- public int gdCCXData;
- /** @field cast=(Handle) */
- public int gdCCXMask;
- /** @field cast=(Handle) */
- public int gdExt;
- public static final int sizeof = 62;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIAxisPosition.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIAxisPosition.java
deleted file mode 100644
index b8823b48bb..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIAxisPosition.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2008 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class HIAxisPosition {
- /** @field cast=(HIViewRef) */
- public int toView;
- public short kind;
- public float offset;
- public static final int sizeof = 10;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIAxisScale.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIAxisScale.java
deleted file mode 100644
index ba8a48a473..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIAxisScale.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2008 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class HIAxisScale {
- /** @field cast=(HIViewRef) */
- public int toView;
- public short kind;
- public float ratio;
- public static final int sizeof = 10;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIBinding.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIBinding.java
deleted file mode 100644
index 176a219cd7..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIBinding.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2007 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class HIBinding {
- public HISideBinding top = new HISideBinding();
- public HISideBinding left = new HISideBinding();
- public HISideBinding bottom = new HISideBinding();
- public HISideBinding right = new HISideBinding();
- public static final int sizeof = 40;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HICommand.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HICommand.java
deleted file mode 100644
index be6097d0d4..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HICommand.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2008 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class HICommand {
- public int attributes;
- public int commandID;
- /** @field accessor=menu.menuRef,cast=(MenuRef) */
- public int menu_menuRef;
- /** @field accessor=menu.menuItemIndex,cast=(MenuItemIndex) */
- public short menu_menuItemIndex;
-
- public static final int sizeof = 14;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HILayoutInfo.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HILayoutInfo.java
deleted file mode 100644
index 8e516e34f0..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HILayoutInfo.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2007 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class HILayoutInfo {
- public int version;
- public HIBinding binding = new HIBinding();
- public HIScaling scale = new HIScaling();
- public HIPositioning position = new HIPositioning();
- public static final int sizeof = 84;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIPositioning.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIPositioning.java
deleted file mode 100644
index 4940ed410f..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIPositioning.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2007 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class HIPositioning {
- public HIAxisPosition x = new HIAxisPosition();
- public HIAxisPosition y = new HIAxisPosition();
- public static final int sizeof = 20;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIScaling.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIScaling.java
deleted file mode 100644
index f2f50b952e..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIScaling.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2007 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class HIScaling {
- public HIAxisScale x = new HIAxisScale();
- public HIAxisScale y = new HIAxisScale();
- public static final int sizeof = 20;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIScrollBarTrackInfo.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIScrollBarTrackInfo.java
deleted file mode 100644
index c60d5120b6..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIScrollBarTrackInfo.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2005 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class HIScrollBarTrackInfo {
- public int version;
- public byte enableState;
- public byte pressState;
- public float viewsize;
- public static final int sizeof = 10;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HISideBinding.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HISideBinding.java
deleted file mode 100644
index 458a864dfc..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HISideBinding.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2008 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class HISideBinding {
- /** @field cast=(HIViewRef) */
- public int toView;
- public short kind;
- public float offset;
- public static final int sizeof = 10;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIThemeAnimationFrameInfo.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIThemeAnimationFrameInfo.java
deleted file mode 100644
index c6e07e1c88..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIThemeAnimationFrameInfo.java
+++ /dev/null
@@ -1,19 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2005 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class HIThemeAnimationFrameInfo {
- public int index;
- public static final int sizeof = 4;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIThemeAnimationTimeInfo.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIThemeAnimationTimeInfo.java
deleted file mode 100644
index 5ae6a5728e..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIThemeAnimationTimeInfo.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2005 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class HIThemeAnimationTimeInfo {
- public long start;
- public long current;
- public static final int sizeof = 16;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIThemeBackgroundDrawInfo.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIThemeBackgroundDrawInfo.java
deleted file mode 100644
index 149065ba4e..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIThemeBackgroundDrawInfo.java
+++ /dev/null
@@ -1,21 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2005 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class HIThemeBackgroundDrawInfo {
- public int version;
- public int state;
- public int kind;
- public static final int sizeof = 12;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIThemeButtonDrawInfo.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIThemeButtonDrawInfo.java
deleted file mode 100644
index 2a1f669f4b..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIThemeButtonDrawInfo.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2008 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class HIThemeButtonDrawInfo {
- public int version;
- public int state;
- public int kind;
- public int value;
- public int adornment;
- /** @field accessor=animation.time */
- public HIThemeAnimationTimeInfo time;
- /** @field accessor=animation.frame */
- public HIThemeAnimationFrameInfo frame;
- public static final int sizeof = 30;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIThemeFrameDrawInfo.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIThemeFrameDrawInfo.java
deleted file mode 100644
index 3585bf0523..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIThemeFrameDrawInfo.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2005 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class HIThemeFrameDrawInfo {
- public int version;
- public int state;
- public int kind;
- public boolean isFocused;
- public static final int sizeof = 14;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIThemeGroupBoxDrawInfo.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIThemeGroupBoxDrawInfo.java
deleted file mode 100644
index 43d148954c..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIThemeGroupBoxDrawInfo.java
+++ /dev/null
@@ -1,21 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2005 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class HIThemeGroupBoxDrawInfo {
- public int version;
- public int state;
- public int kind;
- public static final int sizeof = 12;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIThemeGrowBoxDrawInfo.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIThemeGrowBoxDrawInfo.java
deleted file mode 100644
index 0dfa7fe8e9..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIThemeGrowBoxDrawInfo.java
+++ /dev/null
@@ -1,23 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2005 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class HIThemeGrowBoxDrawInfo {
- public int version;
- public int kind;
- public int state;
- public short direction;
- public int size;
- public static final int sizeof = 18;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIThemePopupArrowDrawInfo.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIThemePopupArrowDrawInfo.java
deleted file mode 100644
index b581ebaae1..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIThemePopupArrowDrawInfo.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2005 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class HIThemePopupArrowDrawInfo {
- public int version;
- public int state;
- public short orientation;
- public short size;
- public static final int sizeof = 12;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIThemeSeparatorDrawInfo.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIThemeSeparatorDrawInfo.java
deleted file mode 100644
index c05aea059b..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIThemeSeparatorDrawInfo.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2005 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class HIThemeSeparatorDrawInfo {
- public int version;
- public int state;
- public static final int sizeof = 8;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIThemeTabDrawInfo.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIThemeTabDrawInfo.java
deleted file mode 100644
index 15682d8b89..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIThemeTabDrawInfo.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2008 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class HIThemeTabDrawInfo {
- public int version;
- public short style;
- public short direction;
- public int size;
- public int adornment;
- /** @field exclude=#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_4 */
- public int kind;
- /** @field exclude=#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_4 */
- public int position;
- public static final int sizeof = OS.VERSION >= 0x1040 ? 24 : 16;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIThemeTabPaneDrawInfo.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIThemeTabPaneDrawInfo.java
deleted file mode 100644
index 4575173729..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIThemeTabPaneDrawInfo.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2008 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class HIThemeTabPaneDrawInfo {
- public int version;
- public int state;
- public short direction;
- public int size;
- /** @field exclude=#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_4 */
- public int kind;
- /** @field exclude=#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_4 */
- public int adornment;
- public static final int sizeof = OS.VERSION >= 0x1040 ? 22 : 14;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIThemeTextInfo.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIThemeTextInfo.java
deleted file mode 100644
index 4c72f04030..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIThemeTextInfo.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2005 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class HIThemeTextInfo {
- public int version;
- public int state;
- public short fontID;
- public int horizontalFlushness;
- public int verticalFlushness;
- public int options;
- public int truncationPosition;
- public int truncationMaxLines;
- public boolean truncationHappened;
- public static final int sizeof = 32;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIThemeTrackDrawInfo.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIThemeTrackDrawInfo.java
deleted file mode 100644
index e64cab5bcd..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HIThemeTrackDrawInfo.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2008 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class HIThemeTrackDrawInfo {
- public int version;
- /** @field cast=(ThemeTrackKind) */
- public short kind;
- //HIRect bounds
- /** @field accessor=bounds.origin.x */
- public float bounds_x;
- /** @field accessor=bounds.origin.y */
- public float bounds_y;
- /** @field accessor=bounds.size.width */
- public float bounds_width;
- /** @field accessor=bounds.size.height */
- public float bounds_height;
- public int min;
- public int max;
- public int value;
- public int reserved;
- /** @field cast=(ThemeTrackAttributes) */
- public short attributes;
- /** @field cast=(ThemeTrackEnableState) */
- public byte enableState;
- public byte filler1;
- /** @field accessor=trackInfo.scrollbar */
- public ScrollBarTrackInfo scrollbar;
- /** @field accessor=trackInfo.slider */
- public SliderTrackInfo slider;
- /** @field accessor=trackInfo.progress */
- public ProgressTrackInfo progress;
- public static final int sizeof = 48;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HMHelpContentRec.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HMHelpContentRec.java
deleted file mode 100644
index 591b61b0be..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/HMHelpContentRec.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2008 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class HMHelpContentRec {
- public int version;
-// Rect absHotRect;
- /** @field accessor=absHotRect.top */
- public short absHotRect_top;
- /** @field accessor=absHotRect.left */
- public short absHotRect_left;
- /** @field accessor=absHotRect.bottom */
- public short absHotRect_bottom;
- /** @field accessor=absHotRect.right */
- public short absHotRect_right;
- public short tagSide;
-// HMHelpContent content[2];
- /** @field accessor=content[0].contentType */
- public int content0_contentType;
- /** @field accessor=content[0].u.tagCFString,cast=(CFStringRef) */
- public int content0_tagCFString;
- /** @field accessor=content[1].contentType */
- public int content1_contentType;
- /** @field accessor=content[1].u.tagCFString,cast=(CFStringRef) */
- public int content1_tagCFString;
- public static final int sizeof = 534;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/LSApplicationParameters.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/LSApplicationParameters.java
deleted file mode 100644
index e70e368940..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/LSApplicationParameters.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2008 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class LSApplicationParameters {
- public int version;
- public int flags;
- /** @field cast=(const FSRef *) */
- public int application;
- /** @field cast=(void *) */
- public int asyncLaunchRefCon;
- /** @field cast=(CFDictionaryRef) */
- public int environment;
- /** @field cast=(CFArrayRef) */
- public int argv;
- /** @field cast=(AppleEvent *) */
- public int initialEvent;
- public static final int sizeof = 28;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/LongDateRec.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/LongDateRec.java
deleted file mode 100644
index 88d20302eb..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/LongDateRec.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2008 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class LongDateRec {
- /** @field accessor=ld.era */
- public short era;
- /** @field accessor=ld.year */
- public short year;
- /** @field accessor=ld.month */
- public short month;
- /** @field accessor=ld.day */
- public short day;
- /** @field accessor=ld.hour */
- public short hour;
- /** @field accessor=ld.minute */
- public short minute;
- /** @field accessor=ld.second */
- public short second;
- /** @field accessor=ld.dayOfWeek */
- public short dayOfWeek;
- /** @field accessor=ld.dayOfYear */
- public short dayOfYear;
- /** @field accessor=ld.weekOfYear */
- public short weekOfYear;
- /** @field accessor=ld.pm */
- public short pm;
- /** @field accessor=ld.res1 */
- public short res1;
- /** @field accessor=ld.res2 */
- public short res2;
- /** @field accessor=ld.res3 */
- public short res3;
- public static final int sizeof = 28;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/MenuTrackingData.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/MenuTrackingData.java
deleted file mode 100644
index ca8c3ed3e0..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/MenuTrackingData.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2008 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class MenuTrackingData {
- /** @field cast=(MenuRef) */
- public int menu;
- public short itemSelected;
- public short itemUnderMouse;
-// Rect itemRect;
- /** @field accessor=itemRect.top */
- public short top;
- /** @field accessor=itemRect.left */
- public short left;
- /** @field accessor=itemRect.bottom */
- public short bottom;
- /** @field accessor=itemRect.right */
- public short right;
- public int virtualMenuTop;
- public int virtualMenuBottom;
- public static int sizeof = 24;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/NavCBRec.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/NavCBRec.java
deleted file mode 100644
index 975c226b8f..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/NavCBRec.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2008 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class NavCBRec {
- public short version;
- /** @field cast=(NavDialogRef) */
- public int context;
- /** @field cast=(WindowRef) */
- public int window;
- public Rect customRect = new Rect ();
- public Rect previewRect = new Rect ();
- public NavEventData eventData = new NavEventData ();
- /** @field cast=(NavUserAction) */
- public int userAction;
- public byte[] reserved = new byte[218];
- public static final int sizeof = 254;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/NavDialogCreationOptions.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/NavDialogCreationOptions.java
deleted file mode 100644
index de7e4ea5e1..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/NavDialogCreationOptions.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2008 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class NavDialogCreationOptions {
- public short version;
- /** @field cast=(NavDialogOptionFlags) */
- public int optionFlags;
-// Point location;
- /** @field accessor=location.h */
- public short location_h;
- /** @field accessor=location.v */
- public short location_v;
- /** @field cast=(CFStringRef) */
- public int clientName;
- /** @field cast=(CFStringRef) */
- public int windowTitle;
- /** @field cast=(CFStringRef) */
- public int actionButtonLabel;
- /** @field cast=(CFStringRef) */
- public int cancelButtonLabel;
- /** @field cast=(CFStringRef) */
- public int saveFileName;
- /** @field cast=(CFStringRef) */
- public int message;
- public int preferenceKey;
- /** @field cast=(CFArrayRef) */
- public int popupExtension;
- /** @field cast=(WindowModality) */
- public int modality;
- /** @field cast=(WindowRef) */
- public int parentWindow;
-// char reserved[16];
- public static final int sizeof = 66;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/NavEventData.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/NavEventData.java
deleted file mode 100644
index 5ddf0b52ea..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/NavEventData.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2008 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class NavEventData {
- public NavEventDataInfo eventDataParms = new NavEventDataInfo();
- public short itemHit;
- public static final int sizeof = 6;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/NavEventDataInfo.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/NavEventDataInfo.java
deleted file mode 100644
index 2196f31f36..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/NavEventDataInfo.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2008 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class NavEventDataInfo {
- /** @field cast=(EventRecord *) */
- public int event;
- /** @field cast=(void *) */
- public int param;
- public static final int sizeof = 4;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/NavFileOrFolderInfo.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/NavFileOrFolderInfo.java
deleted file mode 100644
index 6a6c222e35..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/NavFileOrFolderInfo.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2008 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class NavFileOrFolderInfo {
- public short version;
- public boolean isFolder;
- public boolean visible;
- public int creationDate;
- public int modificationDate;
- //TODO add union and struct
- //public struct fileInfo;
- //public struct folderInfo;
- public static final int sizeof = 268;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/NavMenuItemSpec.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/NavMenuItemSpec.java
deleted file mode 100644
index db21ec1798..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/NavMenuItemSpec.java
+++ /dev/null
@@ -1,23 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2008 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class NavMenuItemSpec {
- public short version;
- public int menuCreator;
- public int menuType;
- public byte[] menuItemName = new byte[256];
- public byte[] reserved = new byte[245];
- public static final int sizeof = 512;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/NavReplyRecord.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/NavReplyRecord.java
deleted file mode 100644
index ec9eae2503..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/NavReplyRecord.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2008 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class NavReplyRecord {
- /** @field cast=(UInt16) */
- public short version;
- /** @field cast=(Boolean) */
- public boolean validRecord;
- /** @field cast=(Boolean) */
- public boolean replacing;
- /** @field cast=(Boolean) */
- public boolean isStationery;
- /** @field cast=(Boolean) */
- public boolean translationNeeded;
- //AEDescList selection;
- /** @field accessor=selection.descriptorType,cast=(DescType) */
- public int selection_descriptorType;
- /** @field accessor=selection.dataHandle,cast=(AEDataStorage) */
- public int selection_dataHandle;
- /** @field cast=(ScriptCode) */
- public short keyScript;
- /** @field cast=(FileTranslationSpecArrayHandle) */
- public int fileTranslation;
- /** @field cast=(UInt32) */
- public int reserved1;
- /** @field cast=(CFStringRef) */
- public int saveFileName;
- /** @field cast=(Boolean) */
- public boolean saveFileExtensionHidden;
- /** @field cast=(UInt8) */
- public byte reserved2;
- /** @field cast=(char[]) */
- public byte[] reserved = new byte[225];
- public static final int sizeof = 256;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/OS.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/OS.java
deleted file mode 100644
index 67a03b5f3f..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/OS.java
+++ /dev/null
@@ -1,5788 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2009 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-import org.eclipse.swt.internal.*;
-
-public class OS extends C {
- static {
- Library.loadLibrary ("swt-pi");
- }
-
- public static final int VERSION;
- static {
- int [] response = new int [1];
- OS.Gestalt (OS.gestaltSystemVersion, response);
- VERSION = response [0] & 0xffff;
- }
-
- /** Constants */
- public static final int RGBDirect = 16;
- public static final int alphaLock = 0x0400;
- public static final int badDragFlavorErr = -1852;
- public static final int bold = 1;
- public static final int cantGetFlavorErr = -1854;
- public static final int checkMark = 18;
- public static final int cmdKey = 1 << 8;
- public static final int controlKey = 1 << 12;
- public static final int diamondMark = 19;
- public static final int dragNotAcceptedErr = -1857;
- public static final int errControlIsNotEmbedder = -30590;
- public static final int errDataBrowserItemNotFound = -4971;
- public static final int errUnknownControl = -30584;
- public static final int eventLoopTimedOutErr = -9875;
- public static final int eventNotHandledErr = -9874;
- public static final int eventParameterNotFoundErr = -9870;
- public static final int gestaltSystemVersion = ('s'<<24) + ('y'<<16) + ('s'<<8) + 'v';
- public static final int inContent = 3;
- public static final int inMenuBar = 1;
- public static final int inStructure = 15;
- public static final int inZoomIn = 7;
- public static final int inZoomOut = 8;
- public static final int inToolbarButton = 13;
- public static final int italic = 2;
- public static final int k24RGBPixelFormat = 0x00000018;
- public static final int k32ARGBPixelFormat = 0x00000020;
- public static final int kActivateAndHandleClick = 3;
- public static final int kAppearanceEventClass = ('a'<<24) + ('p'<<16) + ('p'<<8) + 'r';
- public static final int kAEAppearanceChanged = ('t'<<24) + ('h'<<16) + ('m'<<8) + 'e';
- public static final int kAESystemFontChanged = ('s'<<24) + ('y'<<16) + ('s'<<8) + 'f';
- public static final int kAESmallSystemFontChanged = ('s'<<24) + ('s'<<16) + ('f'<<8) + 'n';
- public static final int kAEViewsFontChanged = ('v'<<24) + ('f'<<16) + ('n'<<8) + 't';
- public static final int kAEQuitApplication = ('q'<<24) + ('u'<<16) + ('i'<<8) + 't';
- public static final int kCoreEventClass = ('a'<<24) + ('e'<<16) + ('v'<<8) + 't';
- public static final int kAlertCautionAlert = 2;
- public static final int kAlertCautionIcon = ('c'<<24) + ('a'<<16) + ('u'<<8) + 't';
- public static final int kAlertNoteAlert = 1;
- public static final int kAlertNoteIcon = ('n'<<24) + ('o'<<16) + ('t'<<8) + 'e';
- public static final int kAlertPlainAlert = 3;
- public static final int kAlertStopAlert = 0;
- public static final int kAlertStopIcon = ('s'<<24) + ('t'<<16) + ('o'<<8) + 'p';
- public static final int kAlertDefaultOKText = -1;
- public static final int kAlertDefaultCancelText = -1;
- public static final int kAlertStdAlertOKButton = 1;
- public static final int kAlertStdAlertCancelButton = 2;
- public static final int kAlertStdAlertOtherButton = 3;
- public static final int kAtSpecifiedOrigin = 0;
- public static final int kATSFontContextGlobal = 1;
- public static final int kATSFontContextLocal = 2;
- public static final int kATSOptionFlagsDefault = 0;
- public static final int kATSOptionFlagsDefaultScope = 0x00000000 << 12;
- public static final int kATSFontFormatUnspecified = 0;
- public static final int kATSDeletedGlyphcode = 0xFFFF;
- public static final int kATSLineLastNoJustification = 0x00000020;
- public static final int kATSUAscentTag = 284;
- public static final int kATSUCrossStreamShiftTag = 269;
- public static final int kATSUDescentTag = 285;
- public static final int kATSUDirectDataBaselineDeltaFixedArray = 1;
- public static final int kATSUDirectDataLayoutRecordATSLayoutRecordVersion1 = 100;
- public static final int kATSUDirectDataLayoutRecordATSLayoutRecordCurrent = kATSUDirectDataLayoutRecordATSLayoutRecordVersion1;
- public static final int kATSUFullJustification = 0x40000000;
- public static final int kATSUNoJustification = 0x00000000;
- public static final int kATSUImposeWidthTag = 266;
- public static final int kATSULineAscentTag = 8;
- public static final int kATSULineDescentTag = 9;
- public static final int kATSULineDirectionTag = 3;
- public static final int kATSLineUseDeviceMetrics = 0x01000000;
- public static final int kATSLineKeepSpacesOutOfMargin = 0x00000008;
- public static final int kATSUStartAlignment = 0x00000000;
- public static final int kATSUEndAlignment = 0x40000000;
- public static final int kATSUCenterAlignment = 0x20000000;
- public static final int kATSUByCharacter = 0;
- public static final int kATSUByTypographicCluster = 1;
- public static final int kATSUByWord = 2;
- public static final int kATSUByCharacterCluster = 3;
- public static final int kATSUColorTag = 263;
- public static final int kATSUCGContextTag = 32767;
- public static final int kATSUFontTag = 261;
- public static final int kATSULineFlushFactorTag = 5;
- public static final int kATSULineHighlightCGColorTag = 17;
- public static final int kATSULineJustificationFactorTag = 4;
- public static final int kATSULineLayoutOptionsTag = 7;
- public static final int kATSULineWidthTag = 1;
- public static final int kATSULeftToRightBaseDirection = 0;
- public static final int kATSURightToLeftBaseDirection = 1;
- public static final int kATSURGBAlphaColorTag = 288;
- public static final int kATSUQDBoldfaceTag = 256;
- public static final int kATSUQDItalicTag = 257;
- public static final int kATSUQDUnderlineTag = 258;
- public static final int kATSUStyleStrikeThroughTag = 292;
- public static final int kATSUStyleUnderlineColorOptionTag = 291;
- public static final int kATSUStyleUnderlineCountOptionTag = 290;
- public static final int kATSUStyleStrikeThroughColorOptionTag = 294;
- public static final int kATSUStyleSingleLineCount = 1;
- public static final int kATSUStyleDoubleLineCount = 2;
- public static final int kATSULeftTab = 0;
- public static final int kATSUseDeviceOrigins = 1;
- public static final int kATSUseLineHeight = 0x7FFFFFFF;
- public static final int kATSUSizeTag = 262;
- public static final int kATSUToTextEnd = 0xFFFFFFFF;
- public static final int kCFRunLoopBeforeWaiting = 1 << 5;
- public static final int kCFRunLoopAfterWaiting = 1 << 6;
- public static final int kCFRunLoopRunFinished = 1;
- public static final int kCFRunLoopRunStopped = 2;
- public static final int kCFRunLoopRunTimedOut = 3;
- public static final int kCFRunLoopRunHandledSource = 4;
- public static final int kAvailBoundsChangedForDock = 1 << 0;
- public static final int kCGBlendModeNormal = 0;
- public static final int kCGBlendModeDifference = 10;
- public static final int kCGBitmapByteOrderDefault = 0 << 12;
- public static final int kCGBitmapByteOrder16Little = 1 << 12;
- public static final int kCGBitmapByteOrder32Little = 2 << 12;
- public static final int kCGBitmapByteOrder16Big = 3 << 12;
- public static final int kCGBitmapByteOrder32Big = 4 << 12;
- public static final int kCGBitmapByteOrder16Host = __BIG_ENDIAN__() ? kCGBitmapByteOrder16Big : kCGBitmapByteOrder16Little;
- public static final int kCGBitmapByteOrder32Host = __BIG_ENDIAN__() ? kCGBitmapByteOrder32Big : kCGBitmapByteOrder32Little;
- public static final int kCFAllocatorDefault = 0;
- public static final int kCFNumberFormatterDecimalStyle = 1;
- public static final int kCFURLPOSIXPathStyle = 0;
- public static final int kCFStringEncodingASCII = 0x0600;
- public static final int kCFStringEncodingMacRoman = 0;
- public static final int kCFStringEncodingUTF8 = 0x08000100;
- public static final int kCFStringEncodingUnicode = 0x0100;
- public static final int kCGEncodingMacRoman = 1;
- public static final int kCGImageAlphaNone = 0;
- public static final int kCGImageAlphaPremultipliedLast = 1;
- public static final int kCGImageAlphaPremultipliedFirst = 2;
- public static final int kCGImageAlphaLast = 3;
- public static final int kCGImageAlphaFirst = 4;
- public static final int kCGImageAlphaNoneSkipLast = 5;
- public static final int kCGImageAlphaNoneSkipFirst = 6;
- public static final int kCGInterpolationDefault = 0;
- public static final int kCGInterpolationNone = 1;
- public static final int kCGInterpolationLow = 2;
- public static final int kCGInterpolationHigh = 3;
- public static final int kCGLineCapButt = 0;
- public static final int kCGLineCapRound = 1;
- public static final int kCGLineCapSquare = 2;
- public static final int kCGLineJoinMiter = 0;
- public static final int kCGLineJoinRound = 1;
- public static final int kCGLineJoinBevel = 2;
- public static final int kCGPathElementMoveToPoint = 0;
- public static final int kCGPathElementAddLineToPoint = 1;
- public static final int kCGPathElementAddQuadCurveToPoint = 2;
- public static final int kCGPathElementAddCurveToPoint = 3;
- public static final int kCGPathElementCloseSubpath = 4;
- public static final int kCGPatternTilingNoDistortion = 0;
- public static final int kCGPatternTilingConstantSpacingMinimalDistortion = 1;
- public static final int kCGPatternTilingConstantSpacing = 2;
- public static final int kCGRenderingIntentDefault = 0;
- public static final int kCGTextFill = 0;
- public static final int kCGTextInvisible = 3;
- public static final int kCMHelpItemRemoveHelp = 3;
- public static final int kColorPickerDialogIsMoveable = 1;
- public static final int kColorPickerDialogIsModal = 2;
- public static final int kControlBehaviorPushbutton = 0;
- public static final int kControlBehaviorToggles = 0x0100;
- public static final int kControlBevelButtonAlignCenter = 0;
- public static final int kControlBevelButtonAlignLeft = 1;
- public static final int kControlBevelButtonAlignRight = 2;
- public static final int kControlBevelButtonAlignTextCenter = 1;
- public static final int kControlBevelButtonAlignTextFlushRight = -1;
- public static final int kControlBevelButtonAlignTextFlushLeft = -2;
- public static final int kControlBevelButtonNormalBevelProc = 33;
- public static final int kControlBevelButtonSmallBevel = 0;
- public static final int kControlBevelButtonLargeBevel = 2;
- public static final int kControlBevelButtonMenuRefTag = ('m'<<24) + ('h'<<16) + ('n'<<8) + 'd';
- public static final int kControlBevelButtonNormalBevel = 1;
- public static final int kControlBevelButtonPlaceBelowGraphic = 3;
- public static final int kControlBevelButtonPlaceToRightOfGraphic = 1;
- public static final int kControlBevelButtonKindTag = ('b'<<24) + ('e'<<16) + ('b'<<8) + 'k';
- public static final int kControlBevelButtonTextAlignTag = ('t'<<24) + ('a'<<16) + ('l'<<8) + 'i';
- public static final int kControlBevelButtonTextPlaceTag = ('t'<<24) + ('p'<<16) + ('l'<<8) + 'c';
- public static final int kControlBevelButtonGraphicAlignTag = ('g'<<24) + ('a'<<16) + ('l'<<8) + 'i';
- public static final int kControlBoundsChangeSizeChanged = 1 << 2;
- public static final int kControlBoundsChangePositionChanged = 1 << 3;
- public static final int kControlClockTypeHourMinute = 0;
- public static final int kControlClockTypeHourMinuteSecond = 1;
- public static final int kControlClockTypeMonthDayYear = 2;
- public static final int kControlClockTypeMonthYear = 3;
- public static final int kControlClockFlagStandard = 0;
- public static final int kControlClockFlagDisplayOnly = 1;
- public static final int kControlClockFlagLive = 2;
- public static final int kControlClockLongDateTag = ('d'<<24) + ('a'<<16) + ('t'<<8) + 'e';
- public static final int kControlCheckBoxAutoToggleProc = 371;
- public static final int kControlContentCGImageRef = 134;
- public static final int kControlContentCIconHandle = 130;
- public static final int kControlContentIconRef = 132;
- public static final int kControlContentMetaPart = -2;
- public static final int kControlContentTextOnly = 0;
- public static final int kControlDataBrowserIncludesFrameAndFocusTag = ('b'<<24) + ('r'<<16) + ('d'<<8) + 'r';
- public static final int kControlDownButtonPart = 21;
- public static final int kControlEditTextCFStringTag = ('c'<<24) + ('f'<<16) + ('s'<<8) + 't';
- public static final int kControlEditTextLockedTag = ('l'<<24) + ('o'<<16) + ('c'<<8) + 'k';
- public static final int kControlEditTextSingleLineTag = ('s'<<24) + ('g'<<16) + ('l'<<8) + 'c';
- public static final int kControlEditTextSelectionTag = ('s'<<24) + ('e'<<16) + ('l'<<8) + 'e';
- public static final int kControlEditTextTextTag = ('t'<<24) + ('e'<<16) + ('x'<<8) + 't';
- public static final int kControlEditTextInsertCFStringRefTag = ('i'<<24) + ('n'<<16) + ('c'<<8) + 'f';
- public static final int kControlEditTextPasswordCFStringTag = ('p'<<24) + ('w'<<16) + ('c'<<8) + 'f';
- public static final int kControlEditTextPart = 5;
- public static final int kControlEntireControl = 0;
- public static final int kControlFocusNoPart = 0;
- public static final int kControlFontStyleTag = ('f'<<24) + ('o'<<16) + ('n'<<8) + 't';
- public static final int kControlGetsFocusOnClick = 1 << 8;
- public static final int kControlGroupBoxTextTitleProc = 160;
- public static final int kControlHandlesTracking = 1 << 5;
- public static final int kControlIconTransformTag = ('t'<<24) + ('r'<<16) + ('f'<<8) + 'm';
- public static final int kControlIndicatorPart = 129;
- public static final int kControlKindScrollBar = ('s'<<24) + ('b'<<16) + ('a'<<8) + 'r';
- public static final int kControlMsgApplyTextColor = 30;
- public static final int kControlMsgSetUpBackground = 23;
- public static final int kControlPageDownPart = 23;
- public static final int kControlPageUpPart = 22;
- public static final int kControlPopupArrowEastProc = 192;
- public static final int kControlPopupArrowOrientationEast = 0;
- public static final int kControlPopupArrowOrientationWest = 1;
- public static final int kControlPopupArrowOrientationNorth = 2;
- public static final int kControlPopupArrowOrientationSouth = 3;
- public static final int kControlPopupArrowSizeNormal = 0;
- public static final int kControlPopupArrowSizeSmall = 1;
- public static final int kControlPopupButtonProc = 400;
- public static final int kControlProgressBarIndeterminateTag = ('i'<<24) + ('n'<<16) + ('d'<<8) + 'e';
- public static final int kControlProgressBarProc = 80;
- public static final int kControlPushButtonProc = 368;
- public static final int kControlRadioButtonAutoToggleProc = 372;
- public static final int kControlScrollBarLiveProc = 386;
- public static final int kControlSearchFieldCancelPart = 30;
- public static final int kControlSearchFieldMenuPart = 31;
- public static final int kControlSeparatorLineProc = 144;
- public static final int kControlSizeTag = ('s'<<24) + ('i'<<16) + ('z'<<8) + 'e';
- public static final int kControlSizeSmall = 1;
- public static final int kControlSliderLiveFeedback = (1 << 0);
- public static final int kControlSliderNonDirectional = (1 << 3);
- public static final int kControlSliderProc = 48;
- public static final int kControlClickableMetaPart = -4;
- public static final int kControlStructureMetaPart = -1;
- public static final int kControlSupportsEmbedding = 1 << 1;
- public static final int kControlSupportsFocus = 1 << 2;
- public static final int kControlStaticTextIsMultilineTag = ('s'<<24) + ('t'<<16) + ('i'<<8) + 'm';
- public static final int kControlStaticTextCFStringTag = ('c'<<24) + ('f'<<16) + ('s'<<8) + 't';
- public static final int kControlTabContentRectTag = ('r'<<24) + ('e'<<16) + ('c'<<8) + 't';
- public static final int kControlTabDirectionNorth = 0;
- public static final int kControlTabDirectionSouth = 1;
- public static final int kControlTabImageContentTag = ('c'<<24) + ('o'<<16) + ('n'<<8) + 't';
- public static final int kControlTabInfoVersionOne = 1;
- public static final int kControlTabInfoTag = ('t'<<24) + ('a'<<16) + ('b'<<8) + 'i';
- public static final int kControlTabSizeLarge = 0;
- public static final int kControlTabSmallProc = 129;
- public static final int kControlUpButtonPart = 20;
- public static final int kControlUserPaneDrawProcTag = ('d'<<24) + ('r'<<16) + ('a'<<8) + 'w';
- public static final int kControlUserPaneHitTestProcTag = ('h'<<24) + ('i'<<16) + ('t'<<8) + 't';
- public static final int kControlUserPaneProc = 256;
- public static final int kControlUserPaneTrackingProcTag = ('t'<<24) + ('r'<<16) + ('a'<<8) + 'k';
- public static final int kControlUseBackColorMask = 16;
- public static final int kControlUseFontMask = 0x1;
- public static final int kControlUseForeColorMask = 8;
- public static final int kControlUseJustMask = 0x0040;
- public static final int kControlUseSizeMask = 0x4;
- public static final int kControlUseThemeFontIDMask = 0x80;
- public static final int kControlUseFaceMask = 0x2;
- public static final int kControlWantsActivate = 1 << 4;
- public static final int kCurrentProcess = 2;
- public static final int kDataBrowserAttributeListViewAlternatingRowColors = (1 << 1);
- public static final int kDataBrowserAttributeListViewDrawColumnDividers = (1 << 2);
- public static final int kDataBrowserCheckboxType = ('c'<<24) + ('h'<<16) + ('b'<<8) + 'x';
- public static final int kDataBrowserCmdTogglesSelection = 1 << 3;
- public static final int kDataBrowserContainerClosed = 10;
- public static final int kDataBrowserContainerClosing = 9;
- public static final int kDataBrowserContainerIsClosableProperty = 6;
- public static final int kDataBrowserContainerIsOpen = 1 << 1;
- public static final int kDataBrowserContainerIsOpenableProperty = 5;
- public static final int kDataBrowserContainerIsSortableProperty = 7;
- public static final int kDataBrowserContainerOpened = 8;
- public static final int kDataBrowserCustomType = 0x3F3F3F3F;
- public static final int kDataBrowserDefaultPropertyFlags = 0;
- public static final int kDataBrowserDragSelect = 1 << 0;
- public static final int kDataBrowserIconAndTextType = ('t'<<24) + ('i'<<16) + ('c'<<8) + 'n';
- public static final int kDataBrowserItemAnyState = -1;
- public static final int kDataBrowserItemIsActiveProperty = 1;
- public static final int kDataBrowserItemIsContainerProperty = 4;
- public static final int kDataBrowserItemIsDragTarget = 1 << 2;
- public static final int kDataBrowserItemIsEditableProperty = 3;
- public static final int kDataBrowserItemIsSelectableProperty = 2;
- public static final int kDataBrowserItemIsSelected = 1 << 0;
- public static final int kDataBrowserItemNoProperty = 0;
- public static final int kDataBrowserItemParentContainerProperty = 11;
- public static final int kDataBrowserItemsAdd = 0;
- public static final int kDataBrowserItemsAssign = 1;
- public static final int kDataBrowserItemsRemove = 3;
- public static final int kDataBrowserItemRemoved = 2;
- public static final int kDataBrowserItemSelected = 5;
- public static final int kDataBrowserItemDeselected = 6;
- public static final int kDataBrowserItemDoubleClicked = 7;
- public static final int kDataBrowserLatestCallbacks = 0;
- public static final int kDataBrowserLatestCustomCallbacks = 0;
- public static final int kDataBrowserListView = ('l'<<24) + ('s'<<16) + ('t'<<8) + 'v';
- public static final int kDataBrowserListViewLatestHeaderDesc = 0;
- public static final int kDataBrowserListViewMovableColumn = 1 << OS.kDataBrowserViewSpecificFlagsOffset + 1;
- public static final int kDataBrowserListViewSelectionColumn = 1 << OS.kDataBrowserViewSpecificFlagsOffset;
- public static final int kDataBrowserListViewSortableColumn = 1 << 18;
- public static final int kDataBrowserNeverEmptySelectionSet = 1 << 6;
- public static final int kDataBrowserMetricCellContentInset = 1;
- public static final int kDataBrowserMetricIconAndTextGap = 2;
- public static final int kDataBrowserMetricDisclosureColumnEdgeInset = 3;
- public static final int kDataBrowserMetricDisclosureTriangleAndContentGap = 4;
- public static final int kDataBrowserMetricDisclosureColumnPerDepthGap = 5;
- public static final int kDataBrowserNoItem = 0;
- public static final int kDataBrowserOrderUndefined = 0;
- public static final int kDataBrowserOrderIncreasing = 1;
- public static final int kDataBrowserOrderDecreasing = 2;
- public static final int kDataBrowserPropertyEnclosingPart = 0;
- public static final int kDataBrowserPropertyContentPart = ('-'<<24) + ('-'<<16) + ('-'<<8) + '-';
- public static final int kDataBrowserPropertyDisclosurePart = ('d'<<24) + ('i'<<16) + ('s'<<8) + 'c';
- public static final int kDataBrowserPropertyIsMutable = 1 << 0;
- public static final int kDataBrowserRevealOnly = 0;
- public static final int kDataBrowserRevealAndCenterInView = 1 << 0;
- public static final int kDataBrowserRevealWithoutSelecting = 1 << 1;
- public static final int kDataBrowserSelectOnlyOne = 1 << 1;
- public static final int kDataBrowserUserStateChanged = 13;
- public static final int kDataBrowserUserToggledContainer = 16;
- public static final int kDataBrowserTextType = ('t'<<24) + ('e'<<16) + ('x'<<8) + 't';
- public static final int kDataBrowserTableViewFillHilite = 1;
- public static final int kDataBrowserAttributeAutoHideScrollBars = 1 << 3;
- public static final int kDataBrowserViewSpecificFlagsOffset = 16;
- public static final int kDocumentWindowClass = 6;
- public static final int kDragActionNothing = 0;
- public static final int kDragActionCopy = 1;
- public static final int kDragActionAlias = 1 << 1;
- public static final int kDragActionGeneric = 1 << 2;
- public static final int kDragActionPrivate = 1 << 3;
- public static final int kDragActionMove = 1 << 4;
- public static final int kDragActionDelete = 1 << 5;
- public static final int kDragActionAll = 0xFFFFFFFF;
- public static final int kDragStandardTranslucency = 0;
- public static final int kDragTrackingEnterHandler = 1;
- public static final int kDragTrackingEnterWindow = 2;
- public static final int kDragTrackingInWindow = 3;
- public static final int kDragTrackingLeaveWindow = 4;
- public static final int kDragTrackingLeaveHandler = 5;
- public static final int kEventAppleEvent = 1;
- public static final int kEventAppAvailableWindowBoundsChanged = 110;
- public static final int kEventAttributeUserEvent = 1 << 0;
- public static final int kEventClassAppleEvent = ('e'<<24) + ('p'<<16) + ('p'<<8) + 'c';
- public static final int kEventClassApplication = ('a'<<24) + ('p'<<16) + ('p'<<8) + 'l';
- public static final int kEventClassCommand = ('c'<<24) + ('m'<<16) + ('d'<<8) + 's';
- public static final int kEventClassClockView = ('c'<<24) + ('l'<<16) + ('o'<<8) + 'c';
- public static final int kEventClassControl = ('c'<<24) + ('n'<<16) + ('t'<<8) + 'l';
- public static final int kEventClassFont= ('f'<<24) + ('o'<<16) + ('n'<<8) + 't';
- public static final int kEventClassHIObject = ('h'<<24) + ('i'<<16) + ('o'<<8) + 'b';
- public static final int kEventClassKeyboard = ('k'<<24) + ('e'<<16) + ('y'<<8) + 'b';
- public static final int kEventClassMenu = ('m'<<24) + ('e'<<16) + ('n'<<8) + 'u';
- public static final int kEventClassMouse = ('m'<<24) + ('o'<<16) + ('u'<<8) + 's';
- public static final int kEventClassScrollable = ('s'<<24) + ('c'<<16) + ('r'<<8) + 'l';
- public static final int kEventClassSearchField = ('s'<<24) + ('r'<<16) + ('f'<<8) + 'd';
- public static final int kEventClassTextInput = ('t'<<24) + ('e'<<16) + ('x'<<8) + 't';
- public static final int kEventClassWindow = ('w'<<24) + ('i'<<16) + ('n'<<8) + 'd';
- public static final int kEventClockDateOrTimeChanged = 1;
- public static final int kEventControlApplyBackground = 5;
- public static final int kEventControlActivate = 9;
- public static final int kEventControlAddedSubControl = 152;
- public static final int kEventControlBoundsChanged = 154;
- public static final int kEventControlClick = 13;
- public static final int kEventControlContextualMenuClick = 12;
- public static final int kEventControlDeactivate = 10;
- public static final int kEventControlDraw = 4;
- public static final int kControlFocusNextPart = -1;
- public static final int kEventControlGetClickActivation = 17;
- public static final int kEventControlGetFocusPart = 8;
- public static final int kEventControlGetPartRegion = 101;
- public static final int kEventControlHit = 1;
- public static final int kEventControlHitTest = 3;
- public static final int kEventControlSetCursor = 11;
- public static final int kEventControlSetFocusPart = 7;
- public static final int kEventParamControlRegion = ('c'<<24) + ('r'<<16) + ('g'<<8) + 'n';
- public static final int kEventParamControlSubControl = ('c'<<24) + ('s'<<16) + ('u'<<8) + 'b';
- public static final int kEventControlRemovingSubControl = 153;
- public static final int kEventControlOwningWindowChanged = 159;
- public static final int kEventControlVisibilityChanged = 157;
- public static final int kEventControlTrack = 51;
- public static final int kEventPriorityStandard = 1;
- public static final double kEventDurationForever = -1.0;
- public static final double kEventDurationNoWait = 0.0;
- public static final int kEventParamEventRef = ('e'<<24) + ('v'<<16) + ('n'<<8) + 't';
- public static final int kEventFontSelection = 2;
- public static final int kEventFontPanelClosed = 1;
- public static final int kEventParamGrafPort = ('g'<<24) + ('r'<<16) + ('a'<<8) + 'f';
- public static final int kEventHIObjectConstruct = 1;
- public static final int kEventHIObjectDestruct = 3;
- public static final int kEventMenuCalculateSize = 1004;
- public static final int kEventMenuClosed = 5;
- public static final int kEventMenuCreateFrameView = 1005;
- public static final int kEventMenuDrawItem = 102;
- public static final int kEventMenuDrawItemContent = 103;
- public static final int kEventMenuGetFrameBounds = 1006;
- public static final int kEventMenuMatchKey = 7;
- public static final int kEventMenuMeasureItemWidth = 100;
- public static final int kEventMenuOpening = 4;
- public static final int kEventMenuPopulate = 9;
- public static final int kEventMenuTargetItem = 6;
- public static final int kEventMouseButtonPrimary = 1;
- public static final int kEventMouseButtonSecondary = 2;
- public static final int kEventMouseButtonTertiary = 3;
- public static final int kEventMouseDown = 1;
- public static final int kEventMouseDragged = 6;
- public static final int kEventMouseEntered = 8;
- public static final int kEventMouseExited = 9;
- public static final int kEventMouseMoved = 5;
- public static final int kEventMouseUp = 2;
- public static final int kEventMouseWheelAxisX = 0;
- public static final int kEventMouseWheelAxisY = 1;
- public static final int kEventMouseWheelMoved = 10;
- public static final int kEventParamAEEventClass = ('e'<<24) + ('v'<<16) + ('c'<<8) + 'l';
- public static final int kEventParamAEEventID = ('e'<<24) + ('v'<<16) + ('t'<<8) + 'i';
- public static final int kEventParamATSUFontID = ('a'<<24) + ('u'<<16) + ('i'<<8) + 'd';
- public static final int kEventParamATSUFontSize = ('a'<<24) + ('u'<<16) + ('s'<<8) + 'z';
- public static final int kEventParamAttributes = ('a'<<24) + ('t'<<16) + ('t'<<8) + 'r';
- public static final int kEventParamBounds = ('b'<<24) + ('o'<<16) + ('u'<<8) + 'n';
- public static final int kEventParamCGContextRef = ('c'<<24) + ('n'<<16) + ('t'<<8) + 'x';
- public static final int kEventParamClickActivation = ('c'<<24) + ('l'<<16) + ('a'<<8) + 'c';
- public static final int kEventParamClickCount = ('c'<<24) + ('c'<<16) + ('n'<<8) + 't';
- public static final int kEventParamControlPart= ('c'<<24) + ('p'<<16) + ('r'<<8) + 't';
- public static final int kEventParamControlRef = ('c'<<24) + ('t'<<16) + ('r'<<8) + 'l';
- public static final int kEventParamCurrentBounds = ('c'<<24) + ('r'<<16) + ('c'<<8) + 't';
- public static final int kEventParamDirectObject = ('-'<<24) + ('-'<<16) + ('-'<<8) + '-';
- public static final int kEventParamDictionary = ('d'<<24) + ('i'<<16) + ('c'<<8) + 't';
- public static final int kEventParamFMFontFamily = ('f'<<24) + ('m'<<16) + ('f'<<8) + 'm';
- public static final int kEventParamFMFontStyle = ('f'<<24) + ('m'<<16) + ('s'<<8) + 't';
- public static final int kEventParamFMFontSize = ('f'<<24) + ('m'<<16) + ('s'<<8) + 'z';
- public static final int kEventParamFontColor = ('f'<<24) + ('c'<<16) + ('l'<<8) + 'r';
- public static final int kEventParamKeyCode = ('k'<<24) + ('c'<<16) + ('o'<<8) + 'd';
- public static final int kEventParamKeyMacCharCodes = ('k'<<24) + ('c'<<16) + ('h'<<8) + 'r';
- public static final int kEventParamKeyModifiers = ('k'<<24) + ('m'<<16) + ('o'<<8) + 'd';
- public static final int kEventParamMenuCommand = ('m'<<24) + ('c'<<16) + ('m'<<8) + 'd';
- public static final int kEventParamMenuItemIndex = ('i'<<24) + ('t'<<16) + ('e'<<8) + 'm';
- public static final int kEventParamMenuItemBounds = ('m'<<24) + ('i'<<16) + ('t'<<8) + 'b';
- public static final int kEventParamMenuItemWidth = ('m'<<24) + ('i'<<16) + ('t'<<8) + 'w';
- public static final int kEventParamModalClickResult = ('w'<<24) + ('m'<<16) + ('c'<<8) + 'r';
- public static final int kEventParamModalWindow = ('m'<<24) + ('w'<<16) + ('i'<<8) + 'n';
- public static final int kEventParamWindowModality = ('w'<<24) + ('m'<<16) + ('o'<<8) + 'd';
- public static final int kEventParamMouseButton = ('m'<<24) + ('b'<<16) + ('t'<<8) + 'n';
- public static final int kEventParamMouseChord = ('c'<<24) + ('h'<<16) + ('o'<<8) + 'r';
- public static final int kEventParamMouseLocation = ('m'<<24) + ('l'<<16) + ('o'<<8) + 'c';
- public static final int kEventParamMouseWheelAxis = ('m'<<24) + ('w'<<16) + ('a'<<8) + 'x';
- public static final int kEventParamMouseWheelDelta = ('m'<<24) + ('w'<<16) + ('d'<<8) + 'l';
- public static final int kEventParamPreviousBounds = ('p'<<24) + ('r'<<16) + ('c'<<8) + 't';
- public static final int kEventParamOrigin = ('o'<<24) + ('r'<<16) + ('g'<<8) + 'n';
- public static final int kEventParamOriginalBounds = ('o'<<24) + ('r'<<16) + ('c'<<8) + 't';
- public static final int kEventParamReason = ('w'<<24) + ('h'<<16) + ('y'<<8) + '?';
- public static final int kEventParamRgnHandle = ('r'<<24) + ('g'<<16) + ('n'<<8) + 'h';
- public static final int kEventParamTextInputReplyLeadingEdge = ('t'<<24) + ('r'<<16) + ('l'<<8) + 'e';
- public static final int kEventParamTextInputReplyPoint = ('t'<<24) + ('r'<<16) + ('p'<<8) + 't';
- public static final int kEventParamTextInputReplyRegionClass = ('t'<<24) + ('r'<<16) + ('r'<<8) + 'g';
- public static final int kEventParamTextInputReplyText = ('t'<<24) + ('r'<<16) + ('t'<<8) + 'x';
- public static final int kEventParamTextInputReplyTextOffset = ('t'<<24) + ('r'<<16) + ('t'<<8) + 'o';
- public static final int kEventParamTextInputSendCurrentPoint = ('t'<<24) + ('s'<<16) + ('c'<<8) + 'p';
- public static final int kEventParamTextInputSendFixLen = ('t'<<24) + ('s'<<16) + ('f'<<8) + 'x';
- public static final int kEventParamTextInputSendHiliteRng = ('t'<<24) + ('s'<<16) + ('h'<<8) + 'i';
- public static final int kEventParamTextInputSendKeyboardEvent = ('t'<<24) + ('s'<<16) + ('k'<<8) + 'e';
- public static final int kEventParamTextInputSendText = ('t'<<24) + ('s'<<16) + ('t'<<8) + 'x';
- public static final int kEventParamKeyUnicodes= ('k'<<24) + ('u'<<16) + ('n'<<8) + 'i';
- public static final int kEventParamWindowDefPart = ('w'<<24) + ('d'<<16) + ('p'<<8) + 'c';
- public static final int kEventParamWindowMouseLocation = ('w'<<24) + ('m'<<16) + ('o'<<8) + 'u';
- public static final int kEventParamWindowRef = ('w'<<24) + ('i'<<16) + ('n'<<8) + 'd';
- public static final int kEventParamWindowRegionCode = ('w'<<24) + ('s'<<16) + ('h'<<8) + 'p';
- public static final int kEventProcessCommand = 1;
- public static final int kEventQueueOptionsNone = 0;
- public static final int kEventRawKeyDown = 1;
- public static final int kEventRawKeyRepeat = 2;
- public static final int kEventRawKeyUp = 3;
- public static final int kEventRawKeyModifiersChanged = 4;
- public static final int kEventSearchFieldCancelClicked = 1;
- public static final int kEventSearchFieldSearchClicked = 2;
- public static final int kEventScrollableScrollTo = 10;
- public static final int kEventTextInputUpdateActiveInputArea = 1;
- public static final int kEventTextInputUnicodeForKeyEvent = 2;
- public static final int kEventTextInputOffsetToPos = 3;
- public static final int kEventTextInputPosToOffset = 4;
- public static final int kEventTextInputGetSelectedText = 6;
- public static final int kEventWindowActivated = 5;
- public static final int kEventWindowBoundsChanged = 27;
- public static final int kEventWindowClose = 72;
- public static final int kEventWindowCollapsing = 86;
- public static final int kEventWindowCollapsed = 67;
- public static final int kEventWindowDeactivated = 6;
- public static final int kEventWindowDrawContent = 2;
- public static final int kEventWindowExpanded = 70;
- public static final int kEventWindowFocusAcquired = 200;
- public static final int kEventWindowFocusRelinquish = 201;
- public static final int kEventWindowGetClickModality = 8;
- public static final int kEventWindowGetRegion = 1002;
- public static final int kEventWindowHidden = 25;
- public static final int kEventWindowHitTest = 1003;
- public static final int kEventWindowShown = 24;
- public static final int kEventWindowToolbarSwitchMode = 150;
- public static final int kEventWindowUpdate = 1;
- public static final int kFMIterationCompleted = -980;
- public static final int kFloatingWindowClass = 5;
- public static final int kFontFamilyName = 1;
- public static final int kFontNoPlatformCode = -1;
- public static final int kFontNoScriptCode = -1;
- public static final int kFontNoLanguageCode = -1;
- public static final int kFontUnicodePlatform = 0;
- public static final int kFontSelectionQDStyleVersionZero = 0;
- public static final int kFontSelectionATSUIType = ('a'<<24) + ('s'<<16) + ('t'<<8) + 'l';
- public static final int kFontSelectionQDType = ('q'<<24) + ('s'<<16) + ('t'<<8) + 'l';
- public static final int kHIComboBoxAutoCompletionAttribute = (1 << 0);
- public static final int kHIComboBoxAutoDisclosureAttribute = (1 << 1);
- public static final int kHIComboBoxAutoSizeListAttribute = (1 << 3);
- public static final int kHIComboBoxEditTextPart = 5;
- public static final int kHIComboBoxNumVisibleItemsTag = ('c'<<24) + ('b'<<16) + ('n'<<8) + 'i';
- public static final int kHICommandFromMenu = 1 << 0;
- public static final int kHICommandQuit = ('q'<<24) + ('u'<<16) + ('i'<<8) + 't';
- public static final int kHILayoutBindMin = 1;
- public static final int kHILayoutBindMax= 2;
- public static final int kHIModalClickIsModal = 1 << 0;
- public static final int kHIModalClickAllowEvent = 1 << 1;
- public static final int kHIModalClickAnnounce = 1 << 2;
- public static final int kHIScrollViewOptionsVertScroll = (1 << 0);
- public static final int kHIScrollViewOptionsHorizScroll = (1 << 1);
- public static final int kHIScrollViewOptionsAllowGrow = (1 << 2);
- public static final int kHIThemeFrameTextFieldSquare = 0;
- public static final int kHIThemeGroupBoxKindPrimary = 0;
- public static final int kKLKCHRuchrKind = 0;
- public static final int kKLKCHRKind = 1;
- public static final int kKLuchrKind = 2;
- public static final int kKLKind = 7;
- public static final int kKLuchrData = 1;
- public static final int kUCKeyActionDown = 0;
- public static final int kHIThemeFrameListBox = 1;
- public static final int kRedrawHighlighting = 1;
- public static final int kTSMOutsideOfBody = 1;
- public static final int kTSMInsideOfBody = 2;
- public static final int kTSMInsideOfActiveInputArea = 3;
- public static final int kThemeComboBox = 16;
- public static final int kThemeLeftOutsideArrowPressed = 0x01;
- public static final int kThemeLeftInsideArrowPressed = 0x02;
- public static final int kThemeLeftTrackPressed = 0x04;
- public static final int kThemePopupButton = 5;
- public static final int kThemeThumbPressed = 0x08;
- public static final int kThemeRightTrackPressed = 0x10;
- public static final int kThemeRightInsideArrowPressed = 0x20;
- public static final int kThemeRightOutsideArrowPressed = 0x40;
- public static final int kThemeScrollBarMedium = 0;
- public static final int kThemeSliderMedium = 2;
- public static final int kThemeProgressBarMedium = 3;
- public static final int kThemeTrackActive = 0;
- public static final int kThemeTrackDisabled = 1;
- public static final int kThemeTrackNothingToScroll = 2;
- public static final int kThemeTrackInactive = 3;
- public static final int kThemeTrackHorizontal = (1 << 0);
- public static final int kThemeTrackRightToLeft = (1 << 1);
- public static final int kThemeTrackShowThumb = (1 << 2);
- public static final int kThemeTrackThumbRgnIsNotGhost = (1 << 3);
- public static final int kThemeTrackNoScrollBarArrows = (1 << 4);
- public static final int kThemeTrackHasFocus = (1 << 5);
- public static final int kThemeTabNonFront = 0;
- public static final int kThemeTabNonFrontPressed = 1;
- public static final int kThemeTabNonFrontInactive = 2;
- public static final int kThemeTabFront = 3;
- public static final int kThemeTabFrontInactive = 4;
- public static final int kThemeTabNonFrontUnavailable = 5;
- public static final int kThemeTabFrontUnavailable = 6;
- public static final int kThemeTabNorth = 0;
- public static final int kThemeTabSouth = 1;
- public static final int kThemeTabEast = 2;
- public static final int kThemeTabWest = 3;
- public static final int kThemeTextColorMenuItemDisabled = 36;
- public static final int kHIThemeOrientationNormal = 0;
- public static final int kHIThemeOrientationInverted = 1;
- public static final int kHIThemeTextHorizontalFlushLeft = 0;
- public static final int kHIThemeTextHorizontalFlushCenter = 1;
- public static final int kHIThemeTextHorizontalFlushRight = 2;
- public static final int kHIThemeTextVerticalFlushTop = 0;
- public static final int kHIThemeTextVerticalFlushCenter = 1;
- public static final int kHIThemeTextVerticalFlushBottom = 2;
- public static final int kHIThemeTabPositionFirst = 0;
- public static final int kHIThemeTabPositionMiddle = 1;
- public static final int kHIThemeTabPositionLast = 2;
- public static final int kHIThemeTabPositionOnly = 3;
- public static final int kHIThemeTabAdornmentFocus = 1 << 2;
- public static final int kHIThemeTabAdornmentTrailingSeparator = 1 << 4;
- public static final int kHIViewFeatureIsOpaque = 1 << 25;
- public static final int kHIViewZOrderAbove = 1;
- public static final int kHIViewZOrderBelow = 2;
- public static final int kHITransformNone = 0x00;
- public static final int kHITransformDisabled = 0x01;
- public static final int kHITransformSelected = 0x4000;
- public static final int kHMCFStringContent = ('c'<<24) + ('f'<<16) + ('s'<<8) + 't';
- public static final int kHMOutsideBottomRightAligned = 10;
- public static final int kHMAbsoluteCenterAligned = 23;
- public static final int kHMContentProvided = 0;
- public static final int kHMContentNotProvided = -1;
- public static final int kHMContentNotProvidedDontPropagate = -2;
- public static final int kHMDefaultSide = 0;
- public static final int kHMDisposeContent = 1;
- public static final int kHMSupplyContent = 0;
- public static final int kHelpWindowClass = 10;
- public static final int kInvalidFontFamily = -1;
- public static final int kLarge1BitMask = ('I'<<24) + ('C'<<16) + ('N'<<8) + '#';
- public static final int kLarge4BitData = ('i'<<24) + ('c'<<16) + ('l'<<8) + '4';
- public static final int kLarge8BitData = ('i'<<24) + ('c'<<16) + ('l'<<8) + '8';
- public static final int kLarge32BitData = ('i'<<24) + ('l'<<16) + ('3'<<8) + '2';
- public static final int kLarge8BitMask = ('l'<<24) + ('8'<<16) + ('m'<<8) + 'k';
- public static final int kSmall1BitMask = ('i'<<24) + ('c'<<16) + ('s'<<8) + '#';
- public static final int kSmall4BitData = ('i'<<24) + ('c'<<16) + ('s'<<8) + '4';
- public static final int kSmall8BitData = ('i'<<24) + ('c'<<16) + ('s'<<8) + '8';
- public static final int kSmall32BitData = ('i'<<24) + ('s'<<16) + ('3'<<8) + '2';
- public static final int kSmall8BitMask = ('s'<<24) + ('8'<<16) + ('m'<<8) + 'k';
- public static final int kMini1BitMask = ('i'<<24) + ('c'<<16) + ('m'<<8) + '#';
- public static final int kMini4BitData = ('i'<<24) + ('c'<<16) + ('m'<<8) + '4';
- public static final int kMini8BitData = ('i'<<24) + ('c'<<16) + ('m'<<8) + '8';
- public static final int kThumbnail32BitData = ('i'<<24) + ('t'<<16) + ('3'<<8) + '2';
- public static final int kThumbnail8BitMask = ('t'<<24) + ('8'<<16) + ('m'<<8) + 'k';
- public static final int kHuge1BitMask = ('i'<<24) + ('c'<<16) + ('h'<<8) + '#';
- public static final int kHuge4BitData = ('i'<<24) + ('c'<<16) + ('h'<<8) + '4';
- public static final int kHuge8BitData = ('i'<<24) + ('c'<<16) + ('h'<<8) + '8';
- public static final int kHuge32BitData = ('i'<<24) + ('h'<<16) + ('3'<<8) + '2';
- public static final int kHuge8BitMask = ('h'<<24) + ('8'<<16) + ('m'<<8) + 'k';
- public static final int kLigaturesType = 1;
- public static final int kQDParseRegionFromTop = (1 << 0);
- public static final int kQDParseRegionFromBottom = (1 << 1);
- public static final int kQDParseRegionFromLeft = (1 << 2);
- public static final int kQDParseRegionFromRight = (1 << 3);
- public static final int kQDParseRegionFromTopLeft = kQDParseRegionFromTop | kQDParseRegionFromLeft;
- public static final int kQDRegionToRectsMsgInit = 1;
- public static final int kQDRegionToRectsMsgParse = 2;
- public static final int kQDRegionToRectsMsgTerminate = 3;
- public static final int kRequiredLigaturesOffSelector = 1;
- public static final int kCommonLigaturesOffSelector = 3;
- public static final int kRareLigaturesOffSelector = 5;
- public static final int kLogosOffSelector = 7;
- public static final int kLSLaunchDefaults = 0x00000001;
- public static final int kLSUnknownType = 0;
- public static final int kLSUnknownCreator = 0;
- public static final int kLSRolesAll = 0xFFFFFFFF;
- public static final int kRebusPicturesOffSelector = 9;
- public static final int kDiphthongLigaturesOffSelector = 11;
- public static final int kSquaredLigaturesOffSelector = 13;
- public static final int kAbbrevSquaredLigaturesOffSelector = 15;
- public static final int kMacHelpVersion = 3;
- public static final int kMenuBlankGlyph = 97;
- public static final int kMenuCapsLockGlyph = 99;
- public static final int kMenuCGImageRefType = 7;
- public static final int kMenuCheckmarkGlyph = 18;
- public static final int kMenuClearGlyph = 28;
- public static final int kMenuCommandGlyph = 17;
- public static final int kMenuContextualMenuGlyph = 109;
- public static final int kMenuControlGlyph = 6;
- public static final int kMenuControlISOGlyph = 138;
- public static final int kMenuControlModifier = 4;
- public static final int kMenuDeleteLeftGlyph = 23;
- public static final int kMenuDeleteRightGlyph = 10;
- public static final int kMenuDiamondGlyph = 19;
- public static final int kMenuDownArrowGlyph = 106;
- public static final int kMenuDownwardArrowDashedGlyph = 16;
- public static final int kMenuEnterGlyph = 4;
- public static final int kMenuEscapeGlyph = 27;
- public static final int kMenuEventIncludeDisabledItems = 0x0001;
- public static final int kMenuEventQueryOnly = 0x0002;
- public static final int kMenuEventDontCheckSubmenus = 0x0004;
- public static final int kMenuF10Glyph = 120;
- public static final int kMenuF11Glyph = 121;
- public static final int kMenuF12Glyph = 122;
- public static final int kMenuF13Glyph = 135;
- public static final int kMenuF14Glyph = 136;
- public static final int kMenuF15Glyph = 137;
- public static final int kMenuF1Glyph = 111;
- public static final int kMenuF2Glyph = 112;
- public static final int kMenuF3Glyph = 113;
- public static final int kMenuF4Glyph = 114;
- public static final int kMenuF5Glyph = 115;
- public static final int kMenuF6Glyph = 116;
- public static final int kMenuF7Glyph = 117;
- public static final int kMenuF8Glyph = 118;
- public static final int kMenuF9Glyph = 119;
- public static final int kMenuHelpGlyph = 103;
- public static final int kMenuItemAttrCustomDraw = 1 << 11;
- public static final int kMenuItemAttrAutoRepeat = 1 << 9;
- public static final int kMenuItemAttrSeparator = 64;
- public static final int kMenuLeftArrowDashedGlyph = 24;
- public static final int kMenuLeftArrowGlyph = 100;
- public static final int kMenuNoCommandModifier = (1 << 3);
- public static final int kMenuNoIcon = 0;
- public static final int kMenuNoModifiers = 0;
- public static final int kMenuNonmarkingReturnGlyph = 13;
- public static final int kMenuNorthwestArrowGlyph = 0x66;
- public static final int kMenuNullGlyph = 0;
- public static final int kMenuOptionGlyph = 7;
- public static final int kMenuOptionModifier = (1 << 1);
- public static final int kMenuPageDownGlyph = 107;
- public static final int kMenuPageUpGlyph = 98;
- public static final int kMenuPencilGlyph = 15;
- public static final int kMenuPowerGlyph = 110;
- public static final int kMenuReturnGlyph = 11;
- public static final int kMenuReturnR2LGlyph = 12;
- public static final int kMenuRightArrowDashedGlyph = 26;
- public static final int kMenuRightArrowGlyph = 101;
- public static final int kMenuShiftGlyph = 5;
- public static final int kMenuShiftModifier = (1 << 0);
- public static final int kMenuSoutheastArrowGlyph = 0x69;
- public static final int kMenuSpaceGlyph = 9;
- public static final int kMenuTabRightGlyph = 2;
- public static final int kMenuUpArrowDashedGlyph = 25;
- public static final int kMenuUpArrowGlyph = 104;
- public static final int kMouseTrackingMouseDown= 1;
- public static final int kMouseTrackingMouseUp= 2;
- public static final int kMouseTrackingMouseExited = 3;
- public static final int kMouseTrackingMouseEntered = 4;
- public static final int kMouseTrackingMouseDragged= 5;
- public static final int kMouseTrackingMouseKeyModifiersChanged= 6;
- public static final int kMouseTrackingUserCancelled= 7;
- public static final int kMouseTrackingTimedOut= 8;
- public static final int kMouseTrackingMouseMoved= 9;
- public static final int kModalWindowClass = 3;
- public static final int kMovableModalWindowClass = 4;
- public static final int kNavAllowInvisibleFiles = 0x00000100;
- public static final int kNavAllowMultipleFiles = 0x00000080;
- public static final int kNavAllowOpenPackages = 0x00002000;
- public static final int kNavCBNewLocation = 5;
- public static final int kNavCBPopupMenuSelect = 8;
- public static final int kNavCtlSelectCustomType = 21;
- public static final int kNavCtlSetLocation = 8;
- public static final int kNavFilteringBrowserList = 0;
- public static final int kNavGenericSignature = ('*'<<24) + ('*'<<16) + ('*'<<8) + '*';
- public static final int kNavSupportPackages = 0x00001000;
- public static final int kNavDontConfirmReplacement = 0x00010000;
- public static final int kNavUserActionCancel = 1;
- public static final int kNavUserActionChoose = 4;
- public static final int kNavUserActionOpen = 2;
- public static final int kNavUserActionSaveAs = 3;
- public static final short kOnSystemDisk = -32768;
- public static final int kOverlayWindowClass = 14;
- public static final int kPMCancel = 0x0080;
- public static final int kPMDestinationFax = 3;
- public static final int kPMDestinationFile = 2;
- public static final int kPMDestinationPreview = 4;
- public static final int kPMDestinationPrinter = 1;
- public static final short kPMLandscape = 2;
- public static final short kPMPortrait = 1;
- public static final int kPMPrintAllPages = 2147483647;
- public static final int kPMShowDefaultInlineItems = 1 << 15;
- public static final int kPMShowPageAttributesPDE = 1 << 8;
- public static final int kQDUseCGTextMetrics = (1 << 2);
- public static final int kQDUseCGTextRendering = (1 << 1);
- public static final int kScrapFlavorTypeUTF16External = ('u'<<24) + ('t'<<16) + ('1'<<8) + '6';
- public static final int kScrapFlavorTypeText = ('T'<<24) + ('E'<<16) + ('X'<<8) + 'T';
- public static final boolean kScrollBarsSyncAlwaysActive = true;
- public static final boolean kScrollBarsSyncWithFocus = false;
- public static final int kHISearchFieldNoAttributes = 0;
- public static final int kHISearchFieldAttributesCancel = 1 << 0;
- public static final int kHISearchFieldAttributesSearchIcon = 1 << 1;
- public static final int kSelectorAlLAvailableData = 0xFFFFFFFF;
- public static final int kSetFrontProcessFrontWindowOnly = 1 << 0;
- public static final int kSheetWindowClass = 11;
- public static final int kStdCFStringAlertVersionOne = 1;
- public static final int kSystemIconsCreator = ('m'<<24) + ('a'<<16) + ('c'<<8) + 's';
- public static final int kSymbolLigaturesOffSelector = 17;
- public static final int kControlSliderDoesNotPoint = 2;
- public static final int kTXNViewRectKey = 0;
- public static final int kTXNDestinationRectKey = 1;
- public static final int kTXNTextRectKey = 2;
- public static final int kTXNVerticalScrollBarRectKey = 3;
- public static final int kTXNHorizontalScrollBarRectKey = 4;
- public static final int kTXNAlwaysWrapAtViewEdgeMask = 1 << 11;
- public static final int kTXNBackgroundTypeRGB = 1;
- public static final int kTXNDefaultFontSize = 0x000C0000;
- public static final int kTXNDefaultFontStyle = 0;
- public static final int kTXNDefaultFontName = 0;
- public static final int kTXNFlushLeft = 1;
- public static final int kTXNFlushRight = 2;
- public static final int kTXNCenter = 4;
- public static final int kTXNDisableDragAndDropTag = ('d'<<24) + ('r'<<16) + ('a'<<8) + 'g';
- public static final int kTXNDoFontSubstitution = ('f'<<24) + ('S'<<16) + ('u'<<8) + 'b';
- public static final int kTXNDontDrawCaretWhenInactiveMask = 1 << 12;
- public static final int kTXNDrawCaretWhenInactiveTag = ('d'<<24)+('c'<<16)+('r'<<8)+'t';
- public static final int kTXNEndOffset = 2147483647;
- public static final int kTXNIOPrivilegesTag = ('i'<<24) + ('o'<<16) + ('p'<<8) + 'v';
- public static final int kTXNJustificationTag = ('j'<<24) + ('u'<<16) + ('s'<<8) + 't';
- public static final int kTXNMarginsTag = ('m'<<24) + ('a'<<16) + ('r'<<8) + 'g';
- public static final int kTXNMonostyledTextMask = 1 << 17;
- public static final int kTXNQDFontFamilyIDAttribute = ('f'<<24) + ('o'<<16) + ('n'<<8) + 't';
- public static final int kTXNQDFontSizeAttribute = ('s'<<24) + ('i'<<16) + ('z'<<8) + 'e';
- public static final int kTXNQDFontStyleAttribute = ('f'<<24) + ('a'<<16) + ('c'<<8) + 'e';
- public static final int kTXNQDFontColorAttribute = ('k'<<24) + ('l'<<16) + ('o'<<8) + 'r';
- public static final int kTXNQDFontFamilyIDAttributeSize = 2;
- public static final int kTXNQDFontSizeAttributeSize = 2;
- public static final int kTXNQDFontStyleAttributeSize = 2;
- public static final int kTXNQDFontColorAttributeSize = 6;
- public static final int kTXNReadOnlyMask = 1 << 5;
- public static final int kTXNSingleLineOnlyMask = 1 << 14;
- public static final int kTXNStartOffset = 0;
- public static final int kTXNSystemDefaultEncoding = 0;
- public static final int kTXNTabSettingsTag = ('t'<<24) + ('a'<<16) + ('b'<<8) + 's';
- public static final int kTXNTextEditStyleFrameType = 1;
- public static final int kTXNUnicodeTextData = ('u'<<24) + ('t'<<16) + ('x'<<8) + 't';
- public static final int kTXNUnicodeTextFile = ('u'<<24) + ('t'<<16) + ('x'<<8) + 't';
- public static final int kTXNUseCurrentSelection = -1;
- public static final int kTXNVisibilityTag = ('v'<<24) + ('i'<<16) + ('s'<<8) + 'b';
- public static final int kTXNWordWrapStateTag = ('w'<<24) + ('w'<<16) + ('r'<<8) + 's';
- public static final int kTXNAutoScrollBehaviorTag = ('s'<<24) + ('b'<<16) + ('e'<<8) + 'v';
- public static final int kTXNWantHScrollBarMask = 1 << 2;
- public static final int kTXNWantVScrollBarMask = 1 << 3;
- public static final int kTextEncodingMacUnicode = 0x7E;
- public static final int kTextEncodingMacRoman = 0;
- public static final int kTextLanguageDontCare = -128;
- public static final int kTextRegionDontCare = -128;
- public static final int kThemeAdornmentDefault = 1 << 0;
- public static final int kThemeAdornmentFocus = 1 << 2;
- public static final int kThemeAliasArrowCursor = 2;
- public static final int kThemeArrowButton = 4;
- public static final int kThemeArrowCursor = 0;
- public static final int kThemeArrowLeft = 0;
- public static final int kThemeArrowDown = 1;
- public static final int kThemeArrowRight = 2;
- public static final int kThemeArrowUp = 3;
- public static final int kThemeArrow5pt = 1;
- public static final int kThemeArrow9pt = 3;
- public static final int kThemeBevelButtonSmall = 8;
- public static final int kThemeBrushDialogBackgroundActive = 1;
- public static final int kThemeBrushDocumentWindowBackground = 15;
- public static final int kThemeBrushPrimaryHighlightColor = -3;
- public static final int kThemeBrushSecondaryHighlightColor = -4;
- public static final int kThemeBrushButtonFaceActive = 29;
- public static final int kThemeBrushButtonInactiveDarkShadow = 36;
- public static final int kThemeBrushFocusHighlight = 19;
- public static final int kThemeBrushListViewBackground = 10;
- public static final int kThemeButtonOff = 0;
- public static final int kThemeButtonOn = 1;
- public static final int kThemeButtonMixed = 2;
- public static final int kThemeCheckBox = 1;
- public static final int kThemeCopyArrowCursor = 1;
- public static final int kThemeCrossCursor = 5;
- public static final int kThemeCurrentPortFont = 200;
- public static final int kThemeDisclosureButton = 6;
- public static final int kThemeDisclosureTriangle = 6;
- public static final int kThemeDisclosureRight = 0;
- public static final int kThemeDisclosureDown = 1;
- public static final int kThemeDisclosureLeft = 2;
- public static final int kThemeEmphasizedSystemFont = 4;
- public static final int kThemeIBeamCursor = 4;
- public static final int kThemeMenuItemCmdKeyFont = 103;
- public static final int kThemeMenuItemFont = 101;
- public static final int kThemeMenuItemHierarchical = 1;
- public static final int kThemeMetricDisclosureButtonWidth = 22;
- public static final int kThemeMetricDisclosureTriangleHeight = 25;
- public static final int kThemeMetricDisclosureTriangleWidth = 26;
- public static final int kThemeMetricCheckBoxWidth = 50;
- public static final int kThemeMetricComboBoxLargeDisclosureWidth = 74;
- public static final int kThemeMetricRadioButtonWidth = 52;
- public static final int kThemeMetricEditTextFrameOutset = 5;
- public static final int kThemeMetricEditTextWhitespace = 4;
- public static final int kThemeMetricFocusRectOutset = 7;
- public static final int kThemeMetricHSliderHeight = 41;
- public static final int kThemeMetricLargeTabHeight = 10;
- public static final int kThemeMetricLargeTabCapsWidth = 11;
- public static final int kThemeMetricLittleArrowsHeight = 27;
- public static final int kThemeMetricLittleArrowsWidth = 28;
- public static final int kThemeMetricMenuTextTrailingEdgeMargin = 67;
- public static final int kThemeMetricMenuIconTrailingEdgeMargin = 69;
- public static final int kThemeMetricNormalProgressBarThickness = 58;
- public static final int kThemeMetricTabFrameOverlap = 12;
- public static final int kThemeMetricPrimaryGroupBoxContentInset = 61;
- public static final int kThemeMetricPushButtonHeight = 19;
- public static final int kThemeMetricRoundTextFieldContentHeight = 80;
- public static final int kThemeMetricRoundTextFieldContentInsetLeft = 76;
- public static final int kThemeMetricRoundTextFieldContentInsetRight = 77;
- public static final int kThemeMetricRoundTextFieldContentInsetBottom = 78;
- public static final int kThemeMetricRoundTextFieldContentInsetTop = 79;
- public static final int kThemeMetricRoundTextFieldContentInsetWithIconLeft = 109;
- public static final int kThemeMetricRoundTextFieldContentInsetWithIconRight = 110;
- public static final int kThemeMetricRoundTextFieldSmallContentInsetLeft = 120;
- public static final int kThemeMetricRoundTextFieldSmallContentInsetRight = 121;
- public static final int kThemeMetricRoundTextFieldSmallContentInsetWithIconLeft = 123;
- public static final int kThemeMetricRoundTextFieldSmallContentInsetWithIconRight = 124;
- public static final int kThemeMetricScrollBarWidth = 0;
- public static final int kThemeMetricVSliderWidth = 45;
- public static final int kThemeNotAllowedCursor = 18;
- public static final int kThemePointingHandCursor = 10;
- public static final int kThemePushButton = 0;
- public static final int kThemePushButtonFont = 105;
- public static final int kThemeRadioButton = 2;
- public static final int kThemeResizeLeftRightCursor = 17;
- public static final int kThemeResizeUpDownCursor = 21;
- public static final int kThemeResizeUpCursor = 19;
- public static final int kThemeResizeDownCursor = 20;
- public static final int kThemeResizeLeftCursor = 15;
- public static final int kThemeResizeRightCursor = 16;
- public static final int kThemeRoundedBevelButton = 15;
- public static final int kThemeSmallBevelButton = 8;
- public static final int kThemeSmallEmphasizedSystemFont = 2;
- public static final int kThemeSmallSystemFont = 1;
- public static final int kThemeSpinningCursor = 14;
- public static final int kThemeStateActive = 1;
- public static final int kThemeStateInactive = 0;
- public static final int kThemeStatePressed = 2;
- public static final int kThemeStateRollover = 6;
- public static final int kThemeStateUnavailable = 7;
- public static final int kThemeStateUnavailableInactive = 8;
- public static final int kThemeSystemFont = 0;
- public static final int kThemeTextColorDialogActive = 1;
- public static final int kThemeTextColorPushButtonInactive = 13;
- public static final int kThemeTextColorDocumentWindowTitleActive = 23;
- public static final int kThemeTextColorDocumentWindowTitleInactive = 24;
- public static final int kThemeTextColorListView = 22;
- public static final int kThemeTextColorPushButtonActive = 12;
- public static final int kThemeToolbarFont = 108;
- public static final int kThemeViewsFont = 3;
- public static final int kThemeWatchCursor = 7;
- public static final int kTrackMouseLocationOptionDontConsumeMouseUp = 1;
- public static final int kTransformSelected = 0x4000;
- public static final int kUIModeNormal = 0;
- public static final int kUIModeContentSuppressed = 1;
- public static final int kUIModeContentHidden = 2;
- public static final int kUIModeAllHidden = 3;
- public static final int kUIModeAllSuppressed = 4;
- public static final int kUnicodeDocument = ('u'<<24) + ('d'<<16) + ('o'<<8) + 'c';
- public static final int kUtilityWindowClass = 8;
- public static final int kWindowActivationScopeNone = 0;
- public static final int kWindowActivationScopeIndependent = 1;
- public static final int kWindowActivationScopeAll = 2;
- public static final int kWindowAlertPositionParentWindowScreen = 0x700A;
- public static final int kWindowBoundsChangeOriginChanged = 1<<3;
- public static final int kWindowBoundsChangeSizeChanged = 1<<2;
- public static final int kWindowCascadeOnMainScreen = 4;
- public static final int kWindowCloseBoxAttribute = (1 << 0);
- public static final int kWindowCollapseBoxAttribute = (1 << 3);
- public static final int kWindowCompositingAttribute = (1 << 19);
- public static final int kWindowContentRgn = 33;
- public static final int kWindowGroupAttrHideOnCollapse = 16;
- public static final int kWindowHorizontalZoomAttribute = 1 << 1;
- public static final int kWindowVerticalZoomAttribute = 1 << 2;
- public static final int kWindowFullZoomAttribute = (OS.kWindowVerticalZoomAttribute | OS.kWindowHorizontalZoomAttribute);
- public static final int kWindowLiveResizeAttribute = (1 << 28);
- public static final int kWindowModalityAppModal = 2;
- public static final int kWindowModalityNone = 0;
- public static final int kWindowModalitySystemModal = 1;
- public static final int kWindowModalityWindowModal = 3;
- public static final int kWindowNoShadowAttribute = (1 << 21);
- public static final int kWindowResizableAttribute = (1 << 4);
- public static final int kWindowStandardHandlerAttribute = (1 << 25);
- public static final int kWindowStructureRgn = 32;
- public static final int kWindowToolbarButtonAttribute = (1 << 6);
- public static final int kWindowUpdateRgn= 34;
- public static final int kWindowNoTitleBarAttribute = (1 << 9);
- public static final int kCaretPosition = 1;
- public static final int kRawText = 2;
- public static final int kSelectedRawText = 3;
- public static final int kConvertedText = 4;
- public static final int kSelectedConvertedText = 5;
- public static final int kBlockFillText = 6;
- public static final int kOutlineText = 7;
- public static final int kSelectedText = 8;
- public static final int menuItemNotFoundError = -5622;
- public static final int mouseDown = 1;
- public static final int noErr = 0;
- public static final int normal = 0;
- public static final int optionKey = 1 << 11;
- public static final int osEvt = 15;
- public static final int paramErr = -50;
- public static final int shiftKey = 1 << 9;
- public static final int smKCHRCache = 38;
- public static final int smKeyScript = 22;
- public static final int smRegionCode = 40;
- public static final int smSystemScript = -1;
- public static final int srcCopy = 0;
- public static final int srcOr = 1;
- public static final int srcXor = 2;
- public static final int notSrcXor = 6;
- public static final int teFlushDefault = 0;
- public static final int teCenter = 1;
- public static final int teFlushRight = -1;
- public static final int teFlushLeft = -2;
- public static final int teJustLeft = 0;
- public static final int teJustCenter = 1;
- public static final int teJustRight = -1;
- public static final int typeBoolean = ('b'<<24) + ('o'<<16) + ('o'<<8) + 'l';
- public static final int typeCFDictionaryRef = ('c'<<24) + ('f'<<16) + ('d'<<8) + 'c';
- public static final int typeCFMutableArrayRef = ('c'<<24) + ('f'<<16) + ('m'<<8) + 'a';
- public static final int typeCFStringRef = ('c'<<24) + ('f'<<16) + ('s'<<8) + 't';
- public static final int typeCFTypeRef = ('c'<<24) + ('f'<<16) + ('t'<<8) + 'y';
- public static final int typeCGContextRef = ('c'<<24) + ('n'<<16) + ('t'<<8) + 'x';
- public static final int typeChar = ('T'<<24) + ('E'<<16) + ('X'<<8) + 'T';
- public static final int typeClickActivationResult = ('c'<<24) + ('l'<<16) + ('a'<<8) + 'c';
- public static final int typeControlPartCode = ('c'<<24) + ('p'<<16) + ('r'<<8) + 't';
- public static final int typeControlRef = ('c'<<24) + ('t'<<16) + ('r'<<8) + 'l';
- public static final int typeEventRef = ('e'<<24) + ('v'<<16) + ('r'<<8) + 'f';
- public static final int typeFileURL = ('f'<<24) + ('u'<<16) + ('r'<<8) + 'l';
- public static final int typeFixed = ('f'<<24) + ('i'<<16) + ('x'<<8) + 'd';
- public static final int typeFSRef = ('f'<<24) + ('s'<<16) + ('r'<<8) + 'f';
- public static final int typeGrafPtr = ('g'<<24) + ('r'<<16) + ('a'<<8) + 'f';
- public static final int typeHICommand = ('h'<<24) + ('c'<<16) + ('m'<<8) + 'd';
- public static final int typeHIPoint = ('h'<<24) + ('i'<<16) + ('p'<<8) + 't';
- public static final int typeHIRect = ('h'<<24) + ('i'<<16) + ('r'<<8) + 'c';
- public static final int typeHISize = ('h'<<24) + ('i'<<16) + ('s'<<8) + 'z';
- public static final int typeLongInteger = ('l'<<24) + ('o'<<16) + ('n'<<8) + 'g';
- public static final int typeMenuCommand = ('m'<<24) + ('c'<<16) + ('m'<<8) + 'd';
- public static final int typeMenuItemIndex = ('m'<<24) + ('i'<<16) + ('d'<<8) + 'x';
- public static final int typeMenuRef = ('m'<<24) + ('e'<<16) + ('n'<<8) + 'u';
- public static final int typeModalClickResult = ('w'<<24) + ('m'<<16) + ('c'<<8) + 'r';
- public static final int typeMouseButton = ('m'<<24) + ('b'<<16) + ('t'<<8) + 'n';
- public static final int typeMouseWheelAxis = ('m'<<24) + ('w'<<16) + ('a'<<8) + 'x';
- public static final int typeQDPoint = ('Q'<<24) + ('D'<<16) + ('p'<<8) + 't';
- public static final int typeQDRectangle = ('q'<<24) + ('d'<<16) + ('r'<<8) + 't';
- public static final int typeQDRgnHandle = ('r'<<24) + ('g'<<16) + ('n'<<8) + 'h';
- public static final int typeRGBColor = ('c'<<24) + ('R'<<16) + ('G'<<8) + 'B';
- public static final int typeSInt16 = ('s'<<24) + ('h'<<16) + ('o'<<8) + 'r';
- public static final int typeSInt32 = ('l'<<24) + ('o'<<16) + ('n'<<8) + 'g';
- public static final int typeTextRangeArray = ('t'<<24) + ('r'<<16) + ('a'<<8) + 'y';
- public static final int typeType = ('t'<<24) + ('y'<<16) + ('p'<<8) + 'e';
- public static final int typeUInt32 = ('m'<<24) + ('a'<<16) + ('g'<<8) + 'n';
- public static final int typeUnicodeText = ('u'<<24) + ('t'<<16) + ('x'<<8) + 't';
- public static final int typeWildCard = ('w'<<24) + ('i'<<16) + ('l'<<8) + 'd';
- public static final int typeWindowDefPartCode = ('w'<<24) + ('d'<<16) + ('p'<<8) + 't';
- public static final int typeWindowPartCode = ('w'<<24) + ('p'<<16) + ('a'<<8) + 'r';
- public static final int typeWindowModality = ('w'<<24) + ('m'<<16) + ('o'<<8) + 'd';
- public static final int kEventParamWindowPartCode = ('w'<<24) + ('p'<<16) + ('a'<<8) + 'r';
- public static final int typeWindowRef = ('w'<<24) + ('i'<<16) + ('n'<<8) + 'd';
- public static final int typeWindowRegionCode = ('w'<<24) + ('s'<<16) + ('h'<<8) + 'p';
- public static final int updateEvt = 6;
- public static final int updateMask = 1 << updateEvt;
- public static final int userCanceledErr = -128;
- public static final short wInContent = 1;
- public static final short wNoHit = 0;
-
-/** JNI natives */
-
-/** @method flags=no_gen */
-public static final native int NewGlobalRef(Object object);
-/** @method flags=no_gen */
-public static final native void DeleteGlobalRef(int globalRef);
-/** @method flags=no_gen */
-public static final native Object JNIGetObject(int globalRef);
-
-/** Natives */
-
-/** @method flags=no_gen */
-public static final native boolean __BIG_ENDIAN__();
-/** @method flags=const */
-public static final native int kCFRunLoopCommonModes();
-/** @method flags=const */
-public static final native int kCFRunLoopDefaultMode();
-/** @method flags=const */
-public static final native int kFontPanelAttributesKey();
-/** @method flags=const */
-public static final native int kFontPanelAttributeTagsKey();
-/** @method flags=const */
-public static final native int kFontPanelAttributeSizesKey();
-/** @method flags=const */
-public static final native int kFontPanelAttributeValuesKey();
-/** @method flags=const */
-public static final native int kUTTagClassFilenameExtension();
-/** @method flags=const address */
-public static final native int kHIViewWindowContentID();
-/** @method flags=const */
-public static final native int kPMDocumentFormatPDF();
-/** @method flags=const */
-public static final native int kPMGraphicsContextCoreGraphics();
-public static final native int ActiveNonFloatingWindow();
-/** @param idocID cast=(TSMDocumentID) */
-public static final native int ActivateTSMDocument(int idocID);
-/**
- * @param theAEDescList cast=(const AEDescList *)
- * @param theCount cast=(long *)
- */
-public static final native int AECountItems(AEDesc theAEDescList, int[] theCount);
-/**
- * @param theAEDesc cast=(AEDesc *)
- * @param result cast=(AEDesc *)
- */
-public static final native int AECoerceDesc(int theAEDesc, int toType, int result);
-/**
- * @param typeCode cast=(DescType)
- * @param dataPtr cast=(const void *)
- * @param dataSize cast=(Size)
- */
-public static final native int AECreateDesc(int typeCode, byte[] dataPtr, int dataSize, AEDesc result);
-public static final native int AEDisposeDesc(AEDesc theAEDesc);
-/**
- * @param theAEDesc cast=(AEDesc *)
- * @param dataPtr cast=(void *)
- */
-public static final native int AEGetDescData(int theAEDesc, byte[] dataPtr, int maximumSize);
-/**
- * @param theAEDescList cast=(const AEDescList *)
- * @param desiredType cast=(DescType)
- * @param theAEKeyword cast=(AEKeyword *)
- * @param typeCode cast=(DescType *)
- * @param dataPtr cast=(void *)
- * @param maximumSize cast=(Size)
- * @param actualSize cast=(Size *)
- */
-public static final native int AEGetNthPtr(AEDesc theAEDescList, int index, int desiredType, int[] theAEKeyword, int[] typeCode, int dataPtr, int maximumSize, int[] actualSize);
-/**
- * @param theAEEventClass cast=(AEEventClass)
- * @param theAEEventID cast=(AEEventID)
- * @param handler cast=(AEEventHandlerUPP)
- * @param handlerRefcon cast=(long)
- */
-public static final native int AEInstallEventHandler(int theAEEventClass, int theAEEventID, int handler, int handlerRefcon, boolean isSysHandler);
-/** @param theEventRecord cast=(const EventRecord *) */
-public static final native int AEProcessAppleEvent(EventRecord theEventRecord);
-/**
- * @param iFile cast=(const FSSpec *)
- * @param iContext cast=(ATSFontContext)
- * @param iFormat cast=(ATSFontFormat)
- * @param iReserved cast=(void *)
- * @param iOptions cast=(ATSOptionFlags)
- * @param oContainer cast=(ATSFontContainerRef *)
- */
-public static final native int ATSFontActivateFromFileSpecification(byte[] iFile, int iContext, int iFormat, int iReserved, int iOptions, int[] oContainer);
-/**
- * @param iContainer cast=(ATSFontContainerRef)
- * @param iRefCon cast=(void *)
- * @param iOptions cast=(ATSOptionFlags)
- */
-public static final native int ATSFontDeactivate(int iContainer, int iRefCon, int iOptions);
-/**
- * @param iName cast=(CFStringRef)
- * @param iOptions cast=(ATSOptionFlags)
- */
-public static final native int ATSFontFindFromName(int iName, int iOptions);
-/**
- * @param iFont cast=(ATSFontRef)
- * @param iOptions cast=(ATSOptionFlags)
- * @param oName cast=(CFStringRef*)
- */
-public static final native int ATSFontGetName(int iFont, int iOptions, int[] oName);
-/**
- * @param iFont cast=(ATSFontRef)
- * @param iOptions cast=(ATSOptionFlags)
- * @param oName cast=(CFStringRef *)
- */
-public static final native int ATSFontGetPostScriptName(int iFont, int iOptions, int[] oName);
-/**
- * @param iIterator cast=(ATSFontIterator)
- * @param Font cast=(ATSFontRef *)
- */
-public static final native int ATSFontIteratorNext(int iIterator, int[] Font);
-/** @param ioIterator cast=(ATSFontIterator *) */
-public static final native int ATSFontIteratorRelease(int[] ioIterator);
-/**
- * @param iContext cast=(ATSFontContext)
- * @param iFilter cast=(const ATSFontFilter *)
- * @param iRefCon cast=(void *)
- * @param iOptions cast=(ATSOptionFlags)
- * @param ioIterator cast=(ATSFontIterator *)
- */
-public static final native int ATSFontIteratorCreate(int iContext, int iFilter, int iRefCon, int iOptions, int[] ioIterator);
-/**
- * @param iFont cast=(ATSFontRef)
- * @param iOptions cast=(ATSOptionFlags)
- */
-public static final native int ATSFontGetVerticalMetrics(int iFont, int iOptions, ATSFontMetrics oMetrics);
-/** @param iFont cast=(ATSFontRef) */
-public static final native int ATSFontGetHorizontalMetrics(int iFont, int iOptions, ATSFontMetrics oMetrics);
-/**
- * @param iTextLayout cast=(ATSUTextLayout)
- * @param oBreakCount cast=(ItemCount *)
- */
-public static final native int ATSUBatchBreakLines(int iTextLayout, int iRangeStart, int iRangeLength, int iLineWidth, int[] oBreakCount);
-/** @param oStyle cast=(ATSUStyle *) */
-public static final native int ATSUCreateStyle(int[] oStyle);
-/** @param oTextLayout cast=(ATSUTextLayout *) */
-public static final native int ATSUCreateTextLayout(int[] oTextLayout);
-/**
- * @param iText cast=(ConstUniCharArrayPtr)
- * @param iRunLengths cast=(const UniCharCount *)
- * @param iStyles cast=(ATSUStyle *)
- * @param oTextLayout cast=(ATSUTextLayout *)
- */
-public static final native int ATSUCreateTextLayoutWithTextPtr(int iText, int iTextOffset, int iTextLength, int iTextTotalLength, int iNumberOfRuns, int[] iRunLengths, int[] iStyles, int[] oTextLayout);
-/**
- * @param iTextLayout cast=(ATSUTextLayout)
- * @param iLineOffset cast=(UniCharArrayOffset)
- * @param iDataSelector cast=(ATSUDirectDataSelector)
- * @param oLayoutDataArrayPtr cast=(void *)
- * @param oLayoutDataCount cast=(ItemCount *)
- */
-public static final native int ATSUDirectGetLayoutDataArrayPtrFromTextLayout(int iTextLayout, int iLineOffset, int iDataSelector, int[] oLayoutDataArrayPtr, int[] oLayoutDataCount);
-/**
- * @param iLineRef cast=(ATSULineRef)
- * @param iDataSelector cast=(ATSUDirectDataSelector)
- * @param iLayoutDataArrayPtr cast=(void *)
- */
-public static final native int ATSUDirectReleaseLayoutDataArrayPtr(int iLineRef, int iDataSelector, int iLayoutDataArrayPtr);
-/** @param iStyle cast=(ATSUStyle) */
-public static final native int ATSUDisposeStyle(int iStyle);
-/** @param iTextLayout cast=(ATSUTextLayout) */
-public static final native int ATSUDisposeTextLayout(int iTextLayout);
-/**
- * @param iTextLayout cast=(ATSUTextLayout)
- * @param iLineOffset cast=(UniCharArrayOffset)
- * @param iLineLength cast=(UniCharCount)
- * @param iLocationX cast=(ATSUTextMeasurement)
- * @param iLocationY cast=(ATSUTextMeasurement)
- */
-public static final native int ATSUDrawText(int iTextLayout, int iLineOffset, int iLineLength, int iLocationX, int iLocationY);
-/**
- * @param iName cast=(const void *)
- * @param oFontID cast=(ATSUFontID *)
- */
-public static final native int ATSUFindFontFromName(byte[] iName, int iNameLength, int iFontNameCode, int iFontNamePlatform, int iFontNameScript, int iFontNameLanguage, int[] oFontID);
-/**
- * @param iFontID cast=(ATSUFontID)
- * @param oName cast=(Ptr)
- * @param oActualNameLength cast=(ByteCount *)
- * @param oFontNameIndex cast=(ItemCount *)
- */
-public static final native int ATSUFindFontName(int iFontID, int iFontNameCode, int iFontNamePlatform, int iFontNameScript, int iFontNameLanguage, int iMaximumNameLength, byte[] oName, int[] oActualNameLength, int[] oFontNameIndex);
-/**
- * @param oFontIDs cast=(ATSUFontID *)
- * @param oFontCount cast=(ItemCount *)
- */
-public static final native int ATSUGetFontIDs(int[] oFontIDs, int iArraySize, int[] oFontCount);
-/**
- * @param iTextLayout cast=(ATSUTextLayout)
- * @param iTextBasePointX cast=(ATSUTextMeasurement)
- * @param iTextBasePointY cast=(ATSUTextMeasurement)
- * @param iBoundsCharStart cast=(UniCharArrayOffset)
- * @param oGlyphBounds cast=(ATSTrapezoid *)
- * @param oActualNumberOfBounds cast=(ItemCount *)
- */
-public static final native int ATSUGetGlyphBounds(int iTextLayout, int iTextBasePointX, int iTextBasePointY, int iBoundsCharStart, int iBoundsCharLength, short iTypeOfBounds, int iMaxNumberOfBounds, int oGlyphBounds, int[] oActualNumberOfBounds);
-/**
- * @param iTextLayout cast=(ATSUTextLayout)
- * @param iTextBasePointX cast=(ATSUTextMeasurement)
- * @param iTextBasePointY cast=(ATSUTextMeasurement)
- * @param iBoundsCharStart cast=(UniCharArrayOffset)
- * @param oGlyphBounds cast=(ATSTrapezoid *)
- * @param oActualNumberOfBounds cast=(ItemCount *)
- */
-public static final native int ATSUGetGlyphBounds(int iTextLayout, int iTextBasePointX, int iTextBasePointY, int iBoundsCharStart, int iBoundsCharLength, short iTypeOfBounds, int iMaxNumberOfBounds, ATSTrapezoid oGlyphBounds, int[] oActualNumberOfBounds);
-/**
- * @param iTextLayout cast=(ATSUTextLayout)
- * @param iTag cast=(ATSUAttributeTag)
- * @param oValue cast=(ATSUAttributeValuePtr)
- * @param oActualValueSize cast=(ByteCount *)
- */
-public static final native int ATSUGetLayoutControl(int iTextLayout, int iTag, int iExpectedValueSize, int[] oValue, int[] oActualValueSize);
-/**
- * @param iTextLayout cast=(ATSUTextLayout)
- * @param iLineStart cast=(UniCharArrayOffset)
- * @param iTag cast=(ATSUAttributeTag)
- * @param iExpectedValueSize cast=(ByteCount)
- * @param oValue cast=(ATSUAttributeValuePtr)
- * @param oActualValueSize cast=(ByteCount *)
- */
-public static final native int ATSUGetLineControl(int iTextLayout, int iLineStart, int iTag, int iExpectedValueSize, int[] oValue, int[] oActualValueSize);
-/**
- * @param iATSUStyle cast=(ATSUStyle)
- * @param iGlyphID cast=(GlyphID)
- * @param iNewPathProc cast=(ATSQuadraticNewPathUPP)
- * @param iLineProc cast=(ATSQuadraticLineUPP)
- * @param iCurveProc cast=(ATSQuadraticCurveUPP)
- * @param iClosePathProc cast=(ATSQuadraticClosePathUPP)
- * @param iCallbackDataPtr cast=(void *)
- * @param oCallbackResult cast=(OSStatus *)
- */
-public static final native int ATSUGlyphGetQuadraticPaths(int iATSUStyle, short iGlyphID, int iNewPathProc, int iLineProc, int iCurveProc, int iClosePathProc, int iCallbackDataPtr, int[] oCallbackResult);
-/**
- * @param iTextLayout cast=(ATSUTextLayout)
- * @param iRangeStart cast=(UniCharArrayOffset)
- * @param iRangeLength cast=(UniCharCount)
- * @param iMaximumBreaks cast=(ItemCount)
- * @param oBreaks cast=(UniCharArrayOffset *)
- * @param oBreakCount cast=(ItemCount *)
- */
-public static final native int ATSUGetSoftLineBreaks(int iTextLayout, int iRangeStart, int iRangeLength, int iMaximumBreaks, int[] oBreaks, int[] oBreakCount);
-/**
- * @param iTextLayout cast=(ATSUTextLayout)
- * @param oHighlightRegion cast=(RgnHandle)
- */
-public static final native int ATSUGetTextHighlight (int iTextLayout, int iTextBasePointX, int iTextBasePointY, int iHighlightStart, int iHighlightLength, int oHighlightRegion);
-/**
- * @param iTextLayout cast=(ATSUTextLayout)
- * @param oTextBefore cast=(ATSUTextMeasurement *)
- * @param oTextAfter cast=(ATSUTextMeasurement *)
- * @param oAscent cast=(ATSUTextMeasurement *)
- * @param oDescent cast=(ATSUTextMeasurement *)
- */
-public static final native int ATSUGetUnjustifiedBounds(int iTextLayout, int iLineStart, int iLineLength, int[] oTextBefore, int[] oTextAfter, int[] oAscent, int[] oDescent);
-/**
- * @param iTextLayout cast=(ATSUTextLayout)
- * @param iTextBasePointX cast=(ATSUTextMeasurement)
- * @param iTextBasePointY cast=(ATSUTextMeasurement)
- */
-public static final native int ATSUHighlightText(int iTextLayout, int iTextBasePointX, int iTextBasePointY, int iHighlightStart, int iHighlightLength);
-/**
- * @param iTextLayout cast=(ATSUTextLayout)
- * @param iOldOffset cast=(UniCharArrayOffset)
- * @param iMovementType cast=(ATSUCursorMovementType)
- * @param oNewOffset cast=(UniCharArrayOffset *)
- */
-public static final native int ATSUNextCursorPosition(int iTextLayout, int iOldOffset, int iMovementType, int[] oNewOffset);
-/**
- * @param iTextLayout cast=(ATSUTextLayout)
- * @param oCaretIsSplit cast=(Boolean *)
- */
-public static final native int ATSUOffsetToPosition(int iTextLayout, int iOffset, boolean iIsLeading, ATSUCaret oMainCaret, ATSUCaret oSecondCaret, boolean[] oCaretIsSplit);
-/**
- * @param iTextLayout cast=(ATSUTextLayout)
- * @param ioPrimaryOffset cast=(UniCharArrayOffset *)
- * @param oIsLeading cast=(Boolean *)
- * @param oSecondaryOffset cast=(UniCharArrayOffset *)
- */
-public static final native int ATSUPositionToOffset(int iTextLayout, int iLocationX, int iLocationY, int[] ioPrimaryOffset, boolean[] oIsLeading, int[] oSecondaryOffset);
-/**
- * @param iTextLayout cast=(ATSUTextLayout)
- * @param iOldOffset cast=(UniCharArrayOffset)
- * @param iMovementType cast=(ATSUCursorMovementType)
- * @param oNewOffset cast=(UniCharArrayOffset *)
- */
-public static final native int ATSUPreviousCursorPosition(int iTextLayout, int iOldOffset, int iMovementType, int[] oNewOffset);
-/**
- * @param iStyle cast=(ATSUStyle)
- * @param iAttributeCount cast=(ItemCount)
- * @param iTag cast=(ATSUAttributeTag *)
- * @param iValueSize cast=(ByteCount *)
- * @param iValue cast=(ATSUAttributeValuePtr *)
- */
-public static final native int ATSUSetAttributes(int iStyle, int iAttributeCount, int[] iTag, int[] iValueSize, int[] iValue);
-/**
- * @param iStyle cast=(ATSUStyle)
- * @param iFeatureCount cast=(ItemCount)
- * @param iType cast=(const ATSUFontFeatureType *)
- * @param iSelector cast=(const ATSUFontFeatureSelector *)
- */
-public static final native int ATSUSetFontFeatures(int iStyle, int iFeatureCount, short[] iType, short[] iSelector);
-/** @param iTextLayout cast=(ATSUTextLayout) */
-public static final native int ATSUSetHighlightingMethod(int iTextLayout, int iMethod, ATSUUnhighlightData iUnhighlightData);
-/**
- * @param iTextLayout cast=(ATSUTextLayout)
- * @param iAttributeCount cast=(ItemCount)
- * @param iTag cast=(ATSUAttributeTag *)
- * @param iValueSize cast=(ByteCount *)
- * @param iValue cast=(ATSUAttributeValuePtr *)
- */
-public static final native int ATSUSetLayoutControls(int iTextLayout, int iAttributeCount, int[] iTag, int[] iValueSize, int[] iValue);
-/**
- * @param iTextLayout cast=(ATSUTextLayout)
- * @param iLineStart cast=(UniCharArrayOffset)
- * @param iAttributeCount cast=(ItemCount)
- * @param iTag cast=(const ATSUAttributeTag *)
- * @param iValueSize cast=(const ByteCount *)
- * @param iValue cast=(const ATSUAttributeValuePtr *)
- */
-public static final native int ATSUSetLineControls(int iTextLayout, int iLineStart, int iAttributeCount, int[] iTag, int[] iValueSize, int[] iValue);
-/**
- * @param iTextLayout cast=(ATSUTextLayout)
- * @param iStyle cast=(ATSUStyle)
- * @param iRunStart cast=(UniCharArrayOffset)
- * @param iRunLength cast=(UniCharCount)
- */
-public static final native int ATSUSetRunStyle(int iTextLayout, int iStyle, int iRunStart, int iRunLength);
-/** @param iTextLayout cast=(ATSUTextLayout) */
-public static final native int ATSUSetSoftLineBreak(int iTextLayout, int iLineBreak);
-/**
- * @param iTextLayout cast=(ATSUTextLayout)
- * @param iTabs cast=(const ATSUTab *)
- */
-public static final native int ATSUSetTabArray(int iTextLayout, int iTabs, int iTabCount);
-/**
- * @param iTextLayout cast=(ATSUTextLayout)
- * @param iText cast=(ConstUniCharArrayPtr)
- * @param iTextOffset cast=(UniCharArrayOffset)
- * @param iTextLength cast=(UniCharCount)
- * @param iTextTotalLength cast=(UniCharCount)
- */
-public static final native int ATSUSetTextPointerLocation(int iTextLayout, int iText, int iTextOffset, int iTextLength, int iTextTotalLength);
-/** @param iTextLayout cast=(ATSUTextLayout) */
-public static final native int ATSUSetTransientFontMatching(int iTextLayout, boolean iTransientFontMatching);
-/** @param iTextLayout cast=(ATSUTextLayout) */
-public static final native int ATSUTextInserted(int iTextLayout, int iInsertionLocation, int iInsertionLength);
-/** @param iTextLayout cast=(ATSUTextLayout) */
-public static final native int ATSUTextDeleted(int iTextLayout, int iInsertionLocation, int iInsertionLength);
-/**
- * @param cHandle cast=(ControlRef)
- * @param containerID cast=(DataBrowserItemID)
- * @param numItems cast=(UInt32)
- * @param itemIDs cast=(const DataBrowserItemID *)
- * @param preSortProperty cast=(DataBrowserPropertyID)
- */
-public static final native int AddDataBrowserItems(int cHandle, int containerID, int numItems, int[] itemIDs, int preSortProperty);
-/**
- * @param browser cast=(ControlRef)
- * @param columnDesc cast=(DataBrowserListViewColumnDesc *)
- * @param position cast=(DataBrowserTableViewColumnIndex)
- */
-public static final native int AddDataBrowserListViewColumn(int browser, DataBrowserListViewColumnDesc columnDesc, int position);
-/**
- * @param theDrag cast=(DragRef)
- * @param theItemRef cast=(DragItemRef)
- * @param theType cast=(FlavorType)
- * @param dataPtr cast=(const void *)
- * @param dataSize cast=(Size)
- * @param theFlags cast=(FlavorFlags)
- */
-public static final native int AddDragItemFlavor(int theDrag, int theItemRef, int theType, byte[] dataPtr, int dataSize, int theFlags);
-/**
- * @param mHandle cast=(MenuRef)
- * @param sHandle cast=(CFStringRef)
- * @param attributes cast=(MenuItemAttributes)
- * @param commandID cast=(MenuCommand)
- * @param outItemIndex cast=(MenuItemIndex *)
- */
-public static final native int AppendMenuItemTextWithCFString(int mHandle, int sHandle, int attributes, int commandID, short[] outItemIndex);
-/**
- * @param inQueue cast=(EventQueueRef)
- * @param inList cast=(const EventTypeSpec *)
- */
-public static final native int AcquireFirstMatchingEventInQueue(int inQueue, int inNumTypes, int[] inList, int inOptions);
-/** @param cHandle cast=(ControlRef) */
-public static final native int AutoSizeDataBrowserListViewColumns(int cHandle);
-/** @param wHandle cast=(WindowRef) */
-public static final native void BringToFront(int wHandle);
-/** @param sHandle cast=(CFTypeRef) */
-public static final native void CFRelease(int sHandle);
-/** @param sHandle cast=(CFTypeRef) */
-public static final native void CFRetain(int sHandle);
-/** @param inEventLoop cast=(EventLoopRef) */
-public static final native int GetCFRunLoopFromEventLoop(int inEventLoop);
-/**
- * @param rl cast=(CFRunLoopRef)
- * @param observer cast=(CFRunLoopObserverRef)
- * @param mode cast=(CFStringRef)
- */
-public static final native void CFRunLoopAddObserver(int rl, int observer, int mode);
-/**
- * @param rl cast=(CFRunLoopRef)
- * @param source cast=(CFRunLoopSourceRef)
- * @param mode cast=(CFStringRef)
- */
-public static final native void CFRunLoopAddSource(int rl, int source, int mode);
-/**
- * @param allocator cast=(CFAllocatorRef)
- * @param activities cast=(CFOptionFlags)
- * @param order cast=(CFIndex)
- * @param callout cast=(CFRunLoopObserverCallBack)
- * @param context cast=(CFRunLoopObserverContext *)
- */
-public static final native int CFRunLoopObserverCreate(int allocator, int activities, boolean repeats, int order, int callout, int context);
-/** @param observer cast=(CFRunLoopObserverRef) */
-public static final native void CFRunLoopObserverInvalidate(int observer);
-/**
- * @param mode cast=(CFStringRef)
- * @param seconds cast=(CFTimeInterval)
- */
-public static final native int CFRunLoopRunInMode(int mode, double seconds, boolean returnAfterSourceHandled);
-/**
- * @param allocator cast=(CFAllocatorRef)
- * @param order cast=(CFIndex)
- */
-public static final native int CFRunLoopSourceCreate(int allocator, int order, CFRunLoopSourceContext context);
-/** @param source cast=(CFRunLoopSourceRef) */
-public static final native void CFRunLoopSourceInvalidate(int source);
-/** @param source cast=(CFRunLoopSourceRef) */
-public static final native void CFRunLoopSourceSignal(int source);
-/** @param rl cast=(CFRunLoopRef) */
-public static final native void CFRunLoopStop(int rl);
-/** @param rl cast=(CFRunLoopRef) */
-public static final native void CFRunLoopWakeUp(int rl);
-/**
- * @param theArray cast=(CFMutableArrayRef)
- * @param value cast=(const void *)
- */
-public static final native void CFArrayAppendValue(int theArray, int value);
-/**
- * @param allocator cast=(CFAllocatorRef)
- * @param capacity cast=(CFIndex)
- * @param callBacks cast=(const CFArrayCallBacks *)
- */
-public static final native int CFArrayCreateMutable(int allocator, int capacity, int callBacks);
-/** @param theArray cast=(CFArrayRef) */
-public static final native int CFArrayGetCount(int theArray);
-/** @param theArray cast=(CFArrayRef) */
-public static final native int CFArrayGetValueAtIndex(int theArray, int idx);
-/**
- * @param theData cast=(CFDataRef)
- * @param range flags=struct
- * @param buffer cast=(UInt8 *)
- */
-public static final native void CFDataGetBytes(int theData, CFRange range, byte[] buffer);
-/** @param theData cast=(CFDataRef) */
-public static final native int CFDataGetBytePtr(int theData);
-/** @param theData cast=(CFDataRef) */
-public static final native int CFDataGetLength(int theData);
-/**
- * @param theDict cast=(CFDictionaryRef)
- * @param key cast=(const void *)
- * @param value cast=(const void **)
- */
-public static final native boolean CFDictionaryGetValueIfPresent(int theDict, int key, int[] value);
-/**
- * @param theString cast=(CFStringRef)
- * @param theOtherString cast=(CFStringRef)
- */
-public static final native boolean CFEqual(int theString, int theOtherString);
-public static final native int CFLocaleCopyCurrent();
-/**
- * @param formatter cast=(CFNumberFormatterRef)
- * @param key cast=(CFStringRef)
- */
-public static final native int CFNumberFormatterCopyProperty(int formatter, int key);
-/**
- * @param alloc cast=(CFAllocatorRef)
- * @param locale cast=(CFLocaleRef)
- * @param style cast=(CFNumberFormatterStyle)
- */
-public static final native int CFNumberFormatterCreate(int alloc, int locale, int style);
-/**
- * @param alloc cast=(CFAllocatorRef)
- * @param bytes cast=(const UInt8 *)
- * @param numBytes cast=(CFIndex)
- * @param encoding cast=(CFStringEncoding)
- */
-public static final native int CFStringCreateWithBytes(int alloc, byte[] bytes, int numBytes, int encoding, boolean isExternalRepresentation);
-/**
- * @param alloc cast=(CFAllocatorRef)
- * @param chars cast=(const UniChar *)
- * @param numChars cast=(CFIndex)
- */
-public static final native int CFStringCreateWithCharacters(int alloc, char[] chars, int numChars);
-/**
- * @param alloc cast=(CFAllocatorRef)
- * @param chars cast=(const UniChar *)
- * @param numChars cast=(CFIndex)
- */
-public static final native int CFStringCreateWithCharacters(int alloc, int chars, int numChars);
-/**
- * @param theString cast=(CFStringRef)
- * @param range cast=(CFRange *),flags=struct
- * @param encoding cast=(CFStringEncoding)
- * @param lossByte cast=(UInt8)
- * @param isExternalRepresentation cast=(Boolean)
- * @param buffer cast=(UInt8 *)
- * @param maxBufLen cast=(CFIndex)
- * @param usedBufLen cast=(CFIndex *)
- */
-public static final native int CFStringGetBytes(int theString, CFRange range, int encoding, byte lossByte, boolean isExternalRepresentation, byte[] buffer, int maxBufLen, int[] usedBufLen);
-/**
- * @param theString cast=(CFStringRef)
- * @param range cast=(CFRange *),flags=struct
- * @param buffer cast=(UniChar *)
- */
-public static final native void CFStringGetCharacters(int theString, CFRange range, char[] buffer);
-/** @param theString cast=(CFStringRef) */
-public static final native int CFStringGetLength(int theString);
-public static final native int CFStringGetSystemEncoding();
-/**
- * @param anURL cast=(CFURLRef)
- * @param pathStyle cast=(CFURLPathStyle)
- */
-public static final native int CFURLCopyFileSystemPath(int anURL, int pathStyle);
-/** @param url cast=(CFURLRef) */
-public static final native int CFURLCopyLastPathComponent(int url);
-/** @param url cast=(CFURLRef) */
-public static final native int CFURLCopyPathExtension(int url);
-/**
- * @param allocator cast=(CFAllocatorRef)
- * @param url cast=(CFURLRef)
- * @param encoding cast=(CFStringEncoding)
- * @param escapeWhitespace cast=(Boolean)
- */
-public static final native int CFURLCreateData(int allocator, int url, int encoding, boolean escapeWhitespace);
-/**
- * @param allocator cast=(CFAllocatorRef)
- * @param url cast=(CFURLRef)
- * @param pathComponent cast=(CFStringRef)
- * @param isDirectory cast=(Boolean)
- */
-public static final native int CFURLCreateCopyAppendingPathComponent(int allocator, int url, int pathComponent, boolean isDirectory);
-/**
- * @param allocator cast=(CFAllocatorRef)
- * @param url cast=(CFURLRef)
- */
-public static final native int CFURLCreateCopyDeletingLastPathComponent(int allocator, int url);
-/**
- * @param allocator cast=(CFAllocatorRef)
- * @param fsRef cast=(const struct FSRef *)
- */
-public static final native int CFURLCreateFromFSRef(int allocator, byte[] fsRef);
-/**
- * @param allocator cast=(CFAllocatorRef)
- * @param URLBytes cast=(const UInt8 *)
- * @param length cast=(CFIndex)
- * @param encoding cast=(CFStringEncoding)
- * @param baseURL cast=(CFURLRef)
- */
-public static final native int CFURLCreateWithBytes(int allocator, byte[] URLBytes, int length, int encoding, int baseURL);
-/**
- * @param allocator cast=(CFAllocatorRef)
- * @param filePath cast=(CFStringRef)
- * @param pathStyle cast=(CFURLPathStyle)
- */
-public static final native int CFURLCreateWithFileSystemPath (int allocator, int filePath, int pathStyle, boolean isDirectory);
-/**
- * @param allocator cast=(CFAllocatorRef)
- * @param buffer cast=(const UInt8 *)
- */
-public static final native int CFURLCreateFromFileSystemRepresentation(int allocator, int buffer, int bufLen, boolean isDirectory);
-/**
- * @param allocator cast=(CFAllocatorRef)
- * @param URLString cast=(CFStringRef)
- * @param baseURL cast=(CFURLRef)
- */
-public static final native int CFURLCreateWithString(int allocator, int URLString, int baseURL);
-/**
- * @param allocator cast=(CFAllocatorRef)
- * @param originalString cast=(CFStringRef)
- * @param charactersToLeaveUnescaped cast=(CFStringRef)
- * @param legalURLCharactersToBeEscaped cast=(CFStringRef)
- */
-public static final native int CFURLCreateStringByAddingPercentEscapes(int allocator, int originalString, int charactersToLeaveUnescaped, int legalURLCharactersToBeEscaped, int encoding);
-/**
- * @param allocator cast=(CFAllocatorRef)
- * @param originalString cast=(CFStringRef)
- * @param charactersToLeaveUnescaped cast=(CFStringRef)
- */
-public static final native int CFURLCreateStringByReplacingPercentEscapes(int allocator, int originalString, int charactersToLeaveUnescaped);
-/**
- * @param url cast=(CFURLRef)
- * @param fsRef cast=(struct FSRef *)
- */
-public static final native boolean CFURLGetFSRef(int url, byte[] fsRef);
-/** @method flags=no_gen */
-public static final native void CGAffineTransformConcat (float[] t1, float[] t2, float[] result);
-/** @method flags=no_gen */
-public static final native void CGAffineTransformMake (float a, float b, float c, float d, float tx, float ty, float[] result);
-/** @method flags=no_gen */
-public static final native void CGAffineTransformTranslate (float[] t, float tx, float ty, float[] result);
-/** @method flags=no_gen */
-public static final native void CGAffineTransformRotate (float[] t, float angle, float[] result);
-/** @method flags=no_gen */
-public static final native void CGAffineTransformScale (float[] t, float sx, float sy, float[] result);
-/** @method flags=no_gen */
-public static final native void CGAffineTransformInvert (float[] t, float[] result);
-/**
- * @param inContext cast=(CGContextRef)
- * @param sx cast=(float)
- * @param sy cast=(float)
- */
-public static final native void CGContextScaleCTM(int inContext, float sx, float sy);
-/**
- * @param inContext cast=(CGContextRef)
- * @param tx cast=(float)
- * @param ty cast=(float)
- */
-public static final native void CGContextTranslateCTM(int inContext, float tx, float ty);
-/**
- * @param data cast=(void *)
- * @param width cast=(size_t)
- * @param height cast=(size_t)
- * @param bitsPerComponent cast=(size_t)
- * @param bytesPerRow cast=(size_t)
- * @param colorspace cast=(CGColorSpaceRef)
- * @param alphaInfo cast=(CGImageAlphaInfo)
- */
-public static final native int CGBitmapContextCreate(int data, int width, int height, int bitsPerComponent, int bytesPerRow, int colorspace, int alphaInfo);
-/** @param colorspace cast=(CGColorSpaceRef) */
-public static final native int CGColorCreate(int colorspace, float[] components);
-/** @param color cast=(CGColorRef) */
-public static final native void CGColorRelease(int color);
-/** @param baseSpace cast=(CGColorSpaceRef) */
-public static final native int CGColorSpaceCreatePattern(int baseSpace);
-public static final native int CGColorSpaceCreateDeviceRGB ();
-/** @method flags=dynamic */
-public static final native int CGBitmapContextCreateImage(int context);
-/** @param cs cast=(CGColorSpaceRef) */
-public static final native void CGColorSpaceRelease (int cs);
-/**
- * @param ctx cast=(CGContextRef)
- * @param x cast=(float)
- * @param y cast=(float)
- * @param radius cast=(float)
- * @param startAngle cast=(float)
- * @param endAngle cast=(float)
- * @param clockwise cast=(Boolean)
- */
-public static final native void CGContextAddArc (int ctx, float x, float y, float radius, float startAngle, float endAngle, boolean clockwise);
-/** @param ctx cast=(CGContextRef) */
-public static final native void CGContextAddArcToPoint (int ctx, float x1, float y1, float x2, float y2, float radius);
-/** @param ctx cast=(CGContextRef) */
-public static final native void CGContextAddLineToPoint (int ctx, float x, float y);
-/**
- * @param ctx cast=(CGContextRef)
- * @param points cast=(const CGPoint *)
- * @param count cast=(size_t)
- */
-public static final native void CGContextAddLines (int ctx, float[] points, int count);
-/**
- * @param context cast=(CGContextRef)
- * @param rect flags=struct
- */
-public static final native void CGContextAddRect (int context, CGRect rect);
-/**
- * @param context cast=(CGContextRef)
- * @param path cast=(CGPathRef)
- */
-public static final native void CGContextAddPath (int context, int path);
-/** @param ctx cast=(CGContextRef) */
-public static final native void CGContextBeginPath (int ctx);
-/** @param ctx cast=(CGContextRef) */
-public static final native void CGContextClip (int ctx);
-/**
- * @param ctx cast=(CGContextRef)
- * @param rect cast=(CGRect *),flags=struct
- */
-public static final native void CGContextClearRect (int ctx, CGRect rect);
-/** @param ctx cast=(CGContextRef) */
-public static final native void CGContextClosePath (int ctx);
-/**
- * @param context cast=(CGContextRef)
- * @param transform cast=(CGAffineTransform *),flags=struct
- */
-public static final native void CGContextConcatCTM (int context, float[] transform);
-/**
- * @param ctx cast=(CGContextRef)
- * @param rect cast=(CGRect *),flags=struct
- * @param image cast=(CGImageRef)
- */
-public static final native void CGContextDrawImage (int ctx, CGRect rect, int image);
-/**
- * @param context cast=(CGContextRef)
- * @param shading cast=(CGShadingRef)
- */
-public static final native void CGContextDrawShading (int context, int shading);
-/** @param ctx cast=(CGContextRef) */
-public static final native void CGContextEOClip (int ctx);
-/** @param ctx cast=(CGContextRef) */
-public static final native void CGContextEOFillPath (int ctx);
-/** @param ctx cast=(CGContextRef) */
-public static final native void CGContextFillPath (int ctx);
-/**
- * @param ctx cast=(CGContextRef)
- * @param rect cast=(CGRect *),flags=struct
- */
-public static final native void CGContextStrokeRect (int ctx, CGRect rect);
-/**
- * @param ctx cast=(CGContextRef)
- * @param rect cast=(CGRect *),flags=struct
- */
-public static final native void CGContextFillRect (int ctx, CGRect rect);
-/** @param ctx cast=(CGContextRef) */
-public static final native void CGContextFlush (int ctx);
-/** @method flags=no_gen */
-public static final native void CGContextGetCTM (int context, float[] result);
-/** @param context cast=(CGContextRef) */
-public static final native int CGContextGetInterpolationQuality (int context );
-/**
- * @method flags=no_gen
- * @param ctx cast=(CGContextRef)
- */
-public static final native void CGContextGetPathBoundingBox(int ctx, CGRect rect);
-/**
- * @method flags=no_gen
- * @param ctx cast=(CGContextRef)
- * @param point cast=(CGPoint)
- */
-public static final native void CGContextGetTextPosition (int ctx, CGPoint point);
-/**
- * @param ctx cast=(CGContextRef)
- * @param x cast=(float)
- * @param y cast=(float)
- */
-public static final native void CGContextMoveToPoint (int ctx, float x, float y);
-/** @param ctx cast=(CGContextRef) */
-public static final native void CGContextRelease(int ctx);
-/** @param ctx cast=(CGContextRef) */
-public static final native void CGContextRotateCTM(int ctx, float angle);
-/** @param ctx cast=(CGContextRef) */
-public static final native void CGContextRestoreGState(int ctx);
-/** @param ctx cast=(CGContextRef) */
-public static final native void CGContextSaveGState(int ctx);
-/**
- * @param ctx cast=(CGContextRef)
- * @param name cast=(const char *)
- * @param size cast=(float)
- * @param textEncoding cast=(CGTextEncoding)
- */
-public static final native void CGContextSelectFont (int ctx, byte[] name, float size, int textEncoding);
-/**
- * @param ctx cast=(CGContextRef)
- * @param colorspace cast=(CGColorSpaceRef)
- */
-public static final native void CGContextSetFillColorSpace (int ctx, int colorspace);
-/**
- * @param context cast=(CGContextRef)
- * @param pattern cast=(CGPatternRef)
- */
-public static final native void CGContextSetFillPattern (int context, int pattern, float[] components);
-/** @param context cast=(CGContextRef) */
-public static final native void CGContextSetAlpha (int context, float alpha);
-/**
- * @method flags=dynamic
- * @param context cast=(CGContextRef)
- */
-public static final native void CGContextSetBlendMode(int context, int mode);
-/**
- * @param ctx cast=(CGContextRef)
- * @param value cast=(const float *)
- */
-public static final native void CGContextSetFillColor (int ctx, float[] value);
-/**
- * @param ctx cast=(CGContextRef)
- * @param font cast=(CGFontRef)
- */
-public static final native void CGContextSetFont (int ctx, int font);
-/**
- * @param ctx cast=(CGContextRef)
- * @param size cast=(float)
- */
-public static final native void CGContextSetFontSize (int ctx, float size);
-/** @param context cast=(CGContextRef) */
-public static final native void CGContextSetInterpolationQuality (int context, int quality);
-/** @param context cast=(CGContextRef) */
-public static final native void CGContextSetLineCap (int context, int cap);
-/**
- * @param ctx cast=(CGContextRef)
- * @param phase cast=(float)
- * @param lengths cast=(const float *)
- * @param count cast=(size_t)
- */
-public static final native void CGContextSetLineDash (int ctx, float phase, float[] lengths, int count);
-/** @param context cast=(CGContextRef) */
-public static final native void CGContextSetLineJoin (int context, int join);
-/**
- * @param ctx cast=(CGContextRef)
- * @param width cast=(float)
- */
-public static final native void CGContextSetLineWidth (int ctx, float width);
-/** @param context cast=(CGContextRef) */
-public static final native void CGContextSetMiterLimit (int context, float limit);
-/** @param ctx cast=(CGContextRef) */
-public static final native void CGContextSetShouldAntialias (int ctx, boolean shouldAntialias);
-/** @param ctx cast=(CGContextRef) */
-public static final native void CGContextSetShouldSmoothFonts (int ctx, boolean shouldSmooth);
-/**
- * @param ctx cast=(CGContextRef)
- * @param colorspace cast=(CGColorSpaceRef)
- */
-public static final native void CGContextSetStrokeColorSpace (int ctx, int colorspace);
-/**
- * @param ctx cast=(CGContextRef)
- * @param value cast=(const float *)
- */
-public static final native void CGContextSetStrokeColor (int ctx, float[] value);
-/**
- * @param context cast=(CGContextRef)
- * @param pattern cast=(CGPatternRef)
- */
-public static final native void CGContextSetStrokePattern (int context, int pattern, float[] components);
-/** @param context cast=(CGContextRef) */
-public static final native void CGContextSetRenderingIntent (int context, int intent);
-/**
- * @param ctx cast=(CGContextRef)
- * @param r cast=(float)
- * @param g cast=(float)
- * @param b cast=(float)
- * @param alpha cast=(float)
- */
-public static final native void CGContextSetRGBFillColor (int ctx, float r, float g, float b, float alpha);
-/**
- * @param ctx cast=(CGContextRef)
- * @param r cast=(float)
- * @param g cast=(float)
- * @param b cast=(float)
- * @param alpha cast=(float)
- */
-public static final native void CGContextSetRGBStrokeColor (int ctx, float r, float g, float b, float alpha);
-/**
- * @param ctx cast=(CGContextRef)
- * @param mode cast=(CGTextDrawingMode)
- */
-public static final native void CGContextSetTextDrawingMode (int ctx, int mode);
-/**
- * @param ctx cast=(CGContextRef)
- * @param x cast=(float)
- * @param y cast=(float)
- */
-public static final native void CGContextSetTextPosition (int ctx, float x, float y);
-/**
- * @param ctx cast=(CGContextRef)
- * @param cstring cast=(const char *)
- * @param length cast=(size_t)
- */
-public static final native void CGContextShowText (int ctx, byte[] cstring, int length);
-/**
- * @param ctx cast=(CGContextRef)
- * @param x cast=(float)
- * @param y cast=(float)
- * @param cstring cast=(const char *)
- * @param length cast=(size_t)
- */
-public static final native void CGContextShowTextAtPoint (int ctx, float x, float y, byte[] cstring, int length);
-/**
- * @param ctx cast=(CGContextRef)
- * @param transform cast=(CGAffineTransform *),flags=struct
- */
-public static final native void CGContextSetTextMatrix (int ctx, float[] transform);
-/** @param ctx cast=(CGContextRef) */
-public static final native void CGContextStrokePath (int ctx);
-/** @param ctx cast=(CGContextRef) */
-public static final native void CGContextSynchronize (int ctx);
-public static final native boolean CGCursorIsVisible ();
-/**
- * @param info cast=(void *)
- * @param domainDimension cast=(size_t)
- * @param domain cast=(const float *)
- * @param rangeDimension cast=(size_t)
- * @param range cast=(const float *)
- * @param callbacks cast=(const CGFunctionCallbacks *)
- */
-public static final native int CGFunctionCreate (int info, int domainDimension, float[] domain, int rangeDimension, float[] range, CGFunctionCallbacks callbacks);
-/** @param function cast=(CGFunctionRef) */
-public static final native void CGFunctionRelease (int function);
-/**
- * @param info cast=(void *)
- * @param data cast=(const void *)
- * @param size cast=(size_t)
- * @param releaseData cast=(void *)
- */
-public static final native int CGDataProviderCreateWithData (int info, int data, int size, int releaseData);
-/** @param url cast=(CFURLRef) */
-public static final native int CGDataProviderCreateWithURL (int url);
-/** @param provider cast=(CGDataProviderRef) */
-public static final native void CGDataProviderRelease (int provider);
-/** @param display cast=(CGDirectDisplayID) */
-public static final native int CGDisplayBaseAddress (int display);
-/** @param display cast=(CGDirectDisplayID) */
-public static final native int CGDisplayBitsPerPixel (int display);
-/** @param display cast=(CGDirectDisplayID) */
-public static final native int CGDisplayBitsPerSample (int display);
-/** @param display cast=(CGDirectDisplayID) */
-public static final native int CGDisplayBytesPerRow (int display);
-/** @param display cast=(CGDirectDisplayID) */
-public static final native int CGDisplayPixelsHigh (int display);
-/** @param display cast=(CGDirectDisplayID) */
-public static final native int CGDisplayPixelsWide (int display);
-/** @param display cast=(CGDirectDisplayID) */
-public static final native int CGDisplayHideCursor(int display);
-/** @param display cast=(CGDirectDisplayID) */
-public static final native int CGDisplayShowCursor(int display);
-/**
- * @method flags=no_gen
- * @param display cast=(CGDirectDisplayID)
- * @param result flags=struct
- */
-public static final native void CGDisplayBounds(int display, CGRect result);
-public static final native int CGMainDisplayID();
-public static final native int CGFontCreateWithPlatformFont (int[] platformFontReference);
-/** @param font cast=(CGFontRef) */
-public static final native void CGFontRelease (int font);
-/**
- * @param rect flags=struct
- * @param maxDisplays cast=(CGDisplayCount)
- * @param dspys cast=(CGDirectDisplayID *)
- * @param dspyCnt cast=(CGDisplayCount *)
- */
-public static final native int CGGetDisplaysWithRect (CGRect rect, int maxDisplays, int[] dspys, int[] dspyCnt);
-/**
- * @param width cast=(size_t)
- * @param height cast=(size_t)
- * @param bitsPerComponent cast=(size_t)
- * @param bitsPerPixel cast=(size_t)
- * @param bytesPerRow cast=(size_t)
- * @param colorspace cast=(CGColorSpaceRef)
- * @param alphaInfo cast=(CGImageAlphaInfo)
- * @param provider cast=(CGDataProviderRef)
- * @param decode cast=(const float *)
- * @param shouldInterpolate cast=(Boolean)
- * @param intent cast=(CGColorRenderingIntent)
- */
-public static final native int CGImageCreate (int width, int height, int bitsPerComponent, int bitsPerPixel, int bytesPerRow, int colorspace, int alphaInfo, int provider, float[] decode, boolean shouldInterpolate, int intent);
-/**
- * @method flags=dynamic
- * @param rect flags=struct
- */
-public static final native int CGImageCreateWithImageInRect(int image, CGRect rect);
-/** @param source cast=(CGDataProviderRef) */
-public static final native int CGImageCreateWithPNGDataProvider (int source, float[] decode, boolean shouldInterpolate, int intent);
-/** @param source cast=(CGDataProviderRef) */
-public static final native int CGImageCreateWithJPEGDataProvider (int source, float[] decode, boolean shouldInterpolate, int intent);
-/** @param image cast=(CGImageRef) */
-public static final native int CGImageGetAlphaInfo (int image);
-/** @param image cast=(CGImageRef) */
-public static final native int CGImageGetBitsPerComponent (int image);
-/** @param image cast=(CGImageRef) */
-public static final native int CGImageGetBitsPerPixel (int image);
-/** @param image cast=(CGImageRef) */
-public static final native int CGImageGetBytesPerRow (int image);
-/** @param image cast=(CGImageRef) */
-public static final native int CGImageGetDataProvider (int image);
-/** @param image cast=(CGImageRef) */
-public static final native int CGImageGetColorSpace (int image);
-/** @param image cast=(CGImageRef) */
-public static final native int CGImageGetHeight (int image);
-/** @param image cast=(CGImageRef) */
-public static final native int CGImageGetWidth (int image);
-/** @param image cast=(CGImageRef) */
-public static final native void CGImageRelease (int image);
-/**
- * @param path cast=(CGMutablePathRef)
- * @param m cast=(const CGAffineTransform *)
- */
-public static final native void CGPathAddArc (int path, float[] m, float x, float y, float r, float startAngle, float endAngle, boolean clockwise);
-/**
- * @param path cast=(CGMutablePathRef)
- * @param m cast=(const CGAffineTransform *)
- */
-public static final native void CGPathAddCurveToPoint (int path, float[] m, float cx1, float cy1, float cx2, float cy2, float x, float y);
-/**
- * @param path cast=(CGMutablePathRef)
- * @param m cast=(const CGAffineTransform *)
- */
-public static final native void CGPathAddLineToPoint (int path, float[] m, float x, float y);
-/**
- * @param path1 cast=(CGMutablePathRef)
- * @param m cast=(const CGAffineTransform *)
- * @param path2 cast=(CGPathRef)
- */
-public static final native void CGPathAddPath (int path1, float[] m, int path2);
-/**
- * @param path cast=(CGMutablePathRef)
- * @param m cast=(const CGAffineTransform *)
- */
-public static final native void CGPathAddQuadCurveToPoint (int path, float[] m, float cx, float cy, float x, float y);
-/**
- * @param path cast=(CGMutablePathRef)
- * @param m cast=(const CGAffineTransform *)
- * @param rect flags=struct
- */
-public static final native void CGPathAddRect (int path, float[] m, CGRect rect);
-/**
- * @param path cast=(CGPathRef)
- * @param info cast=(void *)
- * @param function cast=(CGPathApplierFunction)
- */
-public static final native void CGPathApply (int path, int info, int function);
-/** @param path cast=(CGMutablePathRef) */
-public static final native void CGPathCloseSubpath (int path);
-public static final native int CGPathCreateMutable ();
-/** @param path cast=(CGPathRef) */
-public static final native int CGPathCreateMutableCopy (int path);
-/**
- * @method flags=no_gen
- * @param path cast=(CGPathRef)
- */
-public static final native void CGPathGetBoundingBox (int path, CGRect rect);
-/**
- * @method flags=no_gen
- * @param path cast=(CGPathRef)
- */
-public static final native void CGPathGetCurrentPoint (int path, CGPoint point);
-/** @param path cast=(CGPathRef) */
-public static final native boolean CGPathIsEmpty (int path);
-/**
- * @param path cast=(CGMutablePathRef)
- * @param m cast=(const CGAffineTransform *)
- */
-public static final native void CGPathMoveToPoint (int path, float[] m, float x, float y);
-/** @param path cast=(CGPathRef) */
-public static final native void CGPathRelease (int path);
-/**
- * @param info cast=(void *)
- * @param bounds flags=struct
- * @param matrix cast=(CGAffineTransform *),flags=struct
- * @param tiling cast=(CGPatternTiling)
- * @param callbacks cast=(const CGPatternCallbacks *)
- */
-public static final native int CGPatternCreate (int info, CGRect bounds, float[] matrix, float xStep, float yStep, int tiling, int isColored, CGPatternCallbacks callbacks);
-/** @param pattern cast=(CGPatternRef) */
-public static final native void CGPatternRelease (int pattern);
-/** @method flags=no_gen */
-public static final native void CGPointApplyAffineTransform (CGPoint point, float[] t, CGPoint result);
-/**
- * @param mouseCursorPosition flags=struct
- * @param updateMouseCursorPosition cast=(boolean_t)
- * @param mouseButtonDown cast=(boolean_t)
- * @param mouseButtonDown2 cast=(boolean_t)
- * @param mouseButtonDown3 cast=(boolean_t)
- * @param mouseButtonDown4 cast=(boolean_t)
- * @param mouseButtonDown5 cast=(boolean_t)
- */
-public static final native int CGPostMouseEvent(CGPoint mouseCursorPosition, boolean updateMouseCursorPosition, int buttonCount, boolean mouseButtonDown, boolean mouseButtonDown2, boolean mouseButtonDown3, boolean mouseButtonDown4, boolean mouseButtonDown5);
-/**
- * @param keyChar cast=(CGCharCode)
- * @param virtualKey cast=(CGKeyCode)
- * @param keyDown cast=(boolean_t)
- */
-public static final native int CGPostKeyboardEvent(int keyChar, int virtualKey, boolean keyDown);
-public static final native int CGPostScrollWheelEvent(int wheelCount, int wheel1);
-/**
- * @param rect flags=struct
- * @param point flags=struct
- */
-public static final native int CGRectContainsPoint(CGRect rect, CGPoint point);
-/**
- * @param colorspace cast=(CGColorSpaceRef)
- * @param start flags=struct
- * @param end flags=struct
- * @param function cast=(CGFunctionRef)
- */
-public static final native int CGShadingCreateAxial (int colorspace, CGPoint start, CGPoint end, int function, boolean extendStart, boolean extendEnd);
-/**
- * @param colorspace cast=(CGColorSpaceRef)
- * @param start flags=struct
- * @param end flags=struct
- * @param function cast=(CGFunctionRef)
- */
-public static final native int CGShadingCreateRadial (int colorspace, CGPoint start, float startRadius, CGPoint end, float endRadius, int function, boolean extendStart, boolean extendEnd);
-/** @param shading cast=(CGShadingRef) */
-public static final native void CGShadingRelease (int shading);
-/** @method flags=no_gen */
-public static final native void CGSizeApplyAffineTransform (CGSize size, float[] t, CGSize result);
-/** @param newCursorPosition flags=struct */
-public static final native int CGWarpMouseCursorPosition (CGPoint newCursorPosition);
-/**
- * @param menu cast=(MenuRef)
- * @param item cast=(MenuItemIndex)
- * @param setTheseAttributes cast=(MenuItemAttributes)
- * @param clearTheseAttributes cast=(MenuItemAttributes)
- */
-public static final native int ChangeMenuItemAttributes(int menu, int item, int setTheseAttributes, int clearTheseAttributes);
-/**
- * @param windowHandle cast=(WindowRef)
- * @param setAttributes cast=(WindowAttributes)
- * @param clearAttributes cast=(WindowAttributes)
- */
-public static final native int ChangeWindowAttributes(int windowHandle, int setAttributes, int clearAttributes);
-public static final native int CPSEnableForegroundOperation(int[] psn, int arg2, int arg3, int arg4, int arg5);
-public static final native int CPSSetProcessName(int[] psn, byte[] name);
-/**
- * @param nextHandler cast=(EventHandlerCallRef)
- * @param eventRefHandle cast=(EventRef)
- */
-public static final native int CallNextEventHandler(int nextHandler, int eventRefHandle);
-public static final native void Call(int proc, int arg1, int arg2);
-/** @param theMenu cast=(MenuRef) */
-public static final native void CalcMenuSize(int theMenu);
-/** @param inRootMenu cast=(MenuRef) */
-public static final native int CancelMenuTracking(int inRootMenu, boolean inImmediate, int inDismissalReason);
-public static final native int ClearCurrentScrap();
-/** @param inWindow cast=(WindowRef) */
-public static final native int ClearKeyboardFocus(int inWindow);
-public static final native void ClearMenuBar();
-/**
- * @param inContext cast=(CGContextRef)
- * @param portRect cast=(const Rect *)
- * @param rgnHandle cast=(RgnHandle)
- */
-public static final native int ClipCGContextToRegion(int inContext, Rect portRect, int rgnHandle);
-/**
- * @param cHandle cast=(ControlRef)
- * @param container cast=(DataBrowserItemID)
- */
-public static final native int CloseDataBrowserContainer(int cHandle, int container);
-public static final native void ClosePicture();
-/** @param dstRgn cast=(RgnHandle) */
-public static final native void CloseRgn(int dstRgn);
-/**
- * @param wHandle cast=(WindowRef)
- * @param collapse cast=(Boolean)
- */
-public static final native int CollapseWindow(int wHandle, boolean collapse);
-/**
- * @param inMenu cast=(MenuRef)
- * @param inGlobalLocation flags=struct
- * @param inHelpItemString cast=(ConstStr255Param)
- * @param outUserSelectionType cast=(UInt32 *)
- * @param outMenuID cast=(SInt16 *)
- * @param outMenuItem cast=(MenuItemIndex *)
- */
-public static final native int ContextualMenuSelect (int inMenu, Point inGlobalLocation, boolean inReserved, int inHelpType, byte[] inHelpItemString, AEDesc inSelection, int[] outUserSelectionType, short[] outMenuID, short[] outMenuItem);
-/**
- * @param inEvent cast=(EventRef)
- * @param outEvent cast=(EventRecord *)
- */
-public static final native boolean ConvertEventRefToEventRecord(int inEvent, EventRecord outEvent);
-/**
- * @param iTextToUnicodeInfo cast=(TextToUnicodeInfo)
- * @param iPascalStr cast=(ConstStr255Param)
- * @param oUnicodeLen cast=(ByteCount *)
- */
-public static final native int ConvertFromPStringToUnicode(int iTextToUnicodeInfo, byte[] iPascalStr, int iOutputBufLen, int[] oUnicodeLen, char[] oUnicodeStr);
-/**
- * @param iUnicodeToTextInfo cast=(UnicodeToTextInfo)
- * @param iUnicodeStr cast=(ConstUniCharArrayPtr)
- * @param oPascalStr cast=(unsigned char *)
- */
-public static final native int ConvertFromUnicodeToPString (int iUnicodeToTextInfo, int iUnicodeLen, char[] iUnicodeStr, byte[] oPascalStr);
-/**
- * @param srcPixMapHandle cast=(const BitMap *)
- * @param dstPixMapHandle cast=(const BitMap *)
- * @param srcRect cast=(const Rect *)
- * @param dstRect cast=(const Rect *)
- * @param mode cast=(short)
- * @param maskRgn cast=(RgnHandle)
- */
-public static final native void CopyBits(int srcPixMapHandle, int dstPixMapHandle, Rect srcRect, Rect dstRect, short mode, int maskRgn);
-/**
- * @param cHandle cast=(ControlRef)
- * @param sHandle cast=(CFStringRef *)
- */
-public static final native int CopyControlTitleAsCFString(int cHandle, int[] sHandle);
-/**
- * @param mHandle cast=(MenuRef)
- * @param index cast=(MenuItemIndex)
- * @param sHandle cast=(CFStringRef *)
- */
-public static final native int CopyMenuItemTextAsCFString(int mHandle, short index, int[] sHandle);
-/**
- * @param srcRgnHandle cast=(RgnHandle)
- * @param dstRgnHandle cast=(RgnHandle)
- */
-public static final native void CopyRgn(int srcRgnHandle, int dstRgnHandle);
-/**
- * @param theDrag cast=(DragRef)
- * @param numItems cast=(UInt16 *)
- */
-public static final native int CountDragItems(int theDrag, short[] numItems);
-/**
- * @param theDrag cast=(DragRef)
- * @param theItemRef cast=(DragItemRef)
- * @param numFlavors cast=(UInt16 *)
- */
-public static final native int CountDragItemFlavors(int theDrag, int theItemRef, short[] numFlavors);
-/** @param mHandle cast=(MenuRef) */
-public static final native short CountMenuItems(int mHandle);
-/**
- * @param cHandle cast=(ControlRef)
- * @param count cast=(UInt16 *)
- */
-public static final native int CountSubControls(int cHandle, short[] count);
-/**
- * @param window cast=(WindowRef)
- * @param boundsRect cast=(const Rect *)
- * @param title cast=(CFStringRef)
- * @param thickness cast=(ControlBevelThickness)
- * @param behavior cast=(ControlBevelButtonBehavior)
- * @param info cast=(ControlButtonContentInfoPtr)
- * @param menuID cast=(SInt16)
- * @param menuBehavior cast=(ControlBevelButtonMenuBehavior)
- * @param menuPlacement cast=(ControlBevelButtonMenuPlacement)
- * @param outControl cast=(ControlRef *)
- */
-public static final native int CreateBevelButtonControl(int window, Rect boundsRect, int title, short thickness, short behavior, int info, short menuID, short menuBehavior, short menuPlacement, int[] outControl);
-/**
- * @param window cast=(WindowRef)
- * @param boundsRect cast=(const Rect *)
- * @param clockType cast=(ControlClockType)
- * @param clockFlags cast=(ControlClockFlags)
- * @param outControl cast=(ControlRef *)
- */
-public static final native int CreateClockControl(int window, Rect boundsRect, int clockType, int clockFlags, int[] outControl);
-/**
- * @param window cast=(WindowRef)
- * @param boundsRect cast=(const Rect *)
- * @param title cast=(CFStringRef)
- * @param initialValue cast=(SInt32)
- * @param autoToggle cast=(Boolean)
- * @param outControl cast=(ControlRef *)
- */
-public static final native int CreateCheckBoxControl(int window, Rect boundsRect, int title, int initialValue, boolean autoToggle, int[] outControl);
-/**
- * @param inPort cast=(CGrafPtr)
- * @param outContext cast=(CGContextRef *)
- */
-public static final native int CreateCGContextForPort(int inPort, int[] outContext);
-/**
- * @param window cast=(WindowRef)
- * @param boundsRect cast=(const Rect *)
- * @param style cast=(DataBrowserViewStyle)
- * @param outControl cast=(ControlRef *)
- */
-public static final native int CreateDataBrowserControl(int window, Rect boundsRect, int style,int[] outControl);
-/**
- * @param allocator cast=(CFAllocatorRef)
- * @param inClassID cast=(UInt32)
- * @param kind cast=(UInt32)
- * @param when cast=(EventTime)
- * @param flags cast=(EventAttributes)
- * @param outEventRef cast=(EventRef *)
- */
-public static final native int CreateEvent(int allocator, int inClassID, int kind, double when, int flags, int[] outEventRef);
-/**
- * @param window cast=(WindowRef)
- * @param boundsRect cast=(const Rect *)
- * @param title cast=(CFStringRef)
- * @param primary cast=(Boolean)
- * @param outControl cast=(ControlRef *)
- */
-public static final native int CreateGroupBoxControl(int window, Rect boundsRect, int title, boolean primary, int[] outControl);
-/**
- * @param window cast=(WindowRef)
- * @param outControl cast=(ControlRef *)
- */
-public static final native int CreateIconControl(int window, Rect boundsRect, ControlButtonContentInfo icon, boolean dontTrack, int[] outControl);
-/**
- * @param window cast=(WindowRef)
- * @param boundsRect cast=(const Rect *)
- * @param outControl cast=(ControlRef *)
- */
-public static final native int CreateLittleArrowsControl(int window, Rect boundsRect, int value, int minimum, int maximum, int increment, int[] outControl);
-/**
- * @param menuID cast=(MenuID)
- * @param menuAttributes cast=(MenuAttributes)
- * @param outMenuRef cast=(MenuRef *)
- */
-public static final native int CreateNewMenu(short menuID, int menuAttributes, int[] outMenuRef);
-/**
- * @param windowClass cast=(WindowClass)
- * @param attributes cast=(WindowAttributes)
- * @param bounds cast=(const Rect *)
- * @param wHandle cast=(WindowRef *)
- */
-public static final native int CreateNewWindow(int windowClass, int attributes, Rect bounds, int[] wHandle);
-/**
- * @param window cast=(WindowRef)
- * @param boundsRect cast=(const Rect *)
- * @param orientation cast=(ControlPopupArrowOrientation)
- * @param size cast=(ControlPopupArrowSize)
- * @param outControl cast=(ControlRef *)
- */
-public static final native int CreatePopupArrowControl(int window, Rect boundsRect, short orientation, short size, int[] outControl);
-/**
- * @param window cast=(WindowRef)
- * @param title cast=(CFStringRef)
- * @param outControl cast=(ControlRef *)
- */
-public static final native int CreatePopupButtonControl(int window, Rect boundsRect, int title, short menuID, boolean variableWidth, short titleWidth, short titleJustification, int titleStyle, int[] outControl);
-/**
- * @param window cast=(WindowRef)
- * @param outControl cast=(ControlRef *)
- */
-public static final native int CreateProgressBarControl(int window, Rect boundsRect, int value, int minimim, int maximum, boolean indeterminate, int [] outControl);
-/**
- * @param window cast=(WindowRef)
- * @param boundsRect cast=(const Rect *)
- * @param title cast=(CFStringRef)
- * @param outControl cast=(ControlRef *)
- */
-public static final native int CreatePushButtonControl(int window, Rect boundsRect, int title, int[] outControl);
-/**
- * @param window cast=(WindowRef)
- * @param title cast=(CFStringRef)
- * @param icon cast=(ControlButtonContentInfo *)
- * @param iconAlignment cast=(ControlPushButtonIconAlignment)
- * @param outControl cast=(ControlRef *)
- */
-public static final native int CreatePushButtonWithIconControl(int window, Rect boundsRect, int title, ControlButtonContentInfo icon, short iconAlignment, int[] outControl);
-/**
- * @param window cast=(WindowRef)
- * @param boundsRect cast=(const Rect *)
- * @param title cast=(CFStringRef)
- * @param initialValue cast=(SInt32)
- * @param autoToggle cast=(Boolean)
- * @param outControl cast=(ControlRef *)
- */
-public static final native int CreateRadioButtonControl(int window, Rect boundsRect, int title, int initialValue, boolean autoToggle, int[] outControl);
-/**
- * @param windowHandle cast=(WindowRef)
- * @param cHandle cast=(ControlRef *)
- */
-public static final native int CreateRootControl(int windowHandle, int[] cHandle);
-/**
- * @param window cast=(WindowRef)
- * @param boundsRect cast=(const Rect *)
- * @param value cast=(SInt32)
- * @param minimum cast=(SInt32)
- * @param maximum cast=(SInt32)
- * @param orientation cast=(ControlSliderOrientation)
- * @param numTickMarks cast=(UInt16)
- * @param liveTracking cast=(Boolean)
- * @param liveTrackingProc cast=(ControlActionUPP)
- * @param outControl cast=(ControlRef *)
- */
-public static final native int CreateSliderControl(int window, Rect boundsRect, int value, int minimum, int maximum, int orientation, short numTickMarks, boolean liveTracking, int liveTrackingProc, int [] outControl);
-/**
- * @param window cast=(WindowRef)
- * @param liveTrackingProc cast=(ControlActionUPP)
- * @param outControl cast=(ControlRef *)
- */
-public static final native int CreateScrollBarControl(int window, Rect boundsRect, int value, int minimum, int maximum, int viewSize, boolean liveTracking, int liveTrackingProc, int [] outControl);
-/**
- * @param window cast=(WindowRef)
- * @param outControl cast=(ControlRef *)
- */
-public static final native int CreateSeparatorControl(int window, Rect boundsRect, int [] outControl);
-/**
- * @param alertType cast=(AlertType)
- * @param errorSHandle cast=(CFStringRef)
- * @param explanationSHandle cast=(CFStringRef)
- * @param alertParamHandle cast=(const AlertStdCFStringAlertParamRec *)
- * @param dialogHandle cast=(DialogRef *)
- */
-public static final native int CreateStandardAlert(short alertType, int errorSHandle, int explanationSHandle, AlertStdCFStringAlertParamRec alertParamHandle, int[] dialogHandle);
-/**
- * @param window cast=(WindowRef)
- * @param text cast=(CFStringRef)
- * @param style cast=(const ControlFontStyleRec *)
- * @param outControl cast=(ControlRef *)
- */
-public static final native int CreateStaticTextControl(int window, Rect boundsRect, int text, ControlFontStyleRec style, int [] outControl);
-/**
- * @param window cast=(WindowRef)
- * @param boundsRect cast=(const Rect *)
- * @param size cast=(ControlTabSize)
- * @param direction cast=(ControlTabDirection)
- * @param numTabs cast=(UInt16)
- * @param tabArray cast=(const ControlTabEntry *)
- * @param outControl cast=(ControlRef *)
- */
-public static final native int CreateTabsControl(int window, Rect boundsRect, short size, short direction, short numTabs, int tabArray, int[] outControl);
-/**
- * @param iEncoding cast=(TextEncoding)
- * @param oTextToUnicodeInfo cast=(TextToUnicodeInfo *)
- */
-public static final native int CreateTextToUnicodeInfoByEncoding(int iEncoding, int[] oTextToUnicodeInfo);
-/**
- * @param iEncoding cast=(TextEncoding)
- * @param oUnicodeToTextInfo cast=(UnicodeToTextInfo *)
- */
-public static final native int CreateUnicodeToTextInfoByEncoding (int iEncoding, int[] oUnicodeToTextInfo);
-/**
- * @param window cast=(WindowRef)
- * @param text cast=(CFStringRef)
- * @param outControl cast=(ControlRef *)
- */
-public static final native int CreateEditUnicodeTextControl(int window, Rect boundsRect, int text, boolean isPassword, ControlFontStyleRec style, int [] outControl);
-/**
- * @param window cast=(WindowRef)
- * @param outControl cast=(ControlRef *)
- */
-public static final native int CreateUserPaneControl(int window, Rect boundsRect, int features, int [] outControl);
-/**
- * @param inAttributes cast=(WindowGroupAttributes)
- * @param outGroup cast=(WindowGroupRef *)
- */
-public static final native int CreateWindowGroup (int inAttributes, int [] outGroup);
-/** @method flags=dynamic */
-public static final native int DataBrowserChangeAttributes(int inDataBrowser, int inAttributesToSet, int inAttributesToClear);
-/** @method flags=dynamic */
-public static final native int DataBrowserGetMetric(int inDataBrowser, int inMetric, boolean[] outUsingDefaultValue, float[] outValue);
-/** @method flags=dynamic */
-public static final native int DataBrowserSetMetric(int inDataBrowser, int inMetric, boolean inUseDefaultValue, float inValue);
-/** @method flags=dynamic */
-public static final native int DataBrowserGetAttributes(int inDataBrowser, int[] outAttributes);
-/** @param idocID cast=(TSMDocumentID) */
-public static final native int DeactivateTSMDocument(int idocID);
-/** @param menuID cast=(MenuID) */
-public static final native void DeleteMenu(short menuID);
-/**
- * @param mHandle cast=(MenuRef)
- * @param index cast=(short)
- */
-public static final native void DeleteMenuItem(int mHandle, short index);
-/**
- * @param mHandle cast=(MenuRef)
- * @param firstItem cast=(MenuItemIndex)
- * @param numItems cast=(ItemCount)
- */
-public static final native int DeleteMenuItems(int mHandle, short firstItem, int numItems);
-/** @param idocID cast=(TSMDocumentID) */
-public static final native int DeleteTSMDocument(int idocID);
-/**
- * @param srcRgnA cast=(RgnHandle)
- * @param srcRgnB cast=(RgnHandle)
- * @param dstRgn cast=(RgnHandle)
- */
-public static final native void DiffRgn(int srcRgnA, int srcRgnB, int dstRgn);
-/** @param cHandle cast=(ControlRef) */
-public static final native int DisableControl(int cHandle);
-/**
- * @param mHandle cast=(MenuRef)
- * @param commandId cast=(MenuCommand)
- */
-public static final native void DisableMenuCommand(int mHandle, int commandId);
-/**
- * @param mHandle cast=(MenuRef)
- * @param index cast=(MenuItemIndex)
- */
-public static final native void DisableMenuItem(int mHandle, short index);
-/** @param cHandle cast=(ControlRef) */
-public static final native void DisposeControl(int cHandle);
-/** @param theDrag cast=(DragRef) */
-public static final native int DisposeDrag(int theDrag);
-/** @param offscreenGWorld cast=(GWorldPtr) */
-public static final native void DisposeGWorld(int offscreenGWorld);
-/** @param handle cast=(Handle) */
-public static final native void DisposeHandle(int handle);
-/** @param mHandle cast=(MenuRef) */
-public static final native void DisposeMenu(int mHandle);
-/** @param ptr cast=(Ptr) */
-public static final native void DisposePtr(int ptr);
-/** @param rgnHandle cast=(RgnHandle) */
-public static final native void DisposeRgn(int rgnHandle);
-/** @param ioTextToUnicodeInfo cast=(TextToUnicodeInfo *) */
-public static final native int DisposeTextToUnicodeInfo(int[] ioTextToUnicodeInfo);
-/** @param ioUnicodeToTextInfo cast=(UnicodeToTextInfo *) */
-public static final native int DisposeUnicodeToTextInfo(int[] ioUnicodeToTextInfo);
-/** @param wHandle cast=(WindowRef) */
-public static final native void DisposeWindow(int wHandle);
-/** @param inControl cast=(ControlRef) */
-public static final native void DrawControlInCurrentPort(int inControl);
-public static final native void DrawMenuBar();
-/**
- * @param picHandle cast=(PicHandle)
- * @param rect cast=(const Rect *)
- */
-public static final native void DrawPicture(int picHandle, Rect rect);
-/**
- * @param inBounds cast=(Rect *)
- * @param inKind cast=(ThemeButtonKind)
- * @param inNewInfo cast=(const ThemeButtonDrawInfo *)
- * @param inPrevInfo cast=(const ThemeButtonDrawInfo *)
- * @param inEraseProc cast=(ThemeEraseUPP)
- * @param inLabelProc cast=(ThemeButtonDrawUPP)
- * @param inUserData cast=(UInt32)
- */
-public static final native int DrawThemeButton(Rect inBounds, short inKind, ThemeButtonDrawInfo inNewInfo, ThemeButtonDrawInfo inPrevInfo, int inEraseProc, int inLabelProc, int inUserData);
-/**
- * @param bounds cast=(const Rect *)
- * @param state cast=(ThemeDrawState)
- */
-public static final native int DrawThemeEditTextFrame(Rect bounds, int state);
-/**
- * @param bounds cast=(const Rect *)
- * @param hasFocus cast=(Boolean)
- */
-public static final native int DrawThemeFocusRect(Rect bounds, boolean hasFocus);
-/**
- * @param orientation cast=(ThemeArrowOrientation)
- * @param size cast=(ThemePopupArrowSize)
- * @param state cast=(ThemeDrawState)
- * @param eraseProc cast=(ThemeEraseUPP)
- * @param eraseData cast=(UInt32)
- */
-public static final native int DrawThemePopupArrow(Rect bounds,short orientation, short size, int state, int eraseProc, int eraseData);
-/**
- * @param bounds cast=(const Rect *)
- * @param state cast=(ThemeDrawState)
- */
-public static final native int DrawThemeSeparator(Rect bounds, int state);
-/**
- * @param sHandle cast=(CFStringRef)
- * @param fontID cast=(ThemeFontID)
- * @param state cast=(ThemeDrawState)
- * @param wrapToWidth cast=(Boolean)
- * @param bounds cast=(const Rect *)
- * @param just cast=(SInt16)
- * @param context cast=(void *)
- */
-public static final native int DrawThemeTextBox(int sHandle, short fontID, int state, boolean wrapToWidth, Rect bounds, short just, int context);
-/**
- * @param inControl cast=(ControlRef)
- * @param inContainer cast=(ControlRef)
- */
-public static final native int EmbedControl(int inControl, int inContainer);
-/** @param r cast=(const Rect *) */
-public static final native boolean EmptyRect(Rect r);
-/** @param rgnHandle cast=(RgnHandle) */
-public static final native boolean EmptyRgn(int rgnHandle);
-/** @param cHandle cast=(ControlRef) */
-public static final native int EnableControl(int cHandle);
-/**
- * @param mHandle cast=(MenuRef)
- * @param commandId cast=(MenuCommand)
- */
-public static final native void EnableMenuCommand(int mHandle, int commandId);
-/**
- * @param mHandle cast=(MenuRef)
- * @param index cast=(MenuItemIndex)
- */
-public static final native void EnableMenuItem(int mHandle, short index);
-/** @param bounds cast=(const Rect *) */
-public static final native void EraseRect(Rect bounds);
-public static final native int Fix2Long(int x);
-/**
- * @param inQueue cast=(EventQueueRef)
- * @param inComparator cast=(EventComparatorUPP)
- * @param inCompareData cast=(void *)
- */
-public static final native int FindSpecificEventInQueue(int inQueue, int inComparator, int inCompareData);
-/** @param x cast=(Fixed) */
-public static final native double Fix2X(int x);
-/** @param idocID cast=(TSMDocumentID) */
-public static final native int FixTSMDocument(int idocID);
-public static final native int FMGetATSFontRefFromFont(int iFont);
-/** @param name cast=(ConstStr255Param) */
-public static final native short FMGetFontFamilyFromName(byte[] name);
-/**
- * @param iFont cast=(FMFont)
- * @param oFontFamily cast=(FMFontFamily *)
- * @param oStyle cast=(FMFontStyle *)
- */
-public static final native int FMGetFontFamilyInstanceFromFont(int iFont, short[] oFontFamily, short[] oStyle);
-public static final native int FMGetFontFromATSFontRef(int iFont);
-/**
- * @param iFontFamily cast=(FMFontFamily)
- * @param iStyle cast=(FMFontStyle)
- * @param oFont cast=(FMFont *)
- * @param oIntrinsicStyle cast=(FMFontStyle *)
- */
-public static final native int FMGetFontFromFontFamilyInstance(short iFontFamily, short iStyle, int[] oFont, short[] oIntrinsicStyle);
-public static final native boolean FPIsFontPanelVisible();
-public static final native int FPShowHideFontPanel();
-/**
- * @param spec cast=(FSSpec *)
- * @param fndrInfo cast=(FInfo *)
- */
-public static final native int FSpGetFInfo(byte[] spec, byte[] fndrInfo);
-/**
- * @param source cast=(const FSSpec *)
- * @param newRef cast=(FSRef *)
- */
-public static final native int FSpMakeFSRef(byte[] source, byte[] newRef);
-/**
- * @param ref cast=(FSRef *)
- * @param whichInfo cast=(FSCatalogInfoBitmap)
- * @param catalogInfo cast=(FSCatalogInfo *)
- * @param outName cast=(HFSUniStr255 *)
- * @param fsSpec cast=(FSSpec *)
- * @param parentRef cast=(FSRef *)
- */
-public static final native int FSGetCatalogInfo(byte[] ref, int whichInfo, byte[] catalogInfo, byte[] outName, byte[] fsSpec, byte[] parentRef);
-/**
- * @param where cast=(Point *),flags=struct
- * @param wHandle cast=(WindowRef *)
- */
-public static final native short FindWindow(Point where, int[] wHandle);
-public static final native int FrontWindow();
-/**
- * @param selector cast=(OSType)
- * @param response cast=(long *)
- */
-public static final native int Gestalt(int selector, int[] response);
-public static final native int GetApplicationEventTarget();
-/** @param windowClass cast=(WindowClass) */
-public static final native int GetAvailableWindowAttributes(int windowClass);
-/**
- * @param inDevice cast=(GDHandle)
- * @param outAvailableRect cast=(Rect *)
- */
-public static final native int GetAvailableWindowPositioningBounds(int inDevice, Rect outAvailableRect);
-/**
- * @param inControl cast=(ControlRef)
- * @param outRect cast=(Rect *)
- * @param outBaseLineOffset cast=(SInt16 *)
- */
-public static final native int GetBestControlRect(int inControl, Rect outRect, short[] outBaseLineOffset);
-public static final native int GetCaretTime();
-/** @param rgnHandle cast=(RgnHandle) */
-public static final native void GetClip(int rgnHandle);
-/** @param theControl cast=(ControlRef) */
-public static final native int GetControlAction(int theControl );
-/** @param cHandle cast=(ControlRef) */
-public static final native int GetControl32BitMaximum(int cHandle);
-/** @param cHandle cast=(ControlRef) */
-public static final native int GetControl32BitMinimum(int cHandle);
-/** @param cHandle cast=(ControlRef) */
-public static final native int GetControl32BitValue(int cHandle);
-/**
- * @param cHandle cast=(ControlRef)
- * @param bounds cast=(Rect *)
- */
-public static final native void GetControlBounds(int cHandle, Rect bounds);
-/**
- * @param inControl cast=(ControlRef)
- * @param inPart cast=(ControlPartCode)
- * @param inTagName cast=(ResType)
- * @param inBufferSize cast=(Size)
- * @param inBuffer cast=(void *)
- * @param outActualSize cast=(Size *)
- */
-public static final native int GetControlData(int inControl, short inPart, int inTagName, int inBufferSize, ControlFontStyleRec inBuffer, int[] outActualSize);
-/**
- * @param inControl cast=(ControlRef)
- * @param inPart cast=(ControlPartCode)
- * @param inTagName cast=(ResType)
- * @param inBufferSize cast=(Size)
- * @param inBuffer cast=(void *)
- * @param outActualSize cast=(Size *)
- */
-public static final native int GetControlData(int inControl, short inPart, int inTagName, int inBufferSize, Rect inBuffer, int[] outActualSize);
-/**
- * @param inControl cast=(ControlRef)
- * @param inPart cast=(ControlPartCode)
- * @param inTagName cast=(ResType)
- * @param inBufferSize cast=(Size)
- * @param inBuffer cast=(void *)
- * @param outActualSize cast=(Size *)
- */
-public static final native int GetControlData(int inControl, short inPart, int inTagName, int inBufferSize, int[] inBuffer, int[] outActualSize);
-/**
- * @param inControl cast=(ControlRef)
- * @param inPart cast=(ControlPartCode)
- * @param inTagName cast=(ResType)
- * @param inBufferSize cast=(Size)
- * @param inBuffer cast=(void *)
- * @param outActualSize cast=(Size *)
- */
-public static final native int GetControlData(int inControl, short inPart, int inTagName, int inBufferSize, short[] inBuffer, int[] outActualSize);
-/**
- * @param inControl cast=(ControlRef)
- * @param inPart cast=(ControlPartCode)
- * @param inTagName cast=(ResType)
- * @param inBufferSize cast=(Size)
- * @param inBuffer cast=(void *)
- * @param outActualSize cast=(Size *)
- */
-public static final native int GetControlData(int inControl, short inPart, int inTagName, int inBufferSize, byte[] inBuffer, int[] outActualSize);
-/**
- * @param inControl cast=(ControlRef)
- * @param inPart cast=(ControlPartCode)
- * @param inTagName cast=(ResType)
- * @param inBufferSize cast=(Size)
- * @param inBuffer cast=(void *)
- */
-public static final native int GetControlData(int inControl, short inPart, int inTagName, int inBufferSize, ControlEditTextSelectionRec inBuffer, int[] outActualSize);
-/**
- * @param inControl cast=(ControlRef)
- * @param inPart cast=(ControlPartCode)
- * @param inTagName cast=(ResType)
- * @param inBufferSize cast=(Size)
- * @param inBuffer cast=(void *)
- * @param outActualSize cast=(Size *)
- */
-public static final native int GetControlData(int inControl, short inPart, int inTagName, int inBufferSize, LongDateRec inBuffer, int[] outActualSize);
-/** @param cHandle cast=(ControlRef) */
-public static final native int GetControlEventTarget(int cHandle);
-/**
- * @param inControl cast=(ControlRef)
- * @param outFeatures cast=(UInt32 *)
- */
-public static final native int GetControlFeatures(int inControl, int[] outFeatures);
-/** @param inControl cast=(ControlRef) */
-public static final native int GetControlKind(int inControl, ControlKind kind);
-/** @param cHandle cast=(ControlRef) */
-public static final native int GetControlOwner(int cHandle);
-/**
- * @param control cast=(ControlRef)
- * @param actualSize cast=(UInt32 *)
- * @param propertyBuffer cast=(void *)
- */
-public static final native int GetControlProperty(int control, int propertyCreator, int propertyTag, int bufferSize, int[] actualSize, int[] propertyBuffer);
-/** @param cHandle cast=(ControlRef) */
-public static final native int GetControlReference(int cHandle);
-/**
- * @param cHandle cast=(ControlRef)
- * @param inPart cast=(ControlPartCode)
- * @param rgnHandle cast=(RgnHandle)
- */
-public static final native int GetControlRegion(int cHandle, short inPart, int rgnHandle);
-/** @param cHandle cast=(ControlRef) */
-public static final native short GetControlValue(int cHandle);
-/** @param cHandle cast=(ControlRef) */
-public static final native int GetControlViewSize(int cHandle);
-public static final native int GetCurrentEventButtonState();
-public static final native int GetCurrentEventLoop();
-public static final native int GetCurrentEventKeyModifiers();
-public static final native int GetCurrentEventQueue();
-/** @param psn cast=(ProcessSerialNumber *) */
-public static final native int GetCurrentProcess(int[] psn);
-/** @param scrap cast=(ScrapRef *) */
-public static final native int GetCurrentScrap(int[] scrap);
-/**
- * @param browser cast=(ControlRef)
- * @param callbacks cast=(DataBrowserCallbacks *)
- */
-public static final native int GetDataBrowserCallbacks(int browser, DataBrowserCallbacks callbacks);
-/** @param browser cast=(ControlRef) */
-public static final native int GetDataBrowserHasScrollBars(int browser, boolean [] horiz, boolean [] vert);
-/**
- * @param cHandle cast=(ControlRef)
- * @param container cast=(DataBrowserItemID)
- * @param recurse cast=(Boolean)
- * @param state cast=(DataBrowserItemState)
- * @param numItems cast=(UInt32 *)
- */
-public static final native int GetDataBrowserItemCount(int cHandle, int container, boolean recurse, int state, int[] numItems);
-/**
- * @param itemData cast=(ControlRef)
- * @param theData cast=(ThemeButtonValue *)
- */
-public static final native int GetDataBrowserItemDataButtonValue(int itemData, short [] theData);
-/**
- * @param cHandle cast=(ControlRef)
- * @param item cast=(DataBrowserItemID)
- * @param property cast=(DataBrowserPropertyID)
- * @param part cast=(DataBrowserPropertyPart)
- * @param bounds cast=(Rect *)
- */
-public static final native int GetDataBrowserItemPartBounds(int cHandle, int item, int property, int part, Rect bounds);
-/**
- * @param browser cast=(ControlRef)
- * @param container cast=(DataBrowserItemID)
- * @param recurse cast=(Boolean)
- * @param state cast=(DataBrowserItemState)
- * @param items cast=(Handle)
- */
-public static final native int GetDataBrowserItems(int browser, int container, boolean recurse, int state, int items);
-/**
- * @param browser cast=(ControlRef)
- * @param state cast=(DataBrowserItemState *)
- */
-public static final native int GetDataBrowserItemState(int browser, int item, int [] state);
-/**
- * @param browser cast=(ControlRef)
- * @param column cast=(DataBrowserTableViewColumnID *)
- * @param expandableRows cast=(Boolean *)
- */
-public static final native int GetDataBrowserListViewDisclosureColumn(int browser, int [] column, boolean [] expandableRows);
-/**
- * @param browser cast=(ControlRef)
- * @param height cast=(UInt16 *)
- */
-public static final native int GetDataBrowserListViewHeaderBtnHeight(int browser, short [] height);
-/**
- * @param browser cast=(ControlRef)
- * @param column cast=(DataBrowserTableViewColumnID)
- * @param desc cast=(DataBrowserListViewHeaderDesc *)
- */
-public static final native int GetDataBrowserListViewHeaderDesc(int browser, int column, DataBrowserListViewHeaderDesc desc);
-/**
- * @param browser cast=(ControlRef)
- * @param property cast=(DataBrowserPropertyID)
- * @param flags cast=(DataBrowserPropertyFlags *)
- */
-public static final native int GetDataBrowserPropertyFlags(int browser, int property, int [] flags);
-/**
- * @param browser cast=(ControlRef)
- * @param column cast=(DataBrowserTableViewColumnID)
- * @param position cast=(DataBrowserTableViewColumnIndex *)
- */
-public static final native int GetDataBrowserTableViewColumnPosition(int browser,int column,int[] position);
-/**
- * @param browser cast=(ControlRef)
- * @param row cast=(DataBrowserTableViewRowIndex)
- * @param item cast=(DataBrowserItemID *)
- */
-public static final native int GetDataBrowserTableViewItemID(int browser, int row, int [] item);
-/**
- * @param browser cast=(ControlRef)
- * @param item cast=(DataBrowserTableViewRowIndex)
- * @param row cast=(DataBrowserItemID *)
- */
-public static final native int GetDataBrowserTableViewItemRow(int browser, int item, int [] row);
-/**
- * @param browser cast=(ControlRef)
- * @param column cast=(DataBrowserTableViewColumnID)
- * @param width cast=(UInt16 *)
- */
-public static final native int GetDataBrowserTableViewNamedColumnWidth(int browser, int column, short [] width);
-/**
- * @param browser cast=(ControlRef)
- * @param height cast=(UInt16 *)
- */
-public static final native int GetDataBrowserTableViewRowHeight(int browser, short [] height);
-/** @param browser cast=(ControlRef) */
-public static final native int GetDataBrowserScrollBarInset(int browser, Rect insetRect);
-/**
- * @param cHandle cast=(ControlRef)
- * @param top cast=(UInt32 *)
- * @param left cast=(UInt32 *)
- */
-public static final native int GetDataBrowserScrollPosition(int cHandle, int[] top, int[] left);
-/**
- * @param browser cast=(ControlRef)
- * @param first cast=(UInt32 *)
- * @param last cast=(UInt32 *)
- */
-public static final native int GetDataBrowserSelectionAnchor(int browser, int [] first, int [] last);
-/**
- * @param browser cast=(ControlRef)
- * @param selectionFlags cast=(DataBrowserSelectionFlags *)
- */
-public static final native int GetDataBrowserSelectionFlags(int browser, int [] selectionFlags);
-/**
- * @param browser cast=(ControlRef)
- * @param property cast=(DataBrowserPropertyID *)
- */
-public static final native int GetDataBrowserSortProperty(int browser, int[] property);
-public static final native int GetDblTime();
-public static final native int GetDeviceList();
-/**
- * @param theDrag cast=(DragRef)
- * @param outActions cast=(DragActions *)
- */
-public static final native int GetDragAllowableActions(int theDrag, int[] outActions);
-/**
- * @param theDrag cast=(DragRef)
- * @param outAction cast=(DragActions *)
- */
-public static final native int GetDragDropAction(int theDrag, int[] outAction);
-/**
- * @param theDrag cast=(DragRef)
- * @param theItemRef cast=(DragItemRef *)
- */
-public static final native int GetDragItemReferenceNumber(int theDrag, short index, int[] theItemRef);
-/**
- * @param theDrag cast=(DragRef)
- * @param modifiers cast=(SInt16 *)
- * @param mouseDownModifiers cast=(SInt16 *)
- * @param mouseUpModifiers cast=(SInt16 *)
- */
-public static final native int GetDragModifiers(int theDrag, short[] modifiers, short[] mouseDownModifiers, short[] mouseUpModifiers);
-/**
- * @param theDrag cast=(DragRef)
- * @param mouse cast=(Point *)
- * @param globalPinnedMouse cast=(Point *)
- */
-public static final native int GetDragMouse(int theDrag, Point mouse, Point globalPinnedMouse);
-/** @param eHandle cast=(EventRef) */
-public static final native int GetEventClass(int eHandle);
-public static final native int GetEventDispatcherTarget();
-/** @param eHandle cast=(EventRef) */
-public static final native int GetEventKind(int eHandle);
-/**
- * @param inEvent cast=(EventRef)
- * @param inName cast=(EventParamName)
- * @param inDesiredType cast=(EventParamType)
- * @param outActualType cast=(EventParamType *)
- * @param inBufferSize cast=(UInt32)
- * @param outActualSize cast=(UInt32 *)
- * @param outData cast=(void *)
- */
-public static final native int GetEventParameter(int inEvent, int inName, int inDesiredType, int[] outActualType, int inBufferSize, int[] outActualSize, int outData);
-/**
- * @param inEvent cast=(EventRef)
- * @param inName cast=(EventParamName)
- * @param inDesiredType cast=(EventParamType)
- * @param outActualType cast=(EventParamType *)
- * @param inBufferSize cast=(UInt32)
- * @param outActualSize cast=(UInt32 *)
- * @param outData cast=(void *)
- */
-public static final native int GetEventParameter(int inEvent, int inName, int inDesiredType, int[] outActualType, int inBufferSize, int[] outActualSize, int[] outData);
-/**
- * @param inEvent cast=(EventRef)
- * @param inName cast=(EventParamName)
- * @param inDesiredType cast=(EventParamType)
- * @param outActualType cast=(EventParamType *)
- * @param inBufferSize cast=(UInt32)
- * @param outActualSize cast=(UInt32 *)
- * @param outData cast=(void *)
- */
-public static final native int GetEventParameter(int inEvent, int inName, int inDesiredType, int[] outActualType, int inBufferSize, int[] outActualSize, char[] outData);
-/**
- * @param inEvent cast=(EventRef)
- * @param inName cast=(EventParamName)
- * @param inDesiredType cast=(EventParamType)
- * @param outActualType cast=(EventParamType *)
- * @param inBufferSize cast=(UInt32)
- * @param outActualSize cast=(UInt32 *)
- * @param outData cast=(void *)
- */
-public static final native int GetEventParameter(int inEvent, int inName, int inDesiredType, int[] outActualType, int inBufferSize, int[] outActualSize, short[] outData);
-/**
- * @param inEvent cast=(EventRef)
- * @param inName cast=(EventParamName)
- * @param inDesiredType cast=(EventParamType)
- * @param outActualType cast=(EventParamType *)
- * @param inBufferSize cast=(UInt32)
- * @param outActualSize cast=(UInt32 *)
- * @param outData cast=(void *)
- */
-public static final native int GetEventParameter(int inEvent, int inName, int inDesiredType, int[] outActualType, int inBufferSize, int[] outActualSize, byte[] outData);
-/**
- * @param inEvent cast=(EventRef)
- * @param inName cast=(EventParamName)
- * @param inDesiredType cast=(EventParamType)
- * @param outActualType cast=(EventParamType *)
- * @param inBufferSize cast=(UInt32)
- * @param outActualSize cast=(UInt32 *)
- * @param outData cast=(void *)
- */
-public static final native int GetEventParameter(int inEvent, int inName, int inDesiredType, int[] outActualType, int inBufferSize, int[] outActualSize, boolean[] outData);
-/**
- * @param inEvent cast=(EventRef)
- * @param inName cast=(EventParamName)
- * @param inDesiredType cast=(EventParamType)
- * @param outActualType cast=(EventParamType *)
- * @param inBufferSize cast=(UInt32)
- * @param outActualSize cast=(UInt32 *)
- * @param outData cast=(void *)
- */
-public static final native int GetEventParameter(int inEvent, int inName, int inDesiredType, int[] outActualType, int inBufferSize, int[] outActualSize, HICommand outData);
-/**
- * @param inEvent cast=(EventRef)
- * @param inName cast=(EventParamName)
- * @param inDesiredType cast=(EventParamType)
- * @param outActualType cast=(EventParamType *)
- * @param inBufferSize cast=(UInt32)
- * @param outActualSize cast=(UInt32 *)
- * @param outData cast=(void *)
- */
-public static final native int GetEventParameter(int inEvent, int inName, int inDesiredType, int[] outActualType, int inBufferSize, int[] outActualSize, Point outData);
-/**
- * @param inEvent cast=(EventRef)
- * @param inName cast=(EventParamName)
- * @param inDesiredType cast=(EventParamType)
- * @param outActualType cast=(EventParamType *)
- * @param inBufferSize cast=(UInt32)
- * @param outActualSize cast=(UInt32 *)
- * @param outData cast=(void *)
- */
-public static final native int GetEventParameter(int inEvent, int inName, int inDesiredType, int[] outActualType, int inBufferSize, int[] outActualSize, CGPoint outData);
-/**
- * @param inEvent cast=(EventRef)
- * @param inName cast=(EventParamName)
- * @param inDesiredType cast=(EventParamType)
- * @param outActualType cast=(EventParamType *)
- * @param inBufferSize cast=(UInt32)
- * @param outActualSize cast=(UInt32 *)
- * @param outData cast=(void *)
- */
-public static final native int GetEventParameter(int inEvent, int inName, int inDesiredType, int[] outActualType, int inBufferSize, int[] outActualSize, CGRect outData);
-/**
- * @param inEvent cast=(EventRef)
- * @param inName cast=(EventParamName)
- * @param inDesiredType cast=(EventParamType)
- * @param outActualType cast=(EventParamType *)
- * @param inBufferSize cast=(UInt32)
- * @param outActualSize cast=(UInt32 *)
- * @param outData cast=(void *)
- */
-public static final native int GetEventParameter(int inEvent, int inName, int inDesiredType, int[] outActualType, int inBufferSize, int[] outActualSize, RGBColor outData);
-/**
- * @param inEvent cast=(EventRef)
- * @param inName cast=(EventParamName)
- * @param inDesiredType cast=(EventParamType)
- * @param outActualType cast=(EventParamType *)
- * @param inBufferSize cast=(UInt32)
- * @param outActualSize cast=(UInt32 *)
- * @param outData cast=(void *)
- */
-public static final native int GetEventParameter(int inEvent, int inName, int inDesiredType, int[] outActualType, int inBufferSize, int[] outActualSize, Rect outData);
-/** @param eHandle cast=(EventRef) */
-public static final native double GetEventTime(int eHandle);
-/**
- * @param theDrag cast=(DragRef)
- * @param theItemRef cast=(DragItemRef)
- * @param theType cast=(FlavorType)
- * @param dataPtr cast=(void *)
- * @param dataSize cast=(Size *)
- */
-public static final native int GetFlavorData(int theDrag, int theItemRef, int theType, byte[] dataPtr, int[] dataSize, int dataOffset);
-/**
- * @param theDrag cast=(DragRef)
- * @param theItemRef cast=(DragItemRef)
- * @param theType cast=(FlavorType)
- * @param dataSize cast=(Size *)
- */
-public static final native int GetFlavorDataSize(int theDrag, int theItemRef, int theType, int[] dataSize);
-/**
- * @param theDrag cast=(DragRef)
- * @param theItemRef cast=(DragItemRef)
- * @param theType cast=(FlavorType *)
- */
-public static final native int GetFlavorType(int theDrag,int theItemRef, short index, int[] theType);
-/** @param psn cast=(ProcessSerialNumber *) */
-public static final native int GetFrontProcess(int [] psn);
-/**
- * @param portHandle cast=(CGrafPtr *)
- * @param gdHandle cast=(GDHandle *)
- */
-public static final native void GetGWorld(int[] portHandle, int[] gdHandle);
-/** @param where cast=(Point *) */
-public static final native void GetGlobalMouse(Point where);
-/** @param handle cast=(Handle) */
-public static final native int GetHandleSize(int handle);
-/**
- * @param iconFamily cast=(IconFamilyHandle)
- * @param iconType cast=(OSType)
- * @param h cast=(Handle)
- */
-public static final native int GetIconFamilyData(int iconFamily, int iconType, int h);
-/** @method flags=dynamic */
-public static final native int GetIconRefFromIconFamilyPtr(int inIconFamilyPtr, int inSize, int[] outIconRef);
-/**
- * @param inRef cast=(const FSRef *)
- * @param inFileName cast=(const UniChar *)
- * @param inWhichInfo cast=(FSCatalogInfoBitmap)
- * @param inCatalogInfo cast=(const FSCatalogInfo *)
- * @param outIconRef cast=(IconRef *)
- * @param outLabel cast=(SInt16 *)
- */
-public static final native int GetIconRefFromFileInfo(byte[] inRef, int inFileNameLength, char[] inFileName, int inWhichInfo, int inCatalogInfo, int inUsageFlags, int[] outIconRef, int[] outLabel);
-/**
- * @param vRefNum cast=(SInt16)
- * @param creator cast=(OSType)
- * @param iconType cast=(OSType)
- * @param theIconRef cast=(IconRef *)
- */
-public static final native int GetIconRef(short vRefNum, int creator, int iconType, int[] theIconRef);
-/**
- * @param mHandle cast=(MenuRef)
- * @param commandId cast=(MenuCommand)
- * @param index cast=(UInt32)
- * @param outMenu cast=(MenuRef *)
- * @param outIndex cast=(MenuItemIndex *)
- */
-public static final native int GetIndMenuItemWithCommandID(int mHandle, int commandId, int index, int[] outMenu, short[] outIndex);
-/**
- * @param cHandle cast=(ControlRef)
- * @param index cast=(UInt16)
- * @param outHandle cast=(ControlRef *)
- */
-public static final native int GetIndexedSubControl(int cHandle, short index, int[] outHandle);
-/** @param theMenu cast=(MenuRef) */
-public static final native void GetItemMark (int theMenu, short item, short[] markChar);
-/**
- * @param wHandle cast=(WindowRef)
- * @param cHandle cast=(ControlRef *)
- */
-public static final native int GetKeyboardFocus(int wHandle, int[] cHandle);
-public static final native double GetLastUserEventTime();
-public static final native int GetMainDevice();
-public static final native int GetMainEventQueue();
-public static final native int GetMBarHeight();
-/**
- * @param theMenu cast=(MenuRef)
- * @param commandId cast=(MenuCommand)
- * @param outMark cast=(UniChar *)
- */
-public static final native int GetMenuCommandMark(int theMenu, int commandId, char[] outMark);
-/** @param cHandle cast=(MenuRef) */
-public static final native int GetMenuEventTarget(int cHandle);
-/**
- * @param inMenu cast=(MenuRef)
- * @param outFontID cast=(SInt16 *)
- * @param outFontSize cast=(UInt16 *)
- */
-public static final native int GetMenuFont(int inMenu, short[] outFontID, short[] outFontSize);
-/** @param inMenu cast=(MenuRef) */
-public static final native short GetMenuHeight(int inMenu);
-/** @param menu cast=(MenuRef) */
-public static final native short GetMenuID(int menu);
-/**
- * @param inMenu cast=(MenuRef)
- * @param inItem cast=(SInt16)
- * @param outCommandID cast=(MenuCommand *)
- */
-public static final native int GetMenuItemCommandID(int inMenu, short inItem, int[] outCommandID);
-/**
- * @param inMenu cast=(MenuRef)
- * @param inItem cast=(SInt16)
- * @param outHierMenu cast=(MenuRef *)
- */
-public static final native int GetMenuItemHierarchicalMenu(int inMenu, short inItem, int []outHierMenu);
-/**
- * @param inMenu cast=(MenuRef)
- * @param intItem cast=(SInt16)
- * @param outRefCon cast=(UInt32 *)
- */
-public static final native int GetMenuItemRefCon(int inMenu, short intItem, int[] outRefCon);
-/** @param menu cast=(MenuRef) */
-public static final native int GetMenuTrackingData(int menu, MenuTrackingData outData);
-/** @param inMenu cast=(MenuRef) */
-public static final native short GetMenuWidth(int inMenu);
-/** @param where cast=(Point *) */
-public static final native void GetMouse(Point where);
-/** @param curDevice cast=(GDHandle) */
-public static final native int GetNextDevice(int curDevice);
-/** @param pHandle cast=(PixMapHandle) */
-public static final native short GetPixDepth(int pHandle);
-/** @param port cast=(GrafPtr *) */
-public static final native void GetPort(int[] port);
-/** @param portHandle cast=(CGrafPtr) */
-public static final native int GetPortBitMapForCopyBits(int portHandle);
-/**
- * @param pHandle cast=(CGrafPtr)
- * @param rect cast=(Rect *)
- */
-public static final native void GetPortBounds(int pHandle, Rect rect);
-/** @param inWindow cast=(WindowRef) */
-public static final native int GetPreviousWindow(int inWindow);
-/** @param ptr cast=(Ptr) */
-public static final native int GetPtrSize(int ptr);
-/**
- * @param rgnHandle cast=(RgnHandle)
- * @param bounds cast=(Rect *)
- */
-public static final native void GetRegionBounds(int rgnHandle, Rect bounds);
-/**
- * @param windowHandle cast=(WindowRef)
- * @param cHandle cast=(ControlRef *)
- */
-public static final native int GetRootControl(int windowHandle, int[] cHandle);
-/**
- * @param scrap cast=(ScrapRef)
- * @param infoCount cast=(UInt32 *)
- */
-public static final native int GetScrapFlavorCount(int scrap, int[] infoCount);
-/**
- * @param scrap cast=(ScrapRef)
- * @param flavorType cast=(ScrapFlavorType)
- * @param byteCount cast=(Size *)
- * @param destination cast=(void *)
- */
-public static final native int GetScrapFlavorData(int scrap, int flavorType, int[] byteCount, byte[] destination);
-/**
- * @param scrap cast=(ScrapRef)
- * @param flavorType cast=(ScrapFlavorType)
- * @param byteCount cast=(Size *)
- * @param destination cast=(void *)
- */
-public static final native int GetScrapFlavorData(int scrap, int flavorType, int[] byteCount, char[] destination);
-/**
- * @param scrap cast=(ScrapRef)
- * @param infoCount cast=(UInt32 *)
- * @param info cast=(ScrapFlavorInfo *)
- */
-public static final native int GetScrapFlavorInfoList(int scrap, int[] infoCount, int[] info);
-/**
- * @param scrap cast=(ScrapRef)
- * @param flavorType cast=(ScrapFlavorType)
- * @param byteCount cast=(Size *)
- */
-public static final native int GetScrapFlavorSize(int scrap, int flavorType, int[] byteCount);
-public static final native int GetScriptManagerVariable(short selector);
-/**
- * @param cHandle cast=(ControlRef)
- * @param parentHandle cast=(ControlRef *)
- */
-public static final native int GetSuperControl(int cHandle, int[] parentHandle);
-/**
- * @param outMode cast=(SystemUIMode *)
- * @param outOptions cast=(SystemUIOptions *)
- */
-public static final native void GetSystemUIMode(int[] outMode, int[] outOptions);
-/** @param theControl cast=(ControlRef) */
-public static final native int GetTabContentRect(int theControl, Rect rect);
-public static final native int GetThemeBrushAsColor(short inBrush, short inDepth, boolean inColorDev, RGBColor outColor);
-public static final native int GetThemeButtonContentBounds(Rect inBounds, int inKind, ThemeButtonDrawInfo inDrawInfo, Rect outBounds);
-/** @param outRegion cast=(RgnHandle) */
-public static final native int GetThemeButtonRegion(Rect inBounds, int inKind, ThemeButtonDrawInfo inNewInfo, int outRegion);
-/** @param state cast=(ThemeDrawingState *) */
-public static final native int GetThemeDrawingState(int[] state);
-/**
- * @param themeFontId cast=(ThemeFontID)
- * @param scriptCode cast=(ScriptCode)
- * @param fontName cast=(unsigned char *)
- * @param fontSize cast=(SInt16 *)
- * @param style cast=(Style *)
- */
-public static final native int GetThemeFont(short themeFontId, short scriptCode, byte[] fontName, short[] fontSize, byte[] style);
-public static final native int GetThemeMenuItemExtra(short inItemType, short[] outHeight, short[] outWidth);
-public static final native int GetThemeMetric(int inMetric, int [] outMetric);
-public static final native int GetThemeTextColor(short inColor, short inDepth, boolean inColorDev, RGBColor outColor);
-/**
- * @param sHandle cast=(CFStringRef)
- * @param fontID cast=(ThemeFontID)
- * @param state cast=(ThemeDrawState)
- * @param wrapToWidth cast=(Boolean)
- * @param ioBounds cast=(Point *)
- * @param baseLine cast=(SInt16 *)
- */
-public static final native int GetThemeTextDimensions(int sHandle, short fontID, int state, boolean wrapToWidth, Point ioBounds, short[] baseLine);
-public static final native int GetUserFocusEventTarget();
-public static final native int GetUserFocusWindow();
-/** @param inWindow cast=(WindowRef) */
-public static final native int SetUserFocusWindow(int inWindow);
-/**
- * @param inWindow cast=(WindowRef)
- * @param outScope cast=(WindowActivationScope *)
- */
-public static final native int GetWindowActivationScope(int inWindow, int[] outScope);
-/** @param inWindow cast=(WindowRef) */
-public static final native int GetWindowAlpha(int inWindow, float [] outAlpha);
-/**
- * @param wHandle cast=(WindowRef)
- * @param windowRegion cast=(WindowRegionCode)
- * @param bounds cast=(Rect *)
- */
-public static final native void GetWindowBounds(int wHandle, short windowRegion, Rect bounds);
-/**
- * @param inWindow cast=(WindowRef)
- * @param outClass cast=(WindowClass *)
- */
-public static final native int GetWindowClass (int inWindow, int[] outClass);
-/**
- * @param wHandle cast=(WindowRef)
- * @param cHandle cast=(ControlRef *)
- */
-public static final native int GetWindowDefaultButton(int wHandle, int[] cHandle);
-/** @param wHandle cast=(WindowRef) */
-public static final native int GetWindowEventTarget(int wHandle);
-/** @param pHandle cast=(CGrafPtr) */
-public static final native int GetWindowFromPort(int pHandle);
-public static final native int GetWindowGroupOfClass (int windowClass);
-public static final native int GetWindowList();
-/** @param inWindow cast=(WindowRef) */
-public static final native int GetNextWindow(int inWindow);
-/**
- * @param inWindow cast=(WindowRef)
- * @param outModalKind cast=(WindowModality *)
- * @param outUnavailableWindow cast=(WindowRef *)
- */
-public static final native int GetWindowModality(int inWindow, int[] outModalKind, int[] outUnavailableWindow);
-/** @param wHandle cast=(WindowRef) */
-public static final native int GetWindowPort(int wHandle);
-/**
- * @param window cast=(WindowRef)
- * @param inRegionCode cast=(WindowRegionCode)
- * @param ioWinRgn cast=(RgnHandle)
- */
-public static final native int GetWindowRegion(int window, short inRegionCode, int ioWinRgn);
-/**
- * @param inWindow cast=(WindowRef)
- * @param inMinLimits cast=(HISize *)
- * @param inMaxLimits cast=(HISize *)
- */
-public static final native int GetWindowResizeLimits (int inWindow, CGPoint inMinLimits, CGPoint inMaxLimits);
-/**
- * @param intWindow cast=(WindowRef)
- * @param outRect cast=(Rect *)
- */
-public static final native void GetWindowStructureWidths(int intWindow, Rect outRect);
-/**
- * @method flags=dynamic
- * @param inImage cast=(CGImageRef)
- * @param outImage cast=(CGImageRef *)
- */
-public static final native int HICreateTransformedCGImage(int inImage, int inTransform, int[] outImage);
-/**
- * @param control cast=(ControlRef)
- * @param localPoint flags=struct
- * @param modifiers cast=(EventModifiers)
- * @param cursorWasSet cast=(Boolean *)
- */
-public static final native int HandleControlSetCursor(int control, Point localPoint, int modifiers, boolean[] cursorWasSet);
-/**
- * @param inComboBox cast=(HIViewRef)
- * @param inText cast=(CFStringRef)
- * @param outIndex cast=(CFIndex *)
- */
-public static final native int HIComboBoxAppendTextItem(int inComboBox, int inText, int[] outIndex);
-/**
- * @param inComboBox cast=(HIViewRef)
- * @param inIndex cast=(CFIndex)
- * @param outString cast=(CFStringRef *)
- */
-public static final native int HIComboBoxCopyTextItemAtIndex(int inComboBox, int inIndex, int[] outString);
-/**
- * @param boundsRect cast=(const HIRect *)
- * @param text cast=(CFStringRef)
- * @param style cast=(const ControlFontStyleRec *)
- * @param list cast=(CFArrayRef)
- * @param inAttributes cast=(OptionBits)
- * @param outComboBox cast=(HIViewRef *)
- */
-public static final native int HIComboBoxCreate(CGRect boundsRect, int text, ControlFontStyleRec style, int list, int inAttributes, int[] outComboBox);
-/** @param inComboBox cast=(HIViewRef) */
-public static final native int HIComboBoxGetItemCount(int inComboBox);
-/**
- * @param inComboBox cast=(HIViewRef)
- * @param inIndex cast=(CFIndex)
- * @param inText cast=(CFStringRef)
- */
-public static final native int HIComboBoxInsertTextItemAtIndex(int inComboBox, int inIndex, int inText);
-/**
- * @method flags=dynamic
- * @param inComboBox cast=(HIViewRef)
- */
-public static final native boolean HIComboBoxIsListVisible(int inComboBox);
-/**
- * @param inComboBox cast=(HIViewRef)
- * @param inIndex cast=(CFIndex)
- */
-public static final native int HIComboBoxRemoveItemAtIndex(int inComboBox, int inIndex);
-/**
- * @method flags=dynamic
- * @param inComboBox cast=(HIViewRef)
- */
-public static final native int HIComboBoxSetListVisible (int inComboBox, boolean inVisible);
-/**
- * @param inRole cast=(CFStringRef)
- * @param inSubrole cast=(CFStringRef)
- */
-public static final native int HICopyAccessibilityRoleDescription(int inRole, int inSubrole);
-/** @param inObject cast=(HIObjectRef) */
-public static final native int HIObjectCopyClassID(int inObject);
-/**
- * @param inClassID cast=(CFStringRef)
- * @param inConstructData cast=(EventRef)
- * @param outObject cast=(HIObjectRef *)
- */
-public static final native int HIObjectCreate(int inClassID, int inConstructData, int[] outObject);
-/**
- * @param inClassID cast=(CFStringRef)
- * @param inBaseClassID cast=(CFStringRef)
- * @param inOptions cast=(OptionBits)
- * @param inConstructProc cast=(EventHandlerUPP)
- * @param inNumEvents cast=(UInt32)
- * @param inEventList cast=(const EventTypeSpec *)
- * @param inConstructData cast=(void *)
- * @param outClassRef cast=(HIObjectClassRef *)
- */
-public static final native int HIObjectRegisterSubclass(int inClassID, int inBaseClassID, int inOptions, int inConstructProc, int inNumEvents, int[] inEventList, int inConstructData, int[] outClassRef);
-/** @param inView cast=(HIViewRef) */
-public static final native int HIViewScrollRect(int inView, CGRect inRect, float inDX, float inDY);
-/** @param inView cast=(HIViewRef) */
-public static final native int HIViewRegionChanged(int inView, int inRegionCode);
-/** @method flags=dynamic */
-public static final native int HIShapeCreateWithQDRgn(int inRgn);
-/** @method flags=dynamic */
-public static final native int HIShapeReplacePathInCGContext(int inShape, int inContext);
-/** @param outView cast=(HIViewRef*) */
-public static final native int HIScrollViewCreate(int inOptions, int[] outView);
-/** @param inView cast=(HIViewRef) */
-public static final native int HIScrollViewSetScrollBarAutoHide(int inView, boolean inAutoHide);
-/**
- * @param inSearchMenu cast=(MenuRef)
- * @param inDescriptiveText cast=(CFStringRef)
- * @param outRef cast=(HIViewRef*)
- */
-public static final native int HISearchFieldCreate(CGRect inBounds, int inAttributes, int inSearchMenu, int inDescriptiveText, int [] outRef);
-/**
- * @param inSearchField cast=(HIViewRef)
- * @param inAttributesToSet cast=(OptionBits)
- * @param inAttributesToClear cast=(OptionBits)
- */
-public static final native int HISearchFieldChangeAttributes(int inSearchField, int inAttributesToSet, int inAttributesToClear);
-/**
- * @param inSearchField cast=(HIViewRef)
- * @param outDescription cast=(CFStringRef *)
- */
-public static final native int HISearchFieldCopyDescriptiveText(int inSearchField, int [] outDescription);
-/**
- * @param inSearchField cast=(HIViewRef)
- * @param outAttributes cast=(OptionBits*)
- */
-public static final native int HISearchFieldGetAttributes(int inSearchField, int [] outAttributes);
-/**
- * @param inSearchField cast=(HIViewRef)
- * @param inDescription cast=(CFStringRef)
- */
-public static final native int HISearchFieldSetDescriptiveText(int inSearchField, int inDescription);
-/** @param outTextView cast=(HIViewRef *) */
-public static final native int HITextViewCreate(CGRect inBoundsRect, int inOptions, int inTXNFrameOptions, int[] outTextView);
-/** @param inTextView cast=(HIViewRef) */
-public static final native int HITextViewGetTXNObject(int inTextView);
-/**
- * @param inTextView cast=(HIViewRef)
- * @param inColor cast=(CGColorRef)
- */
-public static final native int HITextViewSetBackgroundColor(int inTextView, int inColor);
-/** @param inContext cast=(CGContextRef) */
-public static final native int HIThemeDrawBackground(CGRect inBounds, HIThemeBackgroundDrawInfo inDrawInfo, int inContext, int inOrientation);
-/**
- * @param inBounds cast=(const HIRect *),flags=no_out
- * @param inDrawInfo cast=(const HIThemeButtonDrawInfo *)
- * @param inContext cast=(CGContextRef)
- * @param inOrientation cast=(HIThemeOrientation)
- * @param outLabelRect cast=(HIRect *),flags=no_in
- */
-public static final native int HIThemeDrawButton(CGRect inBounds, HIThemeButtonDrawInfo inDrawInfo, int inContext, int inOrientation, CGRect outLabelRect);
-/** @param inContext cast=(CGContextRef) */
-public static final native int HIThemeDrawFocusRect(CGRect inRect, boolean inHasFocus, int inContext, int inOrientation);
-/** @param inContext cast=(CGContextRef) */
-public static final native int HIThemeDrawFrame(CGRect inRect, HIThemeFrameDrawInfo inDrawInfo, int inContext, int inOrientation);
-/**
- * @param inRect cast=(const HIRect *)
- * @param info cast=(const HIThemeButtonDrawInfo *)
- * @param inContext cast=(CGContextRef)
- * @param inOrientation cast=(HIThemeOrientation)
- */
-public static final native int HIThemeDrawGenericWell(CGRect inRect, HIThemeButtonDrawInfo info, int inContext, int inOrientation);
-/** @param inContext cast=(CGContextRef) */
-public static final native int HIThemeDrawGroupBox(CGRect inRect, HIThemeGroupBoxDrawInfo inDrawInfo, int inContext, int inOrientation);
-/** @param inContext cast=(CGContextRef) */
-public static final native int HIThemeDrawGrowBox(CGPoint inOrigin, HIThemeGrowBoxDrawInfo inDrawInfo, int inContext, int inOrientation);
-/** @param inContext cast=(CGContextRef) */
-public static final native int HIThemeDrawPopupArrow(CGRect inBounds, HIThemePopupArrowDrawInfo inDrawInfo, int inContext, int inOrientation);
-/** @param inContext cast=(CGContextRef) */
-public static final native int HIThemeDrawSeparator(CGRect inRect, HIThemeSeparatorDrawInfo inDrawInfo, int inContext, int inOrientation);
-/**
- * @param inRect cast=(const HIRect *),flags=no_out
- * @param inDrawInfo cast=(const HIThemeTabDrawInfo *)
- * @param inContext cast=(CGContextRef)
- * @param inOrientation cast=(HIThemeOrientation)
- * @param outLabelRect cast=(HIRect *),flags=no_in
- */
-public static final native int HIThemeDrawTab(CGRect inRect, HIThemeTabDrawInfo inDrawInfo, int inContext, int inOrientation, CGRect outLabelRect);
-/**
- * @param inRect cast=(const HIRect *)
- * @param inDrawInfo cast=(const HIThemeTabPaneDrawInfo *)
- * @param inContext cast=(CGContextRef)
- * @param inOrientation cast=(HIThemeOrientation)
- */
-public static final native int HIThemeDrawTabPane(CGRect inRect, HIThemeTabPaneDrawInfo inDrawInfo, int inContext, int inOrientation);
-/**
- * @param inString cast=(CFStringRef)
- * @param inContext cast=(CGContextRef)
- */
-public static final native int HIThemeDrawTextBox(int inString, CGRect inBounds, HIThemeTextInfo inTextInfo, int inContext, int inOrientation);
-/** @param inContext cast=(CGContextRef) */
-public static final native int HIThemeDrawTrack(HIThemeTrackDrawInfo inDrawInfo, CGRect inGhostRect, int inContext, int inOrientation);
-public static final native int HIThemeGetButtonBackgroundBounds(CGRect inBounds, HIThemeButtonDrawInfo inDrawInfo, CGRect outBounds);
-public static final native int HIThemeGetButtonContentBounds(CGRect inBounds, HIThemeButtonDrawInfo inDrawInfo, CGRect outBounds);
-public static final native int HIThemeGetScrollBarTrackRect(CGRect inBounds, HIScrollBarTrackInfo inTrackInfo, boolean inIsHoriz, CGRect outTrackBounds);
-/** @param inString cast=(CFStringRef) */
-public static final native int HIThemeGetTextDimensions(int inString, float inWidth, HIThemeTextInfo inTextInfo, float[] outWidth, float[] outHeight, float[] outBaseline);
-public static final native int HIThemeGetTrackBounds(HIThemeTrackDrawInfo inDrawInfo, CGRect outBounds);
-public static final native int HIThemeGetTrackPartBounds(HIThemeTrackDrawInfo inDrawInfo, short inPartCode, CGRect outPartBounds);
-public static final native int HIThemeGetTrackThumbPositionFromBounds(HIThemeTrackDrawInfo inDrawInfo, CGRect inThumbBounds, float[] outRelativePosition);
-/**
- * @param inDrawInfo cast=(HIThemeTrackDrawInfo *)
- * @param inThumbOffset cast=(HIPoint *)
- */
-public static final native int HIThemeGetTrackThumbPositionFromOffset(HIThemeTrackDrawInfo inDrawInfo, CGPoint inThumbOffset, float[] outRelativePosition);
-public static final native int HIThemeGetTrackLiveValue(HIThemeTrackDrawInfo inDrawInfo, float inRelativePosition, int[] outValue);
-public static final native boolean HIThemeHitTestScrollBarArrows(CGRect inScrollBarBounds, HIScrollBarTrackInfo inTrackInfo, boolean inIsHoriz, CGPoint inPtHit, CGRect outTrackBounds, short[] outPartCode);
-public static final native boolean HIThemeHitTestTrack(HIThemeTrackDrawInfo inDrawInfo, CGPoint inMousePoint, short[] outPartHit);
-/**
- * @method flags=dynamic
- * @param inBrush cast=(ThemeBrush)
- * @param inInfo cast=(void *)
- * @param inContext cast=(CGContextRef)
- * @param inOrientation cast=(HIThemeOrientation)
- */
-public static final native int HIThemeSetFill(int inBrush, int inInfo, int inContext, int inOrientation);
-/** @method flags=dynamic */
-public static final native int HIThemeSetTextFill(int inColor, int inInfo, int inContext, int inOrientation);
-/**
- * @param parent cast=(HIViewRef)
- * @param child cast=(HIViewRef)
- */
-public static final native int HIViewAddSubview(int parent, int child);
-/** @param inView cast=(HIViewRef) */
-public static final native int HIViewChangeAttributes(int inView, int inAttrsToSet, int inAttrsToClear);
-/** @param inView cast=(HIViewRef) */
-public static final native int HIViewChangeFeatures(int inView, int inFeaturesToSet, int inFeaturesToClear);
-/**
- * @param inView cast=(HIViewRef)
- * @param inEvent cast=(EventRef)
- */
-public static final native int HIViewClick(int inView, int inEvent);
-/**
- * @param ioPoint cast=(HIPoint *)
- * @param inSourceView cast=(HIViewRef)
- * @param inDestView cast=(HIViewRef)
- */
-public static final native int HIViewConvertPoint(CGPoint ioPoint, int inSourceView, int inDestView);
-/**
- * @param inSourceView cast=(HIViewRef)
- * @param inDestView cast=(HIViewRef)
- */
-public static final native int HIViewConvertRect(CGRect ioRect, int inSourceView, int inDestView);
-/**
- * @param ioRgn cast=(RgnHandle)
- * @param inSourceView cast=(HIViewRef)
- * @param inDestView cast=(HIViewRef)
- */
-public static final native int HIViewConvertRegion(int ioRgn, int inSourceView, int inDestView);
-/**
- * @param inView cast=(HIViewRef)
- * @param inOptions cast=(OptionBits)
- * @param outFrame cast=(HIRect *)
- * @param outImage cast=(CGImageRef *)
- */
-public static final native int HIViewCreateOffscreenImage(int inView, int inOptions, CGRect outFrame, int[] outImage);
-/**
- * @param inContext cast=(CGContextRef)
- * @param inImage cast=(CGImageRef)
- */
-public static final native int HIViewDrawCGImage(int inContext, CGRect inBounds, int inImage);
-/**
- * @param inStartView cast=(HIViewRef)
- * @param inID cast=(HIViewID *),flags=struct
- * @param outControl cast=(HIViewRef *)
- */
-public static final native int HIViewFindByID(int inStartView, int inID, int[] outControl);
-/** @param inView cast=(HIViewRef) */
-public static final native int HIViewGetBounds(int inView, CGRect outRect);
-/**
- * @param inView cast=(HIViewRef)
- * @param outFeatures cast=(HIViewFeatures *)
- */
-public static final native int HIViewGetFeatures(int inView, int[] outFeatures);
-/** @param inView cast=(HIViewRef) */
-public static final native int HIViewGetFirstSubview(int inView);
-/** @param inView cast=(HIViewRef) */
-public static final native int HIViewGetLastSubview(int inView);
-/** @param inView cast=(HIViewRef) */
-public static final native int HIViewGetLayoutInfo (int inView, HILayoutInfo outLayoutInfo);
-/** @param inView cast=(HIViewRef) */
-public static final native int HIViewGetNextView(int inView);
-/**
- * @param inView cast=(HIViewRef)
- * @param outRect cast=(HIRect *)
- */
-public static final native int HIViewGetFrame(int inView, CGRect outRect);
-/** @param inView cast=(HIViewRef) */
-public static final native boolean HIViewGetNeedsDisplay(int inView);
-/** @param wHandle cast=(WindowRef) */
-public static final native int HIViewGetRoot(int wHandle);
-/**
- * @param inView cast=(HIViewRef)
- * @param outMinSize cast=(HISize *)
- * @param outMaxSize cast=(HISize *)
- */
-public static final native int HIViewGetSizeConstraints(int inView, CGRect outMinSize, CGRect outMaxSize);
-/**
- * @param inView cast=(HIViewRef)
- * @param inPoint cast=(CGPoint *)
- * @param inDeep cast=(Boolean)
- * @param outView cast=(HIViewRef *)
- */
-public static final native int HIViewGetSubviewHit(int inView, CGPoint inPoint, boolean inDeep, int[] outView);
-/** @param inView cast=(HIViewRef) */
-public static final native int HIViewGetSuperview(int inView);
-/**
- * @param inView cast=(HIViewRef)
- * @param inEvent cast=(EventRef)
- * @param outView cast=(HIViewRef *)
- */
-public static final native int HIViewGetViewForMouseEvent(int inView, int inEvent, int[] outView);
-/** @param inView cast=(HIViewRef) */
-public static final native boolean HIViewIsDrawingEnabled (int inView);
-/** @param inView cast=(HIViewRef) */
-public static final native boolean HIViewIsVisible(int inView);
-/** @param inView cast=(HIViewRef) */
-public static final native int HIViewRemoveFromSuperview(int inView);
-/** @param inView cast=(HIViewRef) */
-public static final native int HIViewRender(int inView);
-/** @param inView cast=(HIViewRef) */
-public static final native int HIViewSetBoundsOrigin(int inView, float inX, float inY);
-/**
- * @param inView cast=(HIViewRef)
- * @param isEnabled cast=(Boolean)
- */
-public static final native int HIViewSetDrawingEnabled(int inView, boolean isEnabled);
-/**
- * @param inView cast=(HIViewRef)
- * @param inRect cast=(const HIRect *)
- */
-public static final native int HIViewSetFrame(int inView, CGRect inRect);
-/** @param inView cast=(HIViewRef) */
-public static final native int HIViewSetLayoutInfo (int inView, HILayoutInfo outLayoutInfo);
-/**
- * @param inView cast=(HIViewRef)
- * @param inNeedsDisplay cast=(Boolean)
- */
-public static final native int HIViewSetNeedsDisplay(int inView, boolean inNeedsDisplay);
-/**
- * @param inView cast=(HIViewRef)
- * @param inRgn cast=(RgnHandle)
- * @param inNeedsDisplay cast=(Boolean)
- */
-public static final native int HIViewSetNeedsDisplayInRegion(int inView, int inRgn, boolean inNeedsDisplay);
-/**
- * @param inView cast=(HIViewRef)
- * @param inVisible cast=(Boolean)
- */
-public static final native int HIViewSetVisible(int inView, boolean inVisible);
-/**
- * @param inView cast=(HIViewRef)
- * @param inOp cast=(HIViewZOrderOp)
- * @param inOther cast=(HIViewRef)
- */
-public static final native int HIViewSetZOrder(int inView, int inOp, int inOther);
-/**
- * @param inView cast=(HIViewRef)
- * @param inPartToClick cast=(HIViewPartCode)
- * @param modifiers cast=(UInt32)
- * @param outPartClicked cast=(ControlPartCode *)
- */
-public static final native int HIViewSimulateClick(int inView, short inPartToClick, int modifiers, short[] outPartClicked);
-/**
- * @param cHandle cast=(ControlRef)
- * @param where flags=struct
- * @param modifiers cast=(EventModifiers)
- * @param actionUPP cast=(ControlActionUPP)
- */
-public static final native short HandleControlClick(int cHandle, Point where, int modifiers, int actionUPP);
-public static final native short HiWord(int doubleWord);
-/** @param wHandle cast=(WindowRef) */
-public static final native void HideWindow(int wHandle);
-/** @param menuID cast=(MenuID) */
-public static final native void HiliteMenu(short menuID);
-/** @param h cast=(Handle) */
-public static final native void HLock(int h);
-/** @param inContent cast=(const HMHelpContentRec *) */
-public static final native int HMDisplayTag(HMHelpContentRec inContent);
-public static final native int HMGetTagDelay (int [] outDelay);
-public static final native int HMHideTag ();
-public static final native int HMSetTagDelay (int inDelay);
-/**
- * @param inControl cast=(ControlRef)
- * @param inContentUPP cast=(HMControlContentUPP)
- */
-public static final native void HMInstallControlContentCallback(int inControl, int inContentUPP);
-/** @param h cast=(Handle) */
-public static final native void HUnlock(int h);
-/**
- * @param theIconRef cast=(IconRef)
- * @param whichIcons cast=(IconSelectorValue)
- * @param iconFamily cast=(IconFamilyHandle *)
- */
-public static final native int IconRefToIconFamily(int theIconRef, int whichIcons, int[] iconFamily);
-public static final native int InitContextualMenus();
-public static final native void InitCursor();
-/** @param window cast=(WindowRef) */
-public static final native void HIWindowFlush(int window);
-/**
- * @param inWindow cast=(WindowRef)
- * @param outOwner cast=(WindowRef*)
- */
-public static final native boolean HIWindowIsDocumentModalTarget(int inWindow, int[] outOwner);
-/** @param callbacks cast=(DataBrowserCallbacks *),flags=init */
-public static final native int InitDataBrowserCallbacks(DataBrowserCallbacks callbacks);
-public static final native int InitDataBrowserCustomCallbacks(DataBrowserCustomCallbacks callbacks);
-/**
- * @param mHandle cast=(MenuRef)
- * @param beforeID cast=(MenuID)
- */
-public static final native void InsertMenu(int mHandle, short beforeID);
-/**
- * @param mHandle cast=(MenuRef)
- * @param sHandle cast=(CFStringRef)
- * @param index cast=(MenuItemIndex)
- * @param attributes cast=(MenuItemAttributes)
- * @param commandID cast=(MenuCommand)
- */
-public static final native int InsertMenuItemTextWithCFString(int mHandle, int sHandle, short index, int attributes, int commandID);
-/**
- * @param inTarget cast=(EventTargetRef)
- * @param inHandler cast=(EventHandlerUPP)
- * @param inNumTypes cast=(UInt32)
- * @param inList cast=(const EventTypeSpec *)
- * @param inUserData cast=(void *)
- * @param outRef cast=(EventHandlerRef *)
- */
-public static final native int InstallEventHandler(int inTarget, int inHandler, int inNumTypes, int[] inList, int inUserData, int[] outRef);
-/**
- * @param inEventLoop cast=(EventLoopRef)
- * @param inFireDelay cast=(EventTimerInterval)
- * @param inInterval cast=(EventTimerInterval)
- * @param inTimerProc cast=(EventLoopIdleTimerUPP)
- * @param inTimerData cast=(void *)
- * @param outTimer cast=(EventLoopTimerRef *)
- */
-public static final native int InstallEventLoopIdleTimer(int inEventLoop, double inFireDelay, double inInterval, int inTimerProc, int inTimerData, int[] outTimer);
-/**
- * @param inEventLoop cast=(EventLoopRef)
- * @param inFireDelay cast=(EventTimerInterval)
- * @param inInterval cast=(EventTimerInterval)
- * @param inTimerProc cast=(EventLoopTimerUPP)
- * @param inTimerData cast=(void *)
- * @param outTimer cast=(EventLoopTimerRef *)
- */
-public static final native int InstallEventLoopTimer(int inEventLoop, double inFireDelay, double inInterval, int inTimerProc, int inTimerData, int[] outTimer);
-/**
- * @param receiveHandler cast=(DragReceiveHandlerUPP)
- * @param theWindow cast=(WindowRef)
- * @param handlerRefCon cast=(void *)
- */
-public static final native int InstallReceiveHandler(int receiveHandler,int theWindow, int[] handlerRefCon);
-/**
- * @param trackingHandler cast=(DragTrackingHandlerUPP)
- * @param theWindow cast=(WindowRef)
- * @param handlerRefCon cast=(void *)
- */
-public static final native int InstallTrackingHandler(int trackingHandler,int theWindow, int[] handlerRefCon);
-/**
- * @param wHandle cast=(WindowRef)
- * @param bounds cast=(const Rect *)
- */
-public static final native void InvalWindowRect(int wHandle, Rect bounds);
-/**
- * @param wHandle cast=(WindowRef)
- * @param rgnHandle cast=(RgnHandle)
- */
-public static final native void InvalWindowRgn(int wHandle, int rgnHandle);
-/** @param r cast=(const Rect *) */
-public static final native void InvertRect(Rect r);
-/** @param inControl cast=(ControlRef) */
-public static final native boolean IsControlActive(int inControl);
-/** @param cHandle cast=(ControlRef) */
-public static final native boolean IsControlEnabled(int cHandle);
-/** @param cHandle cast=(ControlRef) */
-public static final native boolean IsControlVisible(int cHandle);
-/**
- * @param cHandle cast=(ControlRef)
- * @param itemID cast=(DataBrowserItemID)
- */
-public static final native boolean IsDataBrowserItemSelected(int cHandle, int itemID);
-/**
- * @param inQueue cast=(EventQueueRef)
- * @param inEvent cast=(EventRef)
- */
-public static final native boolean IsEventInQueue(int inQueue, int inEvent);
-/**
- * @param mHandle cast=(MenuRef)
- * @param commandId cast=(MenuCommand)
- */
-public static final native boolean IsMenuCommandEnabled(int mHandle, int commandId);
-/**
- * @param mHandle cast=(MenuRef)
- * @param index cast=(MenuItemIndex)
- */
-public static final native boolean IsMenuItemEnabled(int mHandle, short index);
-/**
- * @param inStartMenu cast=(MenuRef)
- * @param inEvent cast=(EventRef)
- * @param inOptions cast=(MenuEventOptions)
- * @param outMenu cast=(MenuRef *)
- * @param outMenuItem cast=(MenuItemIndex *)
- */
-public static final native boolean IsMenuKeyEvent(int inStartMenu, int inEvent, int inOptions, int[] outMenu, short[] outMenuItem);
-/** @param cHandle cast=(ControlRef) */
-public static final native boolean IsValidControlHandle(int cHandle);
-/** @param mHandle cast=(MenuRef) */
-public static final native boolean IsValidMenu(int mHandle);
-/** @param grafPort cast=(WindowRef) */
-public static final native boolean IsValidWindowPtr(int grafPort);
-/** @param window cast=(WindowRef) */
-public static final native boolean IsWindowActive(int window);
-/** @param window cast=(WindowRef) */
-public static final native boolean IsWindowCollapsed(int window);
-/** @param window cast=(WindowRef) */
-public static final native boolean IsWindowModified(int window);
-/** @param window cast=(WindowRef) */
-public static final native boolean IsWindowVisible(int window);
-/**
- * @param transData cast=(const void *)
- * @param state cast=(UInt32 *)
- */
-public static final native int KeyTranslate(int transData, short keycode, int[] state);
-/** @param oKeyboardLayout cast=(KeyboardLayoutRef *) */
-public static final native int KLGetCurrentKeyboardLayout(int[] oKeyboardLayout);
-/**
- * @param iKeyboardLayout cast=(KeyboardLayoutRef)
- * @param iPropertyTag cast=(KeyboardLayoutPropertyTag)
- * @param oValue cast=(const void **)
- */
-public static final native int KLGetKeyboardLayoutProperty(int iKeyboardLayout, int iPropertyTag, int[] oValue);
-public static final native byte LMGetKbdType();
-/**
- * @param keyLayoutPtr cast=(const UCKeyboardLayout *)
- * @param virtualKeyCode cast=(UInt16)
- * @param keyAction cast=(UInt16)
- * @param modifierKeyState cast=(UInt32)
- * @param keyboardType cast=(UInt32)
- * @param keyTranslateOptions cast=(OptionBits)
- * @param deadKeyState cast=(UInt32 *)
- * @param maxStringLength cast=(UniCharCount)
- * @param actualStringLength cast=(UniCharCount *)
- * @param unicodeString cast=(UniChar *)
- */
-public static final native int UCKeyTranslate (int keyLayoutPtr, short virtualKeyCode, short keyAction, int modifierKeyState, int keyboardType, int keyTranslateOptions, int[] deadKeyState, int maxStringLength, int[] actualStringLength, char[] unicodeString);
-/** @param pictHandle cast=(PicHandle) */
-public static final native void KillPicture(int pictHandle);
-/**
- * @param h cast=(short)
- * @param v cast=(short)
- */
-public static final native void LineTo(short h, short v);
-public static final native int Long2Fix(int x);
-public static final native short LoWord(int doubleWord);
-/**
- * @param inCreator cast=(OSType)
- * @param inBundleID cast=(CFStringRef)
- * @param inName cast=(CFStringRef)
- * @param outAppRef cast=(FSRef *)
- * @param outAppURL cast=(CFURLRef *)
- */
-public static final native int LSFindApplicationForInfo(int inCreator, int inBundleID, int inName, byte[] outAppRef, int[] outAppURL);
-/**
- * @method flags=dynamic
- * @param inContentType cast=(CFStringRef)
- */
-public static final native int LSCopyAllRoleHandlersForContentType(int inContentType, int inRoleMask);
-/**
- * @param inType cast=(OSType)
- * @param inCreator cast=(OSType)
- * @param inExtension cast=(CFStringRef)
- * @param inRoleMask cast=(LSRolesMask)
- * @param outAppRef cast=(FSRef *)
- * @param outAppURL cast=(CFURLRef *)
- */
-public static final native int LSGetApplicationForInfo(int inType, int inCreator,int inExtension, int inRoleMask, byte[] outAppRef, int[] outAppURL);
-/**
- * @param inURLs cast=(CFArrayRef)
- * @param inAEParam cast=(const AEKeyDesc *)
- * @param inAppParams cast=(const LSApplicationParameters *)
- * @param outPSNs cast=(ProcessSerialNumber *)
- */
-public static final native int LSOpenURLsWithRole(int inURLs, int inRole, int inAEParam, LSApplicationParameters inAppParams, int[] outPSNs, int inMaxPSNCount);
-/**
- * @param inURL cast=(CFURLRef)
- * @param outLaunchedURL cast=(CFURLRef *)
- */
-public static final native int LSOpenCFURLRef(int inURL, int[] outLaunchedURL);
-/** @param outPSN cast=(ProcessSerialNumber *) */
-public static final native int LSOpenApplication (LSApplicationParameters inAppParams, int[] outPSN);
-/**
- * @param inRef cast=(const FSRef *)
- * @param outDisplayName cast=(CFStringRef *)
- */
-public static final native int LSCopyDisplayNameForRef(byte[] inRef, int[] outDisplayName);
-/** @param mHandle cast=(Point *),flags=struct */
-public static final native int MenuSelect(Point mHandle);
-/**
- * @param theControl cast=(ControlRef)
- * @param h cast=(SInt16)
- * @param v cast=(SInt16)
- */
-public static final native void MoveControl(int theControl, short h, short v);
-/**
- * @param h cast=(short)
- * @param v cast=(short)
- */
-public static final native void MoveTo(short h, short v);
-/**
- * @param wHandle cast=(WindowRef)
- * @param h cast=(short)
- * @param v cast=(short)
- * @param toFront cast=(Boolean)
- */
-public static final native void MoveWindow(int wHandle, short h, short v, boolean toFront);
-/**
- * @param inOptions cast=(const NavDialogCreationOptions *)
- * @param inEventProc cast=(NavEventUPP)
- * @param inFilterProc cast=(NavObjectFilterUPP)
- * @param inClientData cast=(void *)
- * @param outDialog cast=(NavDialogRef *)
- */
-public static final native int NavCreateChooseFolderDialog(NavDialogCreationOptions inOptions, int inEventProc, int inFilterProc, int inClientData, int[] outDialog);
-/**
- * @param inOptions cast=(const NavDialogCreationOptions *)
- * @param inTypeList cast=(NavTypeListHandle)
- * @param inEventProc cast=(NavEventUPP)
- * @param inPreviewProc cast=(NavPreviewUPP)
- * @param inFilterProc cast=(NavObjectFilterUPP)
- * @param inClientData cast=(void *)
- * @param outDialog cast=(NavDialogRef *)
- */
-public static final native int NavCreateGetFileDialog(NavDialogCreationOptions inOptions, int inTypeList, int inEventProc, int inPreviewProc, int inFilterProc, int inClientData, int[] outDialog);
-/**
- * @param inOptions cast=(const NavDialogCreationOptions *)
- * @param inFileType cast=(OSType)
- * @param inFileCreator cast=(OSType)
- * @param inEventProc cast=(NavEventUPP)
- * @param inClientData cast=(void *)
- * @param outDialog cast=(NavDialogRef *)
- */
-public static final native int NavCreatePutFileDialog(NavDialogCreationOptions inOptions, int inFileType, int inFileCreator, int inEventProc, int inClientData, int[] outDialog);
-/**
- * @param dialog cast=(NavDialogRef)
- * @param selector cast=(NavCustomControlMessage)
- */
-public static final native int NavCustomControl(int dialog, int selector, AEDesc parms);
-/**
- * @param dialog cast=(NavDialogRef)
- * @param selector cast=(NavCustomControlMessage)
- */
-public static final native int NavCustomControl(int dialog, int selector, NavMenuItemSpec parms);
-/** @param dialogHandle cast=(NavDialogRef) */
-public static final native void NavDialogDispose(int dialogHandle);
-/** @param dialogHandle cast=(NavDialogRef) */
-public static final native int NavDialogGetSaveFileName(int dialogHandle);
-/** @param dialogHandle cast=(NavDialogRef) */
-public static final native int NavDialogGetUserAction(int dialogHandle);
-/** @param dialogHandle cast=(NavDialogRef) */
-public static final native int NavDialogRun(int dialogHandle);
-/**
- * @param dialogHandle cast=(NavDialogRef)
- * @param fileNameHandle cast=(CFStringRef)
- */
-public static final native int NavDialogSetSaveFileName(int dialogHandle, int fileNameHandle);
-/** @method flags=dynamic */
-public static final native int NavDialogSetFilterTypeIdentifiers(int inGetFileDialog, int inTypeIdentifiers);
-/** @param outOptions cast=(NavDialogCreationOptions *) */
-public static final native int NavGetDefaultDialogCreationOptions(NavDialogCreationOptions outOptions);
-/**
- * @param inDialog cast=(NavDialogRef)
- * @param outReply cast=(NavReplyRecord *)
- */
-public static final native int NavDialogGetReply(int inDialog, NavReplyRecord outReply);
-public static final native int NavDisposeReply(NavReplyRecord reply);
-/**
- * @param owningWindow cast=(WindowRef)
- * @param boundsRect cast=(const Rect *)
- * @param controlTitle cast=(ConstStr255Param)
- * @param initiallyVisible cast=(Boolean)
- * @param initialValue cast=(SInt16)
- * @param minimumValue cast=(SInt16)
- * @param maximumValue cast=(SInt16)
- * @param procID cast=(SInt16)
- * @param controlReference cast=(SInt32)
- */
-public static final native int NewControl(int owningWindow, Rect boundsRect, byte[] controlTitle, boolean initiallyVisible, short initialValue, short minimumValue, short maximumValue, short procID, int controlReference);
-/** @param theDrag cast=(DragRef *) */
-public static final native int NewDrag(int[] theDrag);
-/**
- * @param offscreenGWorld cast=(GWorldPtr *)
- * @param PixelFormat cast=(unsigned long)
- * @param boundsRect cast=(const Rect *)
- * @param cTable cast=(CTabHandle)
- * @param aGDevice cast=(GDHandle)
- * @param flags cast=(GWorldFlags)
- * @param newBuffer cast=(Ptr)
- * @param rowBytes cast=(long)
- */
-public static final native int NewGWorldFromPtr(int[] offscreenGWorld, int PixelFormat, Rect boundsRect, int cTable, int aGDevice, int flags, int newBuffer, int rowBytes);
-/** @param size cast=(Size) */
-public static final native int NewHandle(int size);
-/** @param size cast=(Size) */
-public static final native int NewHandleClear(int size);
-/** @param size cast=(Size) */
-public static final native int NewPtr(int size);
-/** @param size cast=(Size) */
-public static final native int NewPtrClear(int size);
-public static final native int NewRgn();
-/**
- * @param supportedInterfaceTypes cast=(OSType *)
- * @param idocID cast=(TSMDocumentID *)
- */
-public static final native int NewTSMDocument(short numOfInterface, int[] supportedInterfaceTypes, int[] idocID, long refcon);
-public static final native void OffsetRect(Rect rect, short dh, short dv);
-/**
- * @param rgnHandle cast=(RgnHandle)
- * @param dh cast=(short)
- * @param dv cast=(short)
- */
-public static final native void OffsetRgn(int rgnHandle, short dh, short dv);
-/**
- * @param cHandle cast=(ControlRef)
- * @param container cast=(DataBrowserItemID)
- */
-public static final native int OpenDataBrowserContainer(int cHandle, int container);
-public static final native void OpenRgn();
-/** @param rect cast=(const Rect *) */
-public static final native int OpenPicture(Rect rect);
-/** @param theColorInfo cast=(ColorPickerInfo *) */
-public static final native int PickColor(ColorPickerInfo theColorInfo);
-/**
- * @param mHandle cast=(MenuRef)
- * @param top cast=(short)
- * @param left cast=(short)
- * @param popUpItem cast=(short)
- */
-public static final native int PopUpMenuSelect(int mHandle, short top, short left, short popUpItem);
-/**
- * @param eventNum cast=(EventKind)
- * @param eventMsg cast=(UInt32)
- */
-public static final native int PostEvent(short eventNum, int eventMsg);
-/**
- * @param inQueue cast=(EventQueueRef)
- * @param inEvent cast=(EventRef)
- * @param inPriority cast=(EventPriority)
- */
-public static final native int PostEventToQueue(int inQueue, int inEvent, short inPriority);
-/** @param pageFormat cast=(PMPageFormat *) */
-public static final native int PMCreatePageFormat(int[] pageFormat);
-/** @param printSettings cast=(PMPrintSettings *) */
-public static final native int PMCreatePrintSettings(int[] printSettings);
-/** @param printSession cast=(PMPrintSession *) */
-public static final native int PMCreateSession(int[] printSession);
-/**
- * @param pageFormat cast=(PMPageFormat)
- * @param flatFormat cast=(Handle *)
- */
-public static final native int PMFlattenPageFormat(int pageFormat, int[] flatFormat);
-/**
- * @param printSettings cast=(PMPrintSettings)
- * @param flatSettings cast=(Handle *)
- */
-public static final native int PMFlattenPrintSettings(int printSettings, int[] flatSettings);
-/**
- * @param pageFormat cast=(PMPageFormat)
- * @param pageRect cast=(PMRect *)
- */
-public static final native int PMGetAdjustedPageRect(int pageFormat, PMRect pageRect);
-/**
- * @param pageFormat cast=(PMPageFormat)
- * @param paperRect cast=(PMRect *)
- */
-public static final native int PMGetAdjustedPaperRect(int pageFormat, PMRect paperRect);
-/** @param printSettings cast=(PMPrintSettings) */
-public static final native int PMGetCollate(int printSettings, boolean[] collate);
-/**
- * @param printSettings cast=(PMPrintSettings)
- * @param copies cast=(UInt32 *)
- */
-public static final native int PMGetCopies(int printSettings, int[] copies);
-/**
- * @param printSettings cast=(PMPrintSettings)
- * @param first cast=(UInt32 *)
- */
-public static final native int PMGetFirstPage(int printSettings, int[] first);
-/**
- * @param printSettings cast=(PMPrintSettings)
- * @param name cast=(CFStringRef *)
- */
-public static final native int PMGetJobNameCFString(int printSettings, int[] name);
-/**
- * @param printSettings cast=(PMPrintSettings)
- * @param last cast=(UInt32 *)
- */
-public static final native int PMGetLastPage(int printSettings, int[] last);
-/**
- * @param pageFormat cast=(PMPageFormat)
- * @param orientation cast=(PMOrientation *)
- */
-public static final native int PMGetOrientation(int pageFormat, short[] orientation);
-/**
- * @param printSettings cast=(PMPrintSettings)
- * @param minPage cast=(UInt32 *)
- * @param maxPage cast=(UInt32 *)
- */
-public static final native int PMGetPageRange(int printSettings, int[] minPage, int[] maxPage);
-/**
- * @method flags=dynamic
- * @param i cast=(PMPrinter)
- * @param printSettings cast=(PMPrintSettings)
- * @param resolution cast=(PMResolution *)
- */
-public static final native int PMPrinterGetOutputResolution(int i, int printSettings, PMResolution resolution);
-/** @param printManagerObject cast=(PMObject) */
-public static final native int PMRelease(int printManagerObject);
-/**
- * @param pageFormat cast=(PMPageFormat)
- * @param resolution cast=(PMResolution *)
- */
-public static final native int PMGetResolution(int pageFormat, PMResolution resolution);
-/**
- * @param printSession cast=(PMPrintSession)
- * @param printSettings cast=(PMPrintSettings)
- * @param pageFormat cast=(PMPageFormat)
- */
-public static final native int PMSessionBeginDocumentNoDialog(int printSession, int printSettings, int pageFormat);
-/**
- * @param printSession cast=(PMPrintSession)
- * @param pageFormat cast=(PMPageFormat)
- * @param pageFrame cast=(const PMRect *)
- */
-public static final native int PMSessionBeginPageNoDialog(int printSession, int pageFormat, PMRect pageFrame);
-/**
- * @param printSession cast=(PMPrintSession)
- * @param printSettings cast=(PMPrintSettings)
- * @param destLocationP cast=(CFURLRef *)
- */
-public static final native int PMSessionCopyDestinationLocation(int printSession, int printSettings, int[] destLocationP);
-/**
- * @param printSession cast=(PMPrintSession)
- * @param printerList cast=(CFArrayRef *)
- * @param currentIndex cast=(CFIndex *)
- * @param currentPrinter cast=(PMPrinter *)
- */
-public static final native int PMSessionCreatePrinterList(int printSession, int[] printerList, int[] currentIndex, int[] currentPrinter);
-/**
- * @param printSession cast=(PMPrintSession)
- * @param pageFormat cast=(PMPageFormat)
- */
-public static final native int PMSessionDefaultPageFormat(int printSession, int pageFormat);
-/**
- * @param printSession cast=(PMPrintSession)
- * @param printSettings cast=(PMPrintSettings)
- */
-public static final native int PMSessionDefaultPrintSettings(int printSession, int printSettings);
-/** @param printSession cast=(PMPrintSession) */
-public static final native int PMSessionEndDocumentNoDialog(int printSession);
-/** @param printSession cast=(PMPrintSession) */
-public static final native int PMSessionEndPageNoDialog(int printSession);
-/** @param printSession cast=(PMPrintSession) */
-public static final native int PMSessionError(int printSession);
-/**
- * @param printSession cast=(PMPrintSession)
- * @param printer cast=(PMPrinter *)
- */
-public static final native int PMSessionGetCurrentPrinter(int printSession, int[] printer);
-/**
- * @param printSession cast=(PMPrintSession)
- * @param printSettings cast=(PMPrintSettings)
- * @param destTypeP cast=(PMDestinationType *)
- */
-public static final native int PMSessionGetDestinationType(int printSession, int printSettings, short[] destTypeP);
-/**
- * @param printSession cast=(PMPrintSession)
- * @param graphicsType cast=(CFStringRef)
- * @param graphicsContext cast=(void **)
- */
-public static final native int PMSessionGetGraphicsContext(int printSession, int graphicsType, int[] graphicsContext);
-/**
- * @param printSession cast=(PMPrintSession)
- * @param pageFormat cast=(PMPageFormat)
- * @param result cast=(Boolean *)
- */
-public static final native int PMSessionPageSetupDialog(int printSession, int pageFormat, boolean[] result);
-/**
- * @param printSession cast=(PMPrintSession)
- * @param settings cast=(PMPrintSettings)
- * @param pageFormat cast=(PMPageFormat)
- * @param accepted cast=(Boolean *)
- */
-public static final native int PMSessionPrintDialog(int printSession, int settings, int pageFormat, boolean[] accepted);
-/**
- * @param session cast=(PMPrintSession)
- * @param printerName cast=(CFStringRef)
- */
-public static final native int PMSessionSetCurrentPrinter(int session, int printerName);
-/**
- * @param printSession cast=(PMPrintSession)
- * @param printSettings cast=(PMPrintSettings)
- * @param destType cast=(PMDestinationType)
- * @param destFormat cast=(CFStringRef)
- * @param destLocation cast=(CFURLRef)
- */
-public static final native int PMSessionSetDestination(int printSession, int printSettings, short destType, int destFormat, int destLocation);
-/** @param printSession cast=(PMPrintSession) */
-public static final native int PMSessionSetError(int printSession, int printError);
-/**
- * @param printSession cast=(PMPrintSession)
- * @param docFormat cast=(CFStringRef)
- * @param graphicsContexts cast=(CFArrayRef)
- * @param options cast=(CFTypeRef)
- */
-public static final native int PMSessionSetDocumentFormatGeneration(int printSession, int docFormat, int graphicsContexts, int options);
-/**
- * @param printSession cast=(PMPrintSession)
- * @param documentWindow cast=(WindowRef)
- * @param sheetDoneProc cast=(PMSheetDoneUPP)
- */
-public static final native int PMSessionUseSheets(int printSession, int documentWindow, int sheetDoneProc);
-/**
- * @param printSession cast=(PMPrintSession)
- * @param pageFormat cast=(PMPageFormat)
- * @param result cast=(Boolean *)
- */
-public static final native int PMSessionValidatePageFormat(int printSession, int pageFormat, boolean[] result);
-/**
- * @param printSession cast=(PMPrintSession)
- * @param printSettings cast=(PMPrintSettings)
- * @param result cast=(Boolean *)
- */
-public static final native int PMSessionValidatePrintSettings(int printSession, int printSettings, boolean[] result);
-/** @param printSettings cast=(PMPrintSettings) */
-public static final native int PMSetCollate(int printSettings, boolean collate);
-/**
- * @param printSettings cast=(PMPrintSettings)
- * @param copies cast=(UInt32)
- * @param lock cast=(Boolean)
- */
-public static final native int PMSetCopies(int printSettings, int copies, boolean lock);
-/**
- * @param printSettings cast=(PMPrintSettings)
- * @param first cast=(UInt32)
- * @param lock cast=(Boolean)
- */
-public static final native int PMSetFirstPage(int printSettings, int first, boolean lock);
-/**
- * @param printSettings cast=(PMPrintSettings)
- * @param name cast=(CFStringRef)
- */
-public static final native int PMSetJobNameCFString(int printSettings, int name);
-/**
- * @param printSettings cast=(PMPrintSettings)
- * @param last cast=(UInt32)
- * @param lock cast=(Boolean)
- */
-public static final native int PMSetLastPage(int printSettings, int last, boolean lock);
-/**
- * @param pageFormat cast=(PMPageFormat)
- * @param orientation cast=(PMOrientation)
- * @param lock cast=(Boolean)
- */
-public static final native void PMSetOrientation(int pageFormat, short orientation, boolean lock);
-/**
- * @param printSettings cast=(PMPrintSettings)
- * @param minPage cast=(UInt32)
- * @param maxPage cast=(UInt32)
- */
-public static final native int PMSetPageRange(int printSettings, int minPage, int maxPage);
-/** @method flags=dynamic */
-public static final native int PMShowPrintDialogWithOptions(int printSession, int printSettings, int pageFormat, int printDialogOptions, boolean[] accepted);
-/**
- * @param flatFormat cast=(Handle)
- * @param pageFormat cast=(PMPageFormat *)
- */
-public static final native int PMUnflattenPageFormat(int flatFormat, int[] pageFormat);
-/**
- * @param flatSettings cast=(Handle)
- * @param printSettings cast=(PMPrintSettings *)
- */
-public static final native int PMUnflattenPrintSettings(int flatSettings, int[] printSettings);
-/**
- * @param pt cast=(Point *),flags=struct
- * @param r cast=(const Rect *)
- */
-public static final native boolean PtInRect(Point pt, Rect r);
-/**
- * @param pt cast=(Point *),flags=struct
- * @param rgnHandle cast=(RgnHandle)
- */
-public static final native boolean PtInRgn(Point pt, int rgnHandle);
-/**
- * @param scrap cast=(ScrapRef)
- * @param flavorType cast=(ScrapFlavorType)
- * @param flavorFlags cast=(ScrapFlavorFlags)
- * @param flavorSize cast=(Size)
- * @param flavorData cast=(const void *)
- */
-public static final native int PutScrapFlavor(int scrap, int flavorType, int flavorFlags, int flavorSize, byte[] flavorData);
-/**
- * @param scrap cast=(ScrapRef)
- * @param flavorType cast=(ScrapFlavorType)
- * @param flavorFlags cast=(ScrapFlavorFlags)
- * @param flavorSize cast=(Size)
- * @param flavorData cast=(const void *)
- */
-public static final native int PutScrapFlavor(int scrap, int flavorType, int flavorFlags, int flavorSize, char[] flavorData);
-/**
- * @param inPort cast=(CGrafPtr)
- * @param outContext cast=(CGContextRef *)
- */
-public static final native int QDBeginCGContext(int inPort, int[] outContext);
-/**
- * @param inPort cast=(CGrafPtr)
- * @param inoutContext cast=(CGContextRef *)
- */
-public static final native int QDEndCGContext(int inPort, int[] inoutContext);
-/**
- * @param port cast=(CGrafPtr)
- * @param rgnHandle cast=(RgnHandle)
- */
-public static final native void QDFlushPortBuffer(int port, int rgnHandle);
-/** @param provider cast=(CGDataProviderRef) */
-public static final native int QDPictCreateWithProvider(int provider);
-/**
- * @param ctx cast=(CGContextRef)
- * @param rect cast=(CGRect *),flags=struct
- * @param picRef cast=(QDPictRef)
- */
-public static final native int QDPictDrawToCGContext(int ctx, CGRect rect, int picRef);
-/** @param pictRef cast=(QDPictRef) */
-public static final native void QDPictRelease(int pictRef);
-/**
- * @method flags=no_gen
- * @param picture cast=(QDPictRef)
- * @param rect cast=(CGRect *)
- */
-public static final native void QDPictGetBounds(int picture, CGRect rect);
-/**
- * @param rgn cast=(RgnHandle)
- * @param dir cast=(QDRegionParseDirection)
- * @param proc cast=(RegionToRectsUPP)
- * @param userData cast=(void *)
- */
-public static final native int QDRegionToRects(int rgn, int dir, int proc, int userData);
-/** @param color cast=(const RGBColor *) */
-public static final native void RGBBackColor(RGBColor color);
-/** @param color cast=(const RGBColor *) */
-public static final native void RGBForeColor(RGBColor color);
-/**
- * @param iconFile cast=(const FSSpec *)
- * @param iconFamily cast=(IconFamilyHandle *)
- */
-public static final native int ReadIconFile (byte[] iconFile, int[] iconFamily);
-/**
- * @param inNumTypes cast=(UInt32)
- * @param inList cast=(const EventTypeSpec *)
- * @param inTimeout cast=(EventTimeout)
- * @param inPullEvent cast=(Boolean)
- * @param outEvent cast=(EventRef *)
- */
-public static final native int ReceiveNextEvent(int inNumTypes, int[] inList, double inTimeout, boolean inPullEvent, int[] outEvent);
-/**
- * @param rect cast=(const Rect *)
- * @param rgnHandle cast=(RgnHandle)
- */
-public static final native boolean RectInRgn(Rect rect, int rgnHandle);
-/**
- * @param rgnHandle cast=(RgnHandle)
- * @param left cast=(const Rect *)
- */
-public static final native void RectRgn(int rgnHandle, Rect left);
-public static final native int RegisterAppearanceClient();
-/** @param theEvent cast=(EventRef) */
-public static final native void ReleaseEvent(int theEvent);
-/** @param theIconRef cast=(IconRef) */
-public static final native void ReleaseIconRef(int theIconRef);
-/** @param mHandle cast=(MenuRef) */
-public static final native int ReleaseMenu(int mHandle);
-/** @param inGroup cast=(WindowGroupRef) */
-public static final native int ReleaseWindowGroup (int inGroup);
-/** @param inWindow cast=(WindowRef) */
-public static final native int ReleaseWindow(int inWindow);
-/** @param control cast=(ControlRef) */
-public static final native int RemoveControlProperty(int control, int propertyCreator, int propertyTag);
-/**
- * @param cHandle cast=(ControlRef)
- * @param containerID cast=(DataBrowserItemID)
- * @param numItems cast=(UInt32)
- * @param itemIDs cast=(const DataBrowserItemID *)
- * @param preSortProperty cast=(DataBrowserPropertyID)
- */
-public static final native int RemoveDataBrowserItems(int cHandle, int containerID, int numItems, int[] itemIDs, int preSortProperty);
-/**
- * @param browser cast=(ControlRef)
- * @param column cast=(DataBrowserTableViewColumnID)
- */
-public static final native int RemoveDataBrowserTableViewColumn(int browser, int column);
-/**
- * @param inQueue cast=(EventQueueRef)
- * @param inEvent cast=(EventRef)
- */
-public static final native int RemoveEventFromQueue(int inQueue, int inEvent);
-/** @param inHandlerRef cast=(EventHandlerRef) */
-public static final native int RemoveEventHandler(int inHandlerRef);
-/** @param inTimer cast=(EventLoopTimerRef) */
-public static final native int RemoveEventLoopTimer(int inTimer);
-/**
- * @param receiveHandler cast=(DragReceiveHandlerUPP)
- * @param theWindow cast=(WindowRef)
- */
-public static final native int RemoveReceiveHandler(int receiveHandler,int theWindow);
-/**
- * @param trackingHandler cast=(DragTrackingHandlerUPP)
- * @param theWindow cast=(WindowRef)
- */
-public static final native int RemoveTrackingHandler(int trackingHandler,int theWindow);
-/**
- * @param window cast=(WindowRef)
- * @param parentWindow cast=(WindowRef)
- */
-public static final native int RepositionWindow(int window, int parentWindow, int method);
-/** @param window cast=(WindowRef) */
-public static final native int ReshapeCustomWindow(int window);
-public static final native int RestoreApplicationDockTileImage();
-/** @param inEvent cast=(EventRef) */
-public static final native int RetainEvent(int inEvent);
-/** @param mHandle cast=(MenuRef) */
-public static final native int RetainMenu(int mHandle);
-/** @param inWindow cast=(WindowRef) */
-public static final native int RetainWindow(int inWindow);
-/**
- * @param browser cast=(ControlRef)
- * @param item cast=(DataBrowserItemID)
- * @param property cast=(DataBrowserPropertyID)
- * @param options cast=(DataBrowserRevealOptions)
- */
-public static final native int RevealDataBrowserItem(int browser, int item, int property, byte options);
-/**
- * @param dialogHandle cast=(DialogRef)
- * @param modalFilterUPP cast=(ModalFilterUPP)
- * @param itemHit cast=(DialogItemIndex *)
- */
-public static final native int RunStandardAlert(int dialogHandle, int modalFilterUPP, short[] itemHit);
-/**
- * @param psn1 cast=(ProcessSerialNumber *)
- * @param psn2 cast=(ProcessSerialNumber *)
- */
-public static final native int SameProcess(int [] psn1, int[] psn2, boolean[] result);
-/**
- * @param rect cast=(const Rect *)
- * @param dh cast=(short)
- * @param dv cast=(short)
- * @param updateRgn cast=(RgnHandle)
- */
-public static final native void ScrollRect(Rect rect, short dh, short dv, int updateRgn);
-/**
- * @param src1 flags=no_out
- * @param src2 flags=no_out
- * @param dstRect flags=no_in
- */
-public static final native boolean SectRect(Rect src1, Rect src2, Rect dstRect);
-/**
- * @param srcRgnA cast=(RgnHandle)
- * @param srcRgnB cast=(RgnHandle)
- * @param dstRgn cast=(RgnHandle)
- */
-public static final native void SectRgn(int srcRgnA, int srcRgnB, int dstRgn);
-/** @param wHandle cast=(WindowRef) */
-public static final native void SelectWindow(int wHandle);
-/**
- * @param window cast=(WindowRef)
- * @param behindWindow cast=(WindowRef)
- */
-public static final native void SendBehind(int window, int behindWindow);
-/**
- * @param theEvent cast=(EventRef)
- * @param theTarget cast=(EventTargetRef)
- */
-public static final native int SendEventToEventTarget(int theEvent, int theTarget);
-/**
- * @param theEvent cast=(EventRef)
- * @param theTarget cast=(EventTargetRef)
- */
-public static final native int SendEventToEventTargetWithOptions(int theEvent, int theTarget, int options);
-/** @param inImage cast=(CGImageRef) */
-public static final native int SetApplicationDockTileImage(int inImage);
-/**
- * @param inWindow cast=(WindowRef)
- * @param inTracks cast=(Boolean)
- */
-public static final native int SetAutomaticControlDragTrackingEnabledForWindow (int inWindow, boolean inTracks);
-/**
- * @param inButton cast=(ControlRef)
- * @param inContent cast=(ControlButtonContentInfoPtr)
- */
-public static final native int SetBevelButtonContentInfo(int inButton, ControlButtonContentInfo inContent);
-/** @param rgnHandle cast=(RgnHandle) */
-public static final native void SetClip(int rgnHandle);
-/**
- * @param cHandle cast=(ControlRef)
- * @param maximum cast=(SInt32)
- */
-public static final native void SetControl32BitMaximum(int cHandle, int maximum);
-/**
- * @param cHandle cast=(ControlRef)
- * @param minimum cast=(SInt32)
- */
-public static final native void SetControl32BitMinimum(int cHandle, int minimum);
-/**
- * @param cHandle cast=(ControlRef)
- * @param value cast=(SInt32)
- */
-public static final native void SetControl32BitValue(int cHandle, int value);
-/**
- * @param cHandle cast=(ControlRef)
- * @param actionProc cast=(ControlActionUPP)
- */
-public static final native void SetControlAction(int cHandle, int actionProc);
-/**
- * @param cHandle cast=(ControlRef)
- * @param bounds cast=(const Rect *)
- */
-public static final native void SetControlBounds(int cHandle, Rect bounds);
-/**
- * @param inControl cast=(ControlRef)
- * @param inProc cast=(ControlColorUPP)
- */
-public static final native int SetControlColorProc(int inControl, int inProc);
-/**
- * @param inControl cast=(ControlRef)
- * @param inPart cast=(ControlPartCode)
- * @param inTagName cast=(ResType)
- * @param inSize cast=(Size)
- * @param inData cast=(const void *)
- */
-public static final native int SetControlData(int inControl, int inPart, int inTagName, int inSize, ControlButtonContentInfo inData);
-/**
- * @param inControl cast=(ControlRef)
- * @param inPart cast=(ControlPartCode)
- * @param inTagName cast=(ResType)
- * @param inSize cast=(Size)
- * @param inData cast=(const void *)
- */
-public static final native int SetControlData(int inControl, int inPart, int inTagName, int inSize, LongDateRec inData);
-/**
- * @param inControl cast=(ControlRef)
- * @param inPart cast=(ControlPartCode)
- * @param inTagName cast=(ResType)
- * @param inSize cast=(Size)
- * @param inData cast=(const void *)
- */
-public static final native int SetControlData(int inControl, int inPart, int inTagName, int inSize, ControlTabInfoRecV1 inData);
-/**
- * @param inControl cast=(ControlRef)
- * @param inPart cast=(ControlPartCode)
- * @param inTagName cast=(ResType)
- * @param inSize cast=(Size)
- * @param inData cast=(const void *)
- */
-public static final native int SetControlData(int inControl, int inPart, int inTagName, int inSize, Rect inData);
-/**
- * @param inControl cast=(ControlRef)
- * @param inPart cast=(ControlPartCode)
- * @param inTagName cast=(ResType)
- * @param inSize cast=(Size)
- * @param inData cast=(const void *)
- */
-public static final native int SetControlData(int inControl, int inPart, int inTagName, int inSize, short[] inData);
-/**
- * @param inControl cast=(ControlRef)
- * @param inPart cast=(ControlPartCode)
- * @param inTagName cast=(ResType)
- * @param inSize cast=(Size)
- * @param inData cast=(const void *)
- */
-public static final native int SetControlData(int inControl, int inPart, int inTagName, int inSize, int[] inData);
-/**
- * @param inControl cast=(ControlRef)
- * @param inPart cast=(ControlPartCode)
- * @param inTagName cast=(ResType)
- * @param inSize cast=(Size)
- * @param inData cast=(const void *)
- */
-public static final native int SetControlData(int inControl, int inPart, int inTagName, int inSize, int inData);
-/**
- * @param inControl cast=(ControlRef)
- * @param inPart cast=(ControlPartCode)
- * @param inTagName cast=(ResType)
- * @param inSize cast=(Size)
- * @param inData cast=(const void *)
- */
-public static final native int SetControlData(int inControl, int inPart, int inTagName, int inSize, byte[] inData);
-/**
- * @param inControl cast=(ControlRef)
- * @param inPart cast=(ControlPartCode)
- * @param inTagName cast=(ResType)
- * @param inSize cast=(Size)
- * @param inData cast=(const void *)
- */
-public static final native int SetControlData(int inControl, int inPart, int inTagName, int inSize, ControlEditTextSelectionRec inData);
-/**
- * @param inControl cast=(ControlRef)
- * @param inStyle cast=(const ControlFontStyleRec *)
- */
-public static final native int SetControlFontStyle(int inControl, ControlFontStyleRec inStyle);
-/**
- * @param cHandle cast=(ControlRef)
- * @param popupMenuHandle cast=(MenuRef)
- */
-public static final native void SetControlPopupMenuHandle(int cHandle, int popupMenuHandle);
-/**
- * @param control cast=(ControlRef)
- * @param propertyData cast=(const void *)
- */
-public static final native int SetControlProperty(int control, int propertyCreator, int propertyTag, int propertySize, int[] propertyData);
-/**
- * @param cHandle cast=(ControlRef)
- * @param data cast=(SInt32)
- */
-public static final native void SetControlReference(int cHandle, int data);
-/**
- * @param cHandle cast=(ControlRef)
- * @param sHandle cast=(CFStringRef)
- */
-public static final native int SetControlTitleWithCFString(int cHandle, int sHandle);
-/**
- * @param cHandle cast=(ControlRef)
- * @param viewSize cast=(SInt32)
- */
-public static final native void SetControlViewSize(int cHandle, int viewSize);
-/** @param inControl cast=(ControlRef) */
-public static final native int SetControlVisibility(int inControl, boolean inIsVisible, boolean inDoDraw);
-/** @param cursor cast=(const Cursor *) */
-public static final native void SetCursor(int cursor);
-/**
- * @param browser cast=(ControlRef)
- * @param callbacks cast=(const DataBrowserCallbacks *),flags=init
- */
-public static final native int SetDataBrowserCallbacks(int browser, DataBrowserCallbacks callbacks);
-/** @param browser cast=(ControlRef) */
-public static final native int SetDataBrowserCustomCallbacks(int browser, DataBrowserCustomCallbacks callbacks);
-/**
- * @param cHandle cast=(ControlRef)
- * @param hScroll cast=(Boolean)
- * @param vScroll cast=(Boolean)
- */
-public static final native int SetDataBrowserHasScrollBars(int cHandle, boolean hScroll, boolean vScroll);
-/**
- * @param itemRef cast=(DataBrowserItemDataRef)
- * @param data cast=(Boolean)
- */
-public static final native int SetDataBrowserItemDataBooleanValue(int itemRef, boolean data);
-/**
- * @param itemRef cast=(DataBrowserItemDataRef)
- * @param themeButtonValue cast=(ThemeButtonValue)
- */
-public static final native int SetDataBrowserItemDataButtonValue(int itemRef, short themeButtonValue);
-/**
- * @param itemRef cast=(DataBrowserItemDataRef)
- * @param iconRef cast=(IconRef)
- */
-public static final native int SetDataBrowserItemDataIcon(int itemRef, int iconRef);
-/**
- * @param itemRef cast=(DataBrowserItemDataRef)
- * @param itemID cast=(DataBrowserItemID)
- */
-public static final native int SetDataBrowserItemDataItemID(int itemRef, int itemID);
-/**
- * @param itemRef cast=(DataBrowserItemDataRef)
- * @param sHandle cast=(CFStringRef)
- */
-public static final native int SetDataBrowserItemDataText(int itemRef, int sHandle);
-/**
- * @param cHandle cast=(ControlRef)
- * @param colID cast=(DataBrowserTableViewColumnID)
- * @param b cast=(Boolean)
- */
-public static final native int SetDataBrowserListViewDisclosureColumn(int cHandle, int colID, boolean b);
-/**
- * @param cHandle cast=(ControlRef)
- * @param height cast=(UInt16)
- */
-public static final native int SetDataBrowserListViewHeaderBtnHeight(int cHandle, short height);
-/** @param browser cast=(ControlRef) */
-public static final native int SetDataBrowserListViewHeaderDesc(int browser, int column, DataBrowserListViewHeaderDesc desc);
-/**
- * @param browser cast=(ControlRef)
- * @param property cast=(DataBrowserPropertyID)
- * @param flags cast=(DataBrowserPropertyFlags)
- */
-public static final native int SetDataBrowserPropertyFlags(int browser, int property, int flags);
-/**
- * @param cHandle cast=(ControlRef)
- * @param top cast=(UInt32)
- * @param left cast=(UInt32)
- */
-public static final native int SetDataBrowserScrollPosition(int cHandle, int top, int left);
-/**
- * @param cHandle cast=(ControlRef)
- * @param numItems cast=(UInt32)
- * @param items cast=(const DataBrowserItemID *)
- * @param operation cast=(DataBrowserSetOption)
- */
-public static final native int SetDataBrowserSelectedItems(int cHandle, int numItems, int[] items, int operation);
-/**
- * @param cHandle cast=(ControlRef)
- * @param selectionFlags cast=(DataBrowserSelectionFlags)
- */
-public static final native int SetDataBrowserSelectionFlags(int cHandle, int selectionFlags);
-/** @param browser cast=(ControlRef) */
-public static final native int SetDataBrowserSortOrder(int browser, short order);
-/**
- * @param browser cast=(ControlRef)
- * @param property cast=(DataBrowserPropertyID)
- */
-public static final native int SetDataBrowserSortProperty(int browser, int property);
-/** @param browser cast=(ControlRef) */
-public static final native int SetDataBrowserTableViewColumnPosition(int browser, int column, int position);
-/** @param browser cast=(ControlRef) */
-public static final native int SetDataBrowserTableViewHiliteStyle(int browser, int hiliteStyle);
-/** @param browser cast=(ControlRef) */
-public static final native int SetDataBrowserTableViewItemRow(int browser, int item, int row);
-/**
- * @param browser cast=(ControlRef)
- * @param column cast=(DataBrowserTableViewColumnID)
- * @param width cast=(UInt16)
- */
-public static final native int SetDataBrowserTableViewNamedColumnWidth(int browser, int column, short width);
-/** @param browser cast=(ControlRef) */
-public static final native int SetDataBrowserTableViewRowHeight(int browser, short height );
-/**
- * @param cHandle cast=(ControlRef)
- * @param rootID cast=(DataBrowserItemID)
- */
-public static final native int SetDataBrowserTarget(int cHandle, int rootID);
-/**
- * @param theDrag cast=(DragRef)
- * @param inActions cast=(DragActions)
- * @param isLocal cast=(Boolean)
- */
-public static final native int SetDragAllowableActions(int theDrag, int inActions, boolean isLocal);
-/**
- * @param theDrag cast=(DragRef)
- * @param inAction cast=(DragActions)
- */
-public static final native int SetDragDropAction(int theDrag, int inAction);
-/**
- * @param inDrag cast=(DragRef)
- * @param inCGImage cast=(CGImageRef)
- * @param inImageOffsetPt cast=(HIPoint *)
- * @param inImageFlags cast=(DragImageFlags)
- */
-public static final native int SetDragImageWithCGImage(int inDrag, int inCGImage, CGPoint inImageOffsetPt, int inImageFlags);
-/**
- * @param theDrag cast=(DragRef)
- * @param inputProc cast=(DragInputUPP)
- * @param dragInputRefCon cast=(void *)
- */
-public static final native int SetDragInputProc(int theDrag, int inputProc, int dragInputRefCon);
-/**
- * @param theDrag cast=(DragRef)
- * @param theItemRef cast=(DragItemRef)
- * @param theType cast=(FlavorType)
- * @param dataPtr cast=(const void *)
- * @param dataSize cast=(Size)
- * @param dataOffset cast=(UInt32)
- */
-public static final native int SetDragItemFlavorData (int theDrag, int theItemRef, int theType, byte[] dataPtr, int dataSize, int dataOffset);
-/**
- * @param theDrag cast=(DragRef)
- * @param sendProc cast=(DragSendDataUPP)
- * @param dragSendRefCon cast=(void *)
- */
-public static final native int SetDragSendProc(int theDrag, int sendProc, int dragSendRefCon);
-/**
- * @param inTimer cast=(EventLoopTimerRef)
- * @param inNextFire cast=(EventTimerInterval)
- */
-public static final native int SetEventLoopTimerNextFireTime(int inTimer, double inNextFire);
-/**
- * @param inEvent cast=(EventRef)
- * @param inName cast=(EventParamName)
- * @param inType cast=(EventParamType)
- * @param inSize cast=(UInt32)
- * @param inDataPtr cast=(const void *)
- */
-public static final native int SetEventParameter(int inEvent, int inName, int inType, int inSize, Point inDataPtr);
-/**
- * @param inEvent cast=(EventRef)
- * @param inName cast=(EventParamName)
- * @param inType cast=(EventParamType)
- * @param inSize cast=(UInt32)
- * @param inDataPtr cast=(const void *)
- */
-public static final native int SetEventParameter(int inEvent, int inName, int inType, int inSize, HICommand inDataPtr);
-/**
- * @param inEvent cast=(EventRef)
- * @param inName cast=(EventParamName)
- * @param inType cast=(EventParamType)
- * @param inSize cast=(UInt32)
- * @param inDataPtr cast=(const void *)
- */
-public static final native int SetEventParameter(int inEvent, int inName, int inType, int inSize, char[] inDataPtr);
-/**
- * @param inEvent cast=(EventRef)
- * @param inName cast=(EventParamName)
- * @param inType cast=(EventParamType)
- * @param inSize cast=(UInt32)
- * @param inDataPtr cast=(const void *)
- */
-public static final native int SetEventParameter(int inEvent, int inName, int inType, int inSize, short[] inDataPtr);
-/**
- * @param inEvent cast=(EventRef)
- * @param inName cast=(EventParamName)
- * @param inType cast=(EventParamType)
- * @param inSize cast=(UInt32)
- * @param inDataPtr cast=(const void *)
- */
-public static final native int SetEventParameter(int inEvent, int inName, int inType, int inSize, int[] inDataPtr);
-/**
- * @param inEvent cast=(EventRef)
- * @param inName cast=(EventParamName)
- * @param inType cast=(EventParamType)
- * @param inSize cast=(UInt32)
- * @param inDataPtr cast=(const void *)
- */
-public static final native int SetEventParameter(int inEvent, int inName, int inType, int inSize, boolean[] inDataPtr);
-/**
- * @param inEvent cast=(EventRef)
- * @param inName cast=(EventParamName)
- * @param inType cast=(EventParamType)
- * @param inSize cast=(UInt32)
- * @param inDataPtr cast=(const void *)
- */
-public static final native int SetEventParameter(int inEvent, int inName, int inType, int inSize, CGPoint inDataPtr);
-/**
- * @param iStyleType cast=(OSType)
- * @param iNumStyles cast=(UInt32)
- * @param iStyles cast=(void *)
- * @param iFPEventTarget cast=(void *)
- */
-public static final native int SetFontInfoForSelection(int iStyleType, int iNumStyles, int iStyles, int iFPEventTarget);
-/** @param psn cast=(const ProcessSerialNumber *) */
-public static final native int SetFrontProcess(int[] psn);
-/** @param psn cast=(const ProcessSerialNumber *) */
-public static final native int SetFrontProcessWithOptions(int[] psn, int inOptions);
-/** @param handle cast=(Handle) */
-public static final native void SetHandleSize(int handle, int size);
-/**
- * @param portHandle cast=(CGrafPtr)
- * @param gdHandle cast=(GDHandle)
- */
-public static final native void SetGWorld(int portHandle, int gdHandle);
-/**
- * @param iconFamily cast=(IconFamilyHandle)
- * @param iconType cast=(OSType)
- * @param h cast=(Handle)
- */
-public static final native int SetIconFamilyData(int iconFamily, int iconType, int h);
-/** @param theMenu cast=(MenuRef) */
-public static final native void SetItemMark(int theMenu, short item, short markChar);
-/**
- * @param wHandle cast=(WindowRef)
- * @param cHandle cast=(ControlRef)
- * @param inPart cast=(ControlFocusPart)
- */
-public static final native int SetKeyboardFocus(int wHandle, int cHandle, short inPart);
-/**
- * @param mHandle cast=(MenuRef)
- * @param commandId cast=(MenuCommand)
- * @param mark cast=(UniChar)
- */
-public static final native int SetMenuCommandMark(int mHandle, int commandId, char mark);
-/**
- * @param mHandle cast=(MenuRef)
- * @param fontID cast=(SInt16)
- * @param size cast=(UInt16)
- */
-public static final native int SetMenuFont(int mHandle, short fontID, short size);
-/**
- * @param mHandle cast=(MenuRef)
- * @param index cast=(MenuItemIndex)
- * @param virtualKey cast=(Boolean)
- * @param key cast=(UInt16)
- */
-public static final native int SetMenuItemCommandKey(int mHandle, short index, boolean virtualKey, char key);
-/**
- * @param mHandle cast=(MenuRef)
- * @param index cast=(MenuItemIndex)
- * @param hierMenuHandle cast=(MenuRef)
- */
-public static final native int SetMenuItemHierarchicalMenu(int mHandle, short index, int hierMenuHandle);
-/**
- * @param mHandle cast=(MenuRef)
- * @param item cast=(SInt16)
- * @param iconType cast=(UInt8)
- * @param iconHandle cast=(Handle)
- */
-public static final native int SetMenuItemIconHandle(int mHandle, short item, byte iconType, int iconHandle);
-/**
- * @param mHandle cast=(MenuRef)
- * @param index cast=(SInt16)
- * @param glyph cast=(SInt16)
- */
-public static final native int SetMenuItemKeyGlyph(int mHandle, short index, short glyph);
-/**
- * @param mHandle cast=(MenuRef)
- * @param index cast=(SInt16)
- * @param modifiers cast=(UInt8)
- */
-public static final native int SetMenuItemModifiers(int mHandle, short index, byte modifiers);
-/**
- * @param mHandle cast=(MenuRef)
- * @param index cast=(SInt16)
- * @param refCon cast=(UInt32)
- */
-public static final native int SetMenuItemRefCon(int mHandle, short index, int refCon);
-/**
- * @param mHandle cast=(MenuRef)
- * @param index cast=(MenuItemIndex)
- * @param sHandle cast=(CFStringRef)
- */
-public static final native int SetMenuItemTextWithCFString(int mHandle, short index, int sHandle);
-/**
- * @param mHandle cast=(MenuRef)
- * @param sHandle cast=(CFStringRef)
- */
-public static final native int SetMenuTitleWithCFString(int mHandle, int sHandle);
-/** @param pHandle cast=(GrafPtr) */
-public static final native void SetPort(int pHandle);
-/**
- * @param p cast=(Point *)
- * @param h cast=(short)
- * @param v cast=(short)
- */
-public static final native void SetPt(Point p, short h, short v);
-/**
- * @param r cast=(Rect *)
- * @param left cast=(short)
- * @param top cast=(short)
- * @param right cast=(short)
- * @param bottom cast=(short)
- */
-public static final native void SetRect(Rect r, short left, short top, short right, short bottom);
-/**
- * @param rgnHandle cast=(RgnHandle)
- * @param left cast=(short)
- * @param top cast=(short)
- * @param right cast=(short)
- * @param bottom cast=(short)
- */
-public static final native void SetRectRgn(int rgnHandle, short left, short top, short right, short bottom);
-/** @param mHandle cast=(MenuRef) */
-public static final native int SetRootMenu(int mHandle);
-/**
- * @param inMode cast=(SystemUIMode)
- * @param inOptions cast=(SystemUIOptions)
- */
-public static final native int SetSystemUIMode(int inMode, int inOptions);
-/**
- * @param inBrush cast=(ThemeBrush)
- * @param depth cast=(SInt16)
- * @param isColorDevice cast=(Boolean)
- */
-public static final native int SetThemeBackground(short inBrush, short depth, boolean isColorDevice);
-/** @param themeCursor cast=(ThemeCursor) */
-public static final native int SetThemeCursor(int themeCursor);
-/**
- * @param state cast=(ThemeDrawingState)
- * @param disposeNow cast=(Boolean)
- */
-public static final native int SetThemeDrawingState(int state, boolean disposeNow);
-public static final native int SetThemeTextColor(short inBrush, short depth, boolean isColorDevice);
-/**
- * @param wHandle cast=(WindowRef)
- * @param brush cast=(ThemeBrush)
- * @param update cast=(Boolean)
- */
-public static final native int SetThemeWindowBackground(int wHandle, short brush, boolean update);
-/**
- * @param cHandle cast=(ControlRef)
- * @param depth cast=(SInt16)
- * @param isColorDevice cast=(Boolean)
- */
-public static final native int SetUpControlBackground(int cHandle, short depth, boolean isColorDevice);
-/**
- * @param wHandle cast=(WindowRef)
- * @param scope cast=(WindowActivationScope)
- */
-public static final native int SetWindowActivationScope(int wHandle, int scope);
-/** @param inWindow cast=(WindowRef) */
-public static final native int SetWindowAlpha(int inWindow, float inAlpha);
-/**
- * @param window cast=(WindowRef)
- * @param regionCode cast=(WindowRegionCode)
- * @param globalBounds cast=(Rect *)
- */
-public static final native void SetWindowBounds(int window, int regionCode, Rect globalBounds);
-/**
- * @param wHandle cast=(WindowRef)
- * @param cHandle cast=(ControlRef)
- */
-public static final native int SetWindowDefaultButton(int wHandle, int cHandle);
-/**
- * @param inWindow cast=(WindowRef)
- * @param inNewGroup cast=(WindowGroupRef)
- */
-public static final native int SetWindowGroup(int inWindow, int inNewGroup);
-/**
- * @param inGroup cast=(WindowGroupRef)
- * @param inWindow cast=(WindowRef)
- */
-public static final native int SetWindowGroupOwner(int inGroup, int inWindow);
-/**
- * @param inGroup cast=(WindowGroupRef)
- * @param inNewGroup cast=(WindowGroupRef)
- */
-public static final native int SetWindowGroupParent(int inGroup, int inNewGroup);
-/**
- * @param inWindow cast=(WindowRef)
- * @param inModalKind cast=(WindowModality)
- * @param inUnavailableWindow cast=(WindowRef)
- */
-public static final native int SetWindowModality(int inWindow, int inModalKind, int inUnavailableWindow);
-/**
- * @param inWindow cast=(WindowRef)
- */
-public static final native int SetWindowModified(int inWindow, boolean modified);
-/**
- * @param inWindow cast=(WindowRef)
- * @param inMinLimits cast=(HISize *)
- * @param inMaxLimits cast=(HISize *)
- */
-public static final native int SetWindowResizeLimits (int inWindow, CGPoint inMinLimits, CGPoint inMaxLimits);
-/**
- * @param wHandle cast=(WindowRef)
- * @param sHandle cast=(CFStringRef)
- */
-public static final native int SetWindowTitleWithCFString(int wHandle, int sHandle);
-/** @param wHandle cast=(WindowRef) */
-public static final native void ShowWindow(int wHandle);
-/**
- * @param cHandle cast=(ControlRef)
- * @param w cast=(SInt16)
- * @param h cast=(SInt16)
- */
-public static final native void SizeControl(int cHandle, short w, short h);
-/**
- * @param wHandle cast=(WindowRef)
- * @param w cast=(short)
- * @param h cast=(short)
- * @param update cast=(Boolean)
- */
-public static final native void SizeWindow(int wHandle, short w, short h, boolean update);
-public static final native boolean StillDown();
-/** @param duration cast=(short) */
-public static final native void SysBeep(short duration);
-/** @param txHandle cast=(TXNObject) */
-public static final native int TXNCopy(int txHandle);
-/** @param txHandle cast=(TXNObject) */
-public static final native int TXNCut(int txHandle);
-/** @param txHandle cast=(TXNObject) */
-public static final native int TXNDataSize(int txHandle);
-/** @param txHandle cast=(TXNObject) */
-public static final native void TXNDeleteObject(int txHandle);
-/**
- * @param txHandle cast=(TXNObject)
- * @param echoCharacter cast=(UniChar)
- * @param encoding cast=(TextEncoding)
- * @param on cast=(Boolean)
- */
-public static final native int TXNEchoMode(int txHandle, char echoCharacter, int encoding, boolean on);
-/**
- * @param txHandle cast=(TXNObject)
- * @param startOffset cast=(TXNOffset)
- * @param endOffset cast=(TXNOffset)
- * @param dataHandle cast=(Handle *)
- */
-public static final native int TXNGetData(int txHandle, int startOffset, int endOffset, int[] dataHandle);
-/**
- * @param txHandle cast=(TXNObject)
- * @param lineTotal cast=(ItemCount *)
- */
-public static final native int TXNGetLineCount(int txHandle, int[] lineTotal);
-/**
- * @param iTXNObject cast=(TXNObject)
- * @param iLineNumber cast=(UInt32)
- * @param oLineWidth cast=(Fixed *)
- * @param oLineHeight cast=(Fixed *)
- */
-public static final native int TXNGetLineMetrics(int iTXNObject, int iLineNumber, int [] oLineWidth, int [] oLineHeight);
-/**
- * @param iTXNObject cast=(TXNObject)
- * @param iControlCount cast=(ItemCount)
- * @param iControlTags cast=(const TXNControlTag *)
- * @param oControlData cast=(TXNControlData *)
- */
-public static final native int TXNGetTXNObjectControls(int iTXNObject, int iControlCount, int [] iControlTags, int [] oControlData);
-/** @param iTXNObject cast=(TXNObject) */
-public static final native int TXNGetHIRect(int iTXNObject, int iTXNRectKey, CGRect oRectangle);
-/**
- * @param txHandle cast=(TXNObject)
- * @param startOffset cast=(TXNOffset *)
- * @param endOffset cast=(TXNOffset *)
- */
-public static final native void TXNGetSelection(int txHandle, int[] startOffset, int[] endOffset);
-/** @param iTXNObject cast=(TXNObject) */
-public static final native void TXNGetViewRect (int iTXNObject, Rect oViewRect);
-/**
- * @param iDefaultFonts cast=(const TXNMacOSPreferredFontDescription *)
- * @param iCountDefaultFonts cast=(ItemCount)
- * @param iUsageFlags cast=(TXNInitOptions)
- */
-public static final native int TXNInitTextension(int iDefaultFonts, int iCountDefaultFonts, int iUsageFlags);
-/**
- * @param txHandle cast=(TXNObject)
- * @param offset cast=(TXNOffset)
- * @param point cast=(HIPoint *)
- */
-public static final native int TXNOffsetToHIPoint(int txHandle, int offset, CGPoint point);
-/** @param txHandle cast=(TXNObject) */
-public static final native int TXNPaste(int txHandle);
-/**
- * @param iTXNObject cast=(TXNObject)
- * @param iPoint cast=(HIPoint *)
- * @param oOffset cast=(TXNOffset *)
- */
-public static final native int TXNHIPointToOffset (int iTXNObject, CGPoint iPoint, int [] oOffset);
-/** @param txHandle cast=(TXNObject) */
-public static final native void TXNSelectAll(int txHandle);
-/**
- * @param iTXNObject cast=(TXNObject)
- * @param iBackgroundInfo cast=(const TXNBackground *)
- */
-public static final native int TXNSetBackground(int iTXNObject, TXNBackground iBackgroundInfo);
-/**
- * @param iTXNObject cast=(TXNObject)
- * @param iDataType cast=(TXNDataType)
- * @param iDataPtr cast=(const void *)
- * @param iDataSize cast=(ByteCount)
- * @param iStartOffset cast=(TXNOffset)
- * @param iEndOffset cast=(TXNOffset)
- */
-public static final native int TXNSetData(int iTXNObject, int iDataType, char[] iDataPtr, int iDataSize, int iStartOffset, int iEndOffset);
-/**
- * @param txHandle cast=(TXNObject)
- * @param top cast=(SInt32)
- * @param left cast=(SInt32)
- * @param bottom cast=(SInt32)
- * @param right cast=(SInt32)
- * @param frameID cast=(TXNFrameID)
- */
-public static final native void TXNSetFrameBounds(int txHandle, int top, int left, int bottom, int right, int frameID);
-/**
- * @param txHandle cast=(TXNObject)
- * @param startOffset cast=(TXNOffset)
- * @param endOffset cast=(TXNOffset)
- */
-public static final native int TXNSetSelection(int txHandle, int startOffset, int endOffset);
-/**
- * @param iTXNObject cast=(TXNObject)
- * @param iAttrCount cast=(ItemCount)
- * @param iAttributes cast=(const TXNTypeAttributes *)
- * @param iStartOffset cast=(TXNOffset)
- * @param iEndOffset cast=(TXNOffset)
- */
-public static final native int TXNSetTypeAttributes(int iTXNObject, int iAttrCount, int iAttributes, int iStartOffset, int iEndOffset);
-/**
- * @param iTXNObject cast=(TXNObject)
- * @param iClearAll cast=(Boolean)
- * @param iControlCount cast=(ItemCount)
- * @param iControlTags cast=(const TXNControlTag *)
- * @param iControlData cast=(const TXNControlData *)
- */
-public static final native int TXNSetTXNObjectControls(int iTXNObject, boolean iClearAll, int iControlCount, int[] iControlTags, int[] iControlData);
-/**
- * @param txHandle cast=(TXNObject)
- * @param showEnd cast=(Boolean)
- */
-public static final native void TXNShowSelection(int txHandle, boolean showEnd);
-/** @param face cast=(StyleParameter) */
-public static final native void TextFace(short face);
-/** @param fontID cast=(short) */
-public static final native void TextFont(short fontID);
-/** @param size cast=(short) */
-public static final native void TextSize(short size);
-/**
- * @param theDrag cast=(DragRef)
- * @param theEvent cast=(const EventRecord *)
- * @param theRegion cast=(RgnHandle)
- */
-public static final native int TrackDrag(int theDrag, EventRecord theEvent, int theRegion);
-/**
- * @param inPort cast=(GrafPtr)
- * @param inOptions cast=(OptionBits)
- * @param inTime cast=(EventTimeout)
- * @param outPt cast=(Point *)
- * @param outModifiers cast=(UInt32 *)
- * @param outResult cast=(MouseTrackingResult *)
- */
-public static final native int TrackMouseLocationWithOptions(int inPort, int inOptions, double inTime, Point outPt, int [] outModifiers, short[] outResult);
-/**
- * @param inTagClass cast=(CFStringRef)
- * @param inTag cast=(CFStringRef)
- * @param inConformingToUTI cast=(CFStringRef)
- */
-public static final native int UTTypeCreatePreferredIdentifierForTag(int inTagClass, int inTag, int inConformingToUTI);
-/**
- * @param inTagClass cast=(CFStringRef)
- * @param inTag cast=(CFStringRef)
- * @param inConformingToUTI cast=(CFStringRef)
- */
-public static final native int UTTypeCreateAllIdentifiersForTag(int inTagClass, int inTag, int inConformingToUTI);
-/**
- * @param srcA flags=no_out
- * @param srcB flags=no_out
- * @param dst flags=no_in
- */
-public static final native void UnionRect(Rect srcA, Rect srcB, Rect dst);
-/**
- * @param srcRgnA cast=(RgnHandle)
- * @param srcRgnB cast=(RgnHandle)
- * @param dstRgn cast=(RgnHandle)
- */
-public static final native void UnionRgn(int srcRgnA, int srcRgnB, int dstRgn);
-/**
- * @param cHandle cast=(ControlRef)
- * @param container cast=(DataBrowserItemID)
- * @param numItems cast=(UInt32)
- * @param items cast=(const DataBrowserItemID *)
- * @param preSortProperty cast=(DataBrowserPropertyID)
- * @param propertyID cast=(DataBrowserPropertyID)
- */
-public static final native int UpdateDataBrowserItems(int cHandle, int container, int numItems, int[] items, int preSortProperty, int propertyID);
-/**
- * @param iTextScriptID cast=(ScriptCode)
- * @param iTextLanguageID cast=(LangCode)
- * @param iRegionID cast=(RegionCode)
- * @param iTextFontname cast=(ConstStr255Param)
- * @param oEncoding cast=(TextEncoding *)
- */
-public static final native int UpgradeScriptInfoToTextEncoding(short iTextScriptID, short iTextLanguageID, short iRegionID, byte[] iTextFontname, int[] oEncoding);
-/** @param idocID cast=(TSMDocumentID) */
-public static final native int UseInputWindow(int idocID, boolean useWindow);
-/** @param initialGlobalMouse flags=struct */
-public static final native boolean WaitMouseMoved(Point initialGlobalMouse);
-public static final native int X2Fix(double x);
-/**
- * @param inWindow cast=(WindowRef)
- * @param inPartCode cast=(WindowPartCode)
- * @param ioIdealSize cast=(Point *)
- */
-public static final native int ZoomWindowIdeal(int inWindow, short inPartCode, Point ioIdealSize);
-/** @method flags=const */
-public static final native int kCFNumberFormatterDecimalSeparator();
-public static final native int getpid();
-/**
- * @param dest cast=(void *)
- * @param src cast=(const void *)
- * @param n cast=(size_t)
- */
-public static final native void memmove(NavCBRec dest, int src, int n);
-/**
- * @param dest cast=(void *)
- * @param src cast=(const void *)
- * @param n cast=(size_t)
- */
-public static final native void memmove(NavFileOrFolderInfo dest, int src, int n);
-/**
- * @param dest cast=(void *)
- * @param src cast=(const void *)
- * @param n cast=(size_t)
- */
-public static final native void memmove(NavMenuItemSpec dest, int src, int n);
-/**
- * @param dest cast=(void *),flags=no_in
- * @param src cast=(const void *)
- * @param n cast=(size_t)
- */
-public static final native void memmove(ATSTrapezoid dest, int src, int n);
-/**
- * @param dest cast=(void *)
- * @param src cast=(const void *)
- * @param n cast=(size_t)
- */
-public static final native void memmove(RGBColor dest, int src, int n);
-/**
- * @param dest cast=(void *),flags=no_in
- * @param src cast=(const void *)
- * @param n cast=(size_t)
- */
-public static final native void memmove(CGPathElement dest, int src, int n);
-/**
- * @param dest cast=(void *),flags=no_in
- * @param src cast=(const void *)
- * @param n cast=(size_t)
- */
-public static final native void memmove(TextRange dest, int src, int n);
-/**
- * @param dest cast=(void *)
- * @param src cast=(const void *),flags=no_out
- * @param n cast=(size_t)
- */
-public static final native void memmove(int dest, PixMap src, int n);
-/**
- * @param dest cast=(void *)
- * @param src cast=(const void *),flags=no_out
- * @param n cast=(size_t)
- */
-public static final native void memmove(int dest, Cursor src, int n);
-/**
- * @param dest cast=(void *),flags=no_in
- * @param src cast=(const void *)
- * @param n cast=(size_t)
- */
-public static final native void memmove(GDevice dest, int src, int n);
-/**
- * @param dest cast=(void *),flags=no_in
- * @param src cast=(const void *)
- * @param n cast=(size_t)
- */
-public static final native void memmove(PixMap dest, int src, int n);
-/**
- * @param dest cast=(void *),flags=no_in
- * @param src cast=(const void *)
- * @param n cast=(size_t)
- */
-public static final native void memmove(HMHelpContentRec dest, int src, int n);
-/**
- * @param dest cast=(void *),flags=no_in
- * @param src cast=(const void *)
- * @param n cast=(size_t)
- */
-public static final native void memmove(ATSLayoutRecord dest, int src, int n);
-/**
- * @param dest cast=(void *),flags=no_in
- * @param src cast=(const void *),flags=critical no_out
- * @param n cast=(size_t)
- */
-public static final native void memmove(org.eclipse.swt.internal.carbon.Point dest, int[] src, int n);
-/**
- * @param dest cast=(void *)
- * @param src cast=(const void *),flags=no_out
- * @param n cast=(size_t)
- */
-public static final native void memmove(int dest, HMHelpContentRec src, int n);
-/**
- * @param dest cast=(void *)
- * @param src cast=(const void *),flags=no_out
- * @param n cast=(size_t)
- */
-public static final native void memmove(int dest, BitMap src, int n);
-/**
- * @param dest cast=(void *)
- * @param src cast=(const void *),flags=no_out
- * @param n cast=(size_t)
- */
-public static final native void memmove(int dest, RGBColor src, int n);
-/**
- * @param dest cast=(void *),flags=no_in
- * @param src cast=(const void *)
- * @param n cast=(size_t)
- */
-public static final native void memmove(Rect dest, int src, int n);
-/**
- * @param dest cast=(void *)
- * @param src cast=(const void *),flags=no_out
- * @param n cast=(size_t)
- */
-public static final native void memmove(int dest, Rect src, int n);
-/**
- * @param dest cast=(void *),flags=critical no_in
- * @param src cast=(const void *),flags=critical no_out
- * @param size cast=(size_t)
- */
-public static final native void memmove(char[] dest, byte[] src, int size);
-/**
- * @param dest cast=(void *)
- * @param src cast=(const void *),flags=no_out
- * @param size cast=(size_t)
- */
-public static final native void memmove(int dest, ATSUTab src, int size);
-/**
- * @param dest cast=(void *),flags=critical no_in
- * @param src cast=(const void *),flags=no_out
- * @param size cast=(size_t)
- */
-public static final native void memmove(int[] dest, TXNTab src, int size);
-
-/**
- * @param inHIObject cast=(HIObjectRef)
- * @param inIdentifier cast=(UInt64)
- */
-public static final native int AXUIElementCreateWithHIObjectAndIdentifier(int inHIObject, long inIdentifier);
-/** @method flags=dynamic */
-public static final native int AXUIElementCreateWithDataBrowserAndItemInfo(int inDataBrowser, DataBrowserAccessibilityItemInfo inInfo);
-/**
- * @param inNotification cast=(CFStringRef)
- * @param inHIObject cast=(HIObjectRef)
- * @param inIdentifier cast=(UInt64)
- */
-public static final native void AXNotificationHIObjectNotify(int inNotification, int inHIObject, long inIdentifier);
-/**
- * @param inUIElement cast=(AXUIElementRef)
- * @param outIdentifier cast=(UInt64 *)
- */
-public static final native void AXUIElementGetIdentifier(int inUIElement, long[] outIdentifier);
-/** @param inUIElement cast=(AXUIElementRef) */
-public static final native int AXUIElementGetHIObject(int inUIElement);
-/** @method flags=dynamic */
-public static final native int AXUIElementGetDataBrowserItemInfo(int inElement, int inDataBrowser, int inDesiredInfoVersion, DataBrowserAccessibilityItemInfo outInfo);
-/**
- * @param theType cast=(AXValueType)
- * @param range cast=(CFRange *)
- */
-public static final native int AXValueCreate (int theType, CFRange range);
-/**
- * @param value cast=(AXValueRef)
- * @param theType cast=(AXValueType)
- * @param range cast=(CFRange *)
- */
-public static final native boolean AXValueGetValue (int value, int theType, CFRange range);
-/** @param inObject cast=(HIObjectRef) */
-public static final native int HIObjectSetAccessibilityIgnored(int inObject, boolean inIgnored);
-/**
- * @param inHIObject cast=(HIObjectRef)
- * @param inIdentifier cast=(UInt64)
- * @param inAttributeName cast=(CFStringRef)
- * @param inAttributeData cast=(CFTypeRef)
- */
-public static final native int HIObjectSetAuxiliaryAccessibilityAttribute(int inHIObject, long inIdentifier, int inAttributeName, int inAttributeData);
-/**
- * @param element cast=(AXUIElementRef)
- * @param attribute cast=(CFStringRef)
- * @param value cast=(CFTypeRef *)
- */
-public static final native int AXUIElementCopyAttributeValue (int element, int attribute, int [] value);
-
-public static final int kEventClassAccessibility = ('a'<<24) + ('c'<<16) + ('c'<<8) + 'e';
-
-public static final int kEventAccessibleGetChildAtPoint = 1;
-public static final int kEventAccessibleGetFocusedChild = 2;
-public static final int kEventAccessibleGetAllAttributeNames = 21;
-public static final int kEventAccessibleGetAllParameterizedAttributeNames = 25;
-public static final int kEventAccessibleGetNamedAttribute = 22;
-public static final int kEventAccessibleSetNamedAttribute = 23;
-public static final int kEventAccessibleIsNamedAttributeSettable = 24;
-public static final int kEventAccessibleGetAllActionNames = 41;
-public static final int kEventAccessiblePerformNamedAction = 42;
-public static final int kEventAccessibleGetNamedActionDescription = 44;
-
-public static final int kEventParamAccessibleObject = ('a'<<24) + ('o'<<16) + ('b'<<8) + 'j';
-public static final int kEventParamAccessibleChild = ('a'<<24) + ('c'<<16) + ('h'<<8) + 'l';
-public static final int kEventParamAccessibleAttributeName = ('a'<<24) + ('t'<<16) + ('n'<<8) + 'm';
-public static final int kEventParamAccessibleAttributeNames = ('a'<<24) + ('t'<<16) + ('n'<<8) + 's';
-public static final int kEventParamAccessibleAttributeValue = ('a'<<24) + ('t'<<16) + ('v'<<8) + 'l';
-public static final int kEventParamAccessibleAttributeSettable = ('a'<<24) + ('t'<<16) + ('s'<<8) + 't';
-public static final int kEventParamAccessibleAttributeParameter = ('a'<<24) + ('t'<<16) + ('p'<<8) + 'a';
-public static final int kEventParamAccessibleActionName = ('a'<<24) + ('c'<<16) + ('n'<<8) + 'm';
-public static final int kEventParamAccessibleActionNames = ('a'<<24) + ('c'<<16) + ('n'<<8) + 's';
-public static final int kEventParamAccessibleActionDescription = ('a'<<24) + ('c'<<16) + ('d'<<8) + 's';
-public static final int kEventParamAccessibleEventQueued = ('a'<<24) + ('e'<<16) + ('q'<<8) + 'u';
-
-public static final String kAXApplicationRole = "AXApplication";
-public static final String kAXSystemWideRole = "AXSystemWide";
-public static final String kAXWindowRole = "AXWindow";
-public static final String kAXSheetRole = "AXSheet";
-public static final String kAXDrawerRole = "AXDrawer";
-public static final String kAXGrowAreaRole = "AXGrowArea";
-public static final String kAXImageRole = "AXImage";
-public static final String kAXUnknownRole = "AXUnknown";
-public static final String kAXButtonRole = "AXButton";
-public static final String kAXRadioButtonRole = "AXRadioButton";
-public static final String kAXCheckBoxRole = "AXCheckBox";
-public static final String kAXPopUpButtonRole = "AXPopUpButton";
-public static final String kAXMenuButtonRole = "AXMenuButton";
-public static final String kAXTabGroupRole = "AXTabGroup";
-public static final String kAXTableRole = "AXTable";
-public static final String kAXColumnRole = "AXColumn";
-public static final String kAXRowRole = "AXRow";
-public static final String kAXOutlineRole = "AXOutline";
-public static final String kAXBrowserRole = "AXBrowser";
-public static final String kAXScrollAreaRole = "AXScrollArea";
-public static final String kAXScrollBarRole = "AXScrollBar";
-public static final String kAXRadioGroupRole = "AXRadioGroup";
-public static final String kAXListRole = "AXList";
-public static final String kAXGroupRole = "AXGroup";
-public static final String kAXValueIndicatorRole = "AXValueIndicator";
-public static final String kAXComboBoxRole = "AXComboBox";
-public static final String kAXSliderRole = "AXSlider";
-public static final String kAXIncrementorRole = "AXIncrementor";
-public static final String kAXBusyIndicatorRole = "AXBusyIndicator";
-public static final String kAXProgressIndicatorRole = "AXProgressIndicator";
-public static final String kAXRelevanceIndicatorRole = "AXRelevanceIndicator";
-public static final String kAXToolbarRole = "AXToolbar";
-public static final String kAXDisclosureTriangleRole = "AXDisclosureTriangle";
-public static final String kAXTextFieldRole = "AXTextField";
-public static final String kAXTextAreaRole = "AXTextArea";
-public static final String kAXStaticTextRole = "AXStaticText";
-public static final String kAXMenuBarRole = "AXMenuBar";
-public static final String kAXMenuBarItemRole = "AXMenuBarItem";
-public static final String kAXMenuRole = "AXMenu";
-public static final String kAXMenuItemRole = "AXMenuItem";
-public static final String kAXSplitGroupRole = "AXSplitGroup";
-public static final String kAXSplitterRole = "AXSplitter";
-public static final String kAXColorWellRole = "AXColorWell";
-public static final String kAXTimeFieldRole = "AXTimeField";
-public static final String kAXDateFieldRole = "AXDateField";
-public static final String kAXHelpTagRole = "AXHelpTag";
-public static final String kAXMatteRole = "AXMatteRole";
-public static final String kAXDockItemRole = "AXDockItem";
-public static final String kAXLinkRole = "AXLink"; // as seen in Safari
-
-public static final String kAXCloseButtonSubrole = "AXCloseButton";
-public static final String kAXMinimizeButtonSubrole = "AXMinimizeButton";
-public static final String kAXZoomButtonSubrole = "AXZoomButton";
-public static final String kAXToolbarButtonSubrole = "AXToolbarButton";
-public static final String kAXSecureTextFieldSubrole = "AXSecureTextField";
-public static final String kAXTableRowSubrole = "AXTableRow";
-public static final String kAXOutlineRowSubrole = "AXOutlineRow";
-public static final String kAXUnknownSubrole = "AXUnknown";
-public static final String kAXStandardWindowSubrole = "AXStandardWindow";
-public static final String kAXDialogSubrole = "AXDialog";
-public static final String kAXSystemDialogSubrole = "AXSystemDialog";
-public static final String kAXFloatingWindowSubrole = "AXFloatingWindow";
-public static final String kAXSystemFloatingWindowSubrole = "AXSystemFloatingWindow";
-public static final String kAXIncrementArrowSubrole = "AXIncrementArrow";
-public static final String kAXDecrementArrowSubrole = "AXDecrementArrow";
-public static final String kAXIncrementPageSubrole = "AXIncrementPage";
-public static final String kAXDecrementPageSubrole = "AXDecrementPage";
-public static final String kAXSortButtonSubrole = "AXSortButton";
-public static final String kAXSearchFieldSubrole = "AXSearchField";
-public static final String kAXApplicationDockItemSubrole = "AXApplicationDockItem";
-public static final String kAXDocumentDockItemSubrole = "AXDocumentDockItem";
-public static final String kAXFolderDockItemSubrole = "AXFolderDockItem";
-public static final String kAXMinimizedWindowDockItemSubrole= "AXMinimizedWindowDockItem";
-public static final String kAXURLDockItemSubrole = "AXURLDockItem";
-public static final String kAXDockExtraDockItemSubrole = "AXDockExtraDockItem";
-public static final String kAXTrashDockItemSubrole = "AXTrashDockItem";
-public static final String kAXProcessSwitcherListSubrole = "AXProcessSwitcherList";
-
-//General attributes
-public static final String kAXRoleAttribute = "AXRole";
-public static final String kAXSubroleAttribute = "AXSubrole";
-public static final String kAXRoleDescriptionAttribute = "AXRoleDescription";
-public static final String kAXHelpAttribute = "AXHelp";
-public static final String kAXTitleAttribute = "AXTitle";
-public static final String kAXValueAttribute = "AXValue";
-public static final String kAXMinValueAttribute = "AXMinValue";
-public static final String kAXMaxValueAttribute = "AXMaxValue";
-public static final String kAXValueIncrementAttribute = "AXValueIncrement";
-public static final String kAXAllowedValuesAttribute = "AXAllowedValues";
-public static final String kAXEnabledAttribute = "AXEnabled";
-public static final String kAXFocusedAttribute = "AXFocused";
-public static final String kAXParentAttribute = "AXParent";
-public static final String kAXChildrenAttribute = "AXChildren";
-public static final String kAXSelectedChildrenAttribute = "AXSelectedChildren";
-public static final String kAXVisibleChildrenAttribute = "AXVisibleChildren";
-public static final String kAXWindowAttribute = "AXWindow";
-public static final String kAXTopLevelUIElementAttribute = "AXTopLevelUIElement";
-public static final String kAXPositionAttribute = "AXPosition";
-public static final String kAXSizeAttribute = "AXSize";
-public static final String kAXOrientationAttribute = "AXOrientation";
-public static final String kAXDescriptionAttribute = "AXDescription";
-
-// Text-specific attributes
-public static final String kAXSelectedTextAttribute = "AXSelectedText";
-public static final String kAXVisibleCharacterRangeAttribute = "AXVisibleCharacterRange";
-public static final String kAXSelectedTextRangeAttribute = "AXSelectedTextRange";
-public static final String kAXNumberOfCharactersAttribute = "AXNumberOfCharacters";
-public static final String kAXSharedTextUIElementsAttribute = "AXSharedTextUIElements";
-public static final String kAXSharedCharacterRangeAttribute = "AXSharedCharacterRange";
-
-// Window-specific attributes
-public static final String kAXMainAttribute = "AXMain";
-public static final String kAXMinimizedAttribute = "AXMinimized";
-public static final String kAXCloseButtonAttribute = "AXCloseButton";
-public static final String kAXZoomButtonAttribute = "AXZoomButton";
-public static final String kAXMinimizeButtonAttribute = "AXMinimizeButton";
-public static final String kAXToolbarButtonAttribute = "AXToolbarButton";
-public static final String kAXGrowAreaAttribute = "AXGrowArea";
-public static final String kAXProxyAttribute = "AXProxy";
-public static final String kAXModalAttribute = "AXModal";
-public static final String kAXDefaultButtonAttribute = "AXDefaultButton";
-public static final String kAXCancelButtonAttribute = "AXCancelButton";
-
-// Menu-specific attributes
-public static final String kAXMenuItemCmdCharAttribute = "AXMenuItemCmdChar";
-public static final String kAXMenuItemCmdVirtualKeyAttribute = "AXMenuItemCmdVirtualKey";
-public static final String kAXMenuItemCmdGlyphAttribute = "AXMenuItemCmdGlyph";
-public static final String kAXMenuItemCmdModifiersAttribute = "AXMenuItemCmdModifiers";
-public static final String kAXMenuItemMarkCharAttribute = "AXMenuItemMarkChar";
-public static final String kAXMenuItemPrimaryUIElementAttribute = "AXMenuItemPrimaryUIElement";
-
-// Application-specific attributes
-public static final String kAXMenuBarAttribute = "AXMenuBar";
-public static final String kAXWindowsAttribute = "AXWindows";
-public static final String kAXFrontmostAttribute = "AXFrontmost";
-public static final String kAXHiddenAttribute = "AXHidden";
-public static final String kAXMainWindowAttribute = "AXMainWindow";
-public static final String kAXFocusedWindowAttribute = "AXFocusedWindow";
-public static final String kAXFocusedUIElementAttribute = "AXFocusedUIElement";
-
-// Miscellaneous attributes
-public static final String kAXHeaderAttribute = "AXHeader";
-public static final String kAXEditedAttribute = "AXEdited";
-public static final String kAXValueWrapsAttribute = "AXValueWraps";
-public static final String kAXTabsAttribute = "AXTabs";
-public static final String kAXTitleUIElementAttribute = "AXTitleUIElement";
-public static final String kAXHorizontalScrollBarAttribute = "AXHorizontalScrollBar";
-public static final String kAXVerticalScrollBarAttribute = "AXVerticalScrollBar";
-public static final String kAXOverflowButtonAttribute = "AXOverflowButton";
-public static final String kAXFilenameAttribute = "AXFilename";
-public static final String kAXExpandedAttribute = "AXExpanded";
-public static final String kAXSelectedAttribute = "AXSelected";
-public static final String kAXSplittersAttribute = "AXSplitters";
-public static final String kAXNextContentsAttribute = "AXNextContents";
-public static final String kAXDocumentAttribute = "AXDocument";
-public static final String kAXDecrementButtonAttribute = "AXDecrementButton";
-public static final String kAXIncrementButtonAttribute = "AXIncrementButton";
-public static final String kAXPreviousContentsAttribute = "AXPreviousContents";
-public static final String kAXContentsAttribute = "AXContents";
-public static final String kAXIncrementorAttribute = "AXIncrementor";
-public static final String kAXHourFieldAttribute = "AXHourField";
-public static final String kAXMinuteFieldAttribute = "AXMinuteField";
-public static final String kAXSecondFieldAttribute = "AXSecondField";
-public static final String kAXAMPMFieldAttribute = "AXAMPMField";
-public static final String kAXDayFieldAttribute = "AXDayField";
-public static final String kAXMonthFieldAttribute = "AXMonthField";
-public static final String kAXYearFieldAttribute = "AXYearField";
-public static final String kAXColumnTitleAttribute = "AXColumnTitles";
-public static final String kAXURLAttribute = "AXURL";
-public static final String kAXLabelUIElementsAttribute = "AXLabelUIElements";
-public static final String kAXLabelValueAttribute = "AXLabelValue";
-public static final String kAXShownMenuUIElementAttribute = "AXShownMenuUIElement";
-public static final String kAXServesAsTitleForUIElementsAttribute = "AXServesAsTitleForUIElements";
-public static final String kAXLinkedUIElementsAttribute = "AXLinkedUIElements";
-
-// Table and outline view attributes
-public static final String kAXRowsAttribute = "AXRows";
-public static final String kAXVisibleRowsAttribute = "AXVisibleRows";
-public static final String kAXSelectedRowsAttribute = "AXSelectedRows";
-public static final String kAXColumnsAttribute = "AXColumns";
-public static final String kAXVisibleColumnsAttribute = "AXVisibleColumns";
-public static final String kAXSelectedColumnsAttribute = "AXSelectedColumns";
-public static final String kAXSortDirectionAttribute = "AXSortDirection";
-public static final String kAXColumnHeaderUIElementsAttribute = "AXColumnHeaderUIElements";
-public static final String kAXIndexAttribute = "AXIndex";
-public static final String kAXDisclosingAttribute = "AXDisclosing";
-public static final String kAXDisclosedRowsAttribute = "AXDisclosedRows";
-public static final String kAXDisclosedByRowAttribute = "AXDisclosedByRow";
-
-// Matte attributes
-public static final String kAXMatteHoleAttribute = "AXMatteHole";
-public static final String kAXMatteContentUIElementAttribute = "AXMatteContentUIElement";
-
-// Dock attributes
-public static final String kAXIsApplicationRunningAttribute = "AXIsApplicationRunning";
-
-// System-wide attributes
-public static final String kAXFocusedApplicationAttribute = "AXFocusedApplication";
-
-// Text-suite parameterized attributes
-public static final String kAXLineForIndexParameterizedAttribute = "AXLineForIndex";
-public static final String kAXRangeForLineParameterizedAttribute = "AXRangeForLine";
-public static final String kAXStringForRangeParameterizedAttribute = "AXStringForRange";
-public static final String kAXRangeForPositionParameterizedAttribute = "AXRangeForPosition";
-public static final String kAXRangeForIndexParameterizedAttribute = "AXRangeForIndex";
-public static final String kAXBoundsForRangeParameterizedAttribute = "AXBoundsForRange";
-public static final String kAXRTFForRangeParameterizedAttribute = "AXRTFForRange";
-public static final String kAXAttributedStringForRangeParameterizedAttribute = "AXAttributedStringForRange";
-public static final String kAXStyleRangeForIndexParameterizedAttribute = "AXStyleRangeForIndex";
-public static final String kAXInsertionPointLineNumberAttribute = "AXInsertionPointLineNumber";
-
-// Accessibility actions.
-public static final String kAXPressAction = "AXPress";
-public static final String kAXIncrementAction = "AXIncrement";
-public static final String kAXDecrementAction = "AXDecrement";
-public static final String kAXConfirmAction = "AXConfirm";
-public static final String kAXCancelAction = "AXCancel";
-public static final String kAXRaiseAction = "AXRaise";
-public static final String kAXShowMenuAction = "AXShowMenu";
-
-// Focus notifications
-public static final String kAXMainWindowChangedNotification = "AXMainWindowChanged";
-public static final String kAXFocusedWindowChangedNotification = "AXFocusedWindowChanged";
-public static final String kAXFocusedUIElementChangedNotification = "AXFocusedUIElementChanged";
-
-// Application notifications
-public static final String kAXApplicationActivatedNotification = "AXApplicationActivated";
-public static final String kAXApplicationDeactivatedNotification = "AXApplicationDeactivated";
-public static final String kAXApplicationHiddenNotification = "AXApplicationHidden";
-public static final String kAXApplicationShownNotification = "AXApplicationShown";
-
-// Window notifications
-public static final String kAXWindowCreatedNotification = "AXWindowCreated";
-public static final String kAXWindowMovedNotification = "AXWindowMoved";
-public static final String kAXWindowResizedNotification = "AXWindowResized";
-public static final String kAXWindowMiniaturizedNotification = "AXWindowMiniaturized";
-public static final String kAXWindowDeminiaturizedNotification = "AXWindowDeminiaturized";
-
-// New drawer, sheet, and help tag notifications
-public static final String kAXDrawerCreatedNotification = "AXDrawerCreated";
-public static final String kAXSheetCreatedNotification = "AXSheetCreated";
-public static final String kAXHelpTagCreatedNotification = "AXHelpTagCreated";
-
-// Element notifications
-public static final String kAXValueChangedNotification = "AXValueChanged";
-public static final String kAXUIElementDestroyedNotification = "AXUIElementDestroyed";
-
-// Menu notifications
-public static final String kAXMenuOpenedNotification = "AXMenuOpened";
-public static final String kAXMenuClosedNotification = "AXMenuClosed";
-public static final String kAXMenuItemSelectedNotification = "AXMenuItemSelected";
-
-// Table and outline view notifications
-public static final String kAXRowCountChangedNotification = "AXRowCountChanged";
-
-// Miscellaneous notifications
-public static final String kAXSelectedChildrenChangedNotification = "AXSelectedChildrenChanged";
-public static final String kAXSelectedTextChangedNotification = "AXSelectedTextChanged";
-public static final String kAXResizedNotification = "AXResized";
-public static final String kAXMovedNotification = "AXMoved";
-public static final String kAXCreatedNotification = "AXCreated";
-
-// AXValue types
-public static final int kAXValueCFRangeType = 4;
-
-// AXValue Constants
-public static final String kAXAscendingSortDirectionValue = "AXAscendingSortDirection";
-public static final String kAXDescendingSortDirectionValue = "AXDescendingSortDirection";
-public static final String kAXHorizontalOrientationValue = "AXHorizontalOrientation";
-public static final String kAXUnknownOrientationValue = "AXUnknownOrientation";
-public static final String kAXUnknownSortDirectionValue = "AXUnknownSortDirection";
-public static final String kAXVerticalOrientationValue = "AXVerticalOrientation";
-
-// Error codes
-public static final int kAXErrorIllegalArgument = -25201;
-public static final int kAXErrorInvalidUIElement = -25202;
-public static final int kAXErrorInvalidUIElementObserver = -25203;
-public static final int kAXErrorCannotComplete = -25204;
-public static final int kAXErrorAttributeUnsupported = -25205;
-public static final int kAXErrorActionUnsupported = -25206;
-public static final int kAXErrorAPIDisabled = -25211;
-public static final int kAXErrorParameterizedAttributeUnsupported = -25213;
-
-
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/PMRect.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/PMRect.java
deleted file mode 100644
index 5473396b8d..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/PMRect.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2008 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class PMRect {
- /** @field cast=(double) */
- public double top;
- /** @field cast=(double) */
- public double left;
- /** @field cast=(double) */
- public double bottom;
- /** @field cast=(double) */
- public double right;
- public static final int sizeof = 32;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/PMResolution.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/PMResolution.java
deleted file mode 100644
index 4470700704..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/PMResolution.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003-2004 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class PMResolution {
- public double hRes;
- public double vRes;
- public static final int sizeof = 16;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/PixMap.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/PixMap.java
deleted file mode 100644
index 4380e48210..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/PixMap.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2008 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class PixMap extends BitMap {
- public short pmVersion;
- public short packType;
- public int packSize;
- public int hRes;
- public int vRes;
- public short pixelType;
- public short pixelSize;
- public short cmpCount;
- public short cmpSize;
- public int pixelFormat;
- /** @field cast=(CTabHandle) */
- public int pmTable;
- /** @field cast=(void *) */
- public int pmExt;
- public static final int sizeof = 50;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/Point.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/Point.java
deleted file mode 100644
index d9ec6c738d..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/Point.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003-2004 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class Point {
- public short v;
- public short h;
- public static final int sizeof = 4;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/ProgressTrackInfo.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/ProgressTrackInfo.java
deleted file mode 100644
index d4842f0fcb..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/ProgressTrackInfo.java
+++ /dev/null
@@ -1,19 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2005 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class ProgressTrackInfo {
- public byte phase;
- public static final int sizeof = 2;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/RGBColor.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/RGBColor.java
deleted file mode 100644
index 517ab62baa..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/RGBColor.java
+++ /dev/null
@@ -1,21 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003-2004 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class RGBColor {
- public short red;
- public short green;
- public short blue;
- public static final int sizeof = 6;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/Rect.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/Rect.java
deleted file mode 100644
index da67bb6a8e..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/Rect.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003-2004 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class Rect {
- public short top;
- public short left;
- public short bottom;
- public short right;
- public static final int sizeof = 8;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/ScrollBarTrackInfo.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/ScrollBarTrackInfo.java
deleted file mode 100644
index 6ca54f2eae..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/ScrollBarTrackInfo.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2005 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class ScrollBarTrackInfo {
- public int viewsize;
- public byte pressState;
- public static final int sizeof = 6;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/SliderTrackInfo.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/SliderTrackInfo.java
deleted file mode 100644
index 988e64751a..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/SliderTrackInfo.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2005 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class SliderTrackInfo {
- public byte thumbDir;
- public byte pressState;
- public static final int sizeof = 2;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/TXNBackground.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/TXNBackground.java
deleted file mode 100644
index 1828a59d41..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/TXNBackground.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2009 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class TXNBackground {
- public int bgType;
- /** @field accessor=bg.color.red */
- public short bg_red;
- /** @field accessor=bg.color.green */
- public short bg_green;
- /** @field accessor=bg.color.blue */
- public short bg_blue;
- public static final int sizeof = 10;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/TXNTab.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/TXNTab.java
deleted file mode 100644
index 039366784e..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/TXNTab.java
+++ /dev/null
@@ -1,21 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2005 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class TXNTab {
- public short value;
- public byte tabType;
- public byte filler;
- public static final int sizeof = 4;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/TextRange.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/TextRange.java
deleted file mode 100644
index 18a7404fdd..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/TextRange.java
+++ /dev/null
@@ -1,21 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003-2007 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class TextRange {
- public int fStart;
- public int fEnd;
- public short fHiliteStyle;
- public static final int sizeof = 10;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/ThemeButtonDrawInfo.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/ThemeButtonDrawInfo.java
deleted file mode 100644
index a8ecb14a0b..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/ThemeButtonDrawInfo.java
+++ /dev/null
@@ -1,24 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2009 IBM Corp.
- * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.carbon;
-
-
-public class ThemeButtonDrawInfo {
- /** @field cast=(ThemeDrawState) */
- public int state;
- /** @field cast=(ThemeButtonValue) */
- public short value;
- /** @field cast=(ThemeButtonAdornment) */
- public short adornment;
- public static final int sizeof = 8;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/cocoa/Cocoa.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/cocoa/Cocoa.java
deleted file mode 100755
index 78c3d07117..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/cocoa/Cocoa.java
+++ /dev/null
@@ -1,422 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2009 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.internal.cocoa;
-
-import org.eclipse.swt.internal.*;
-
-public class Cocoa extends Platform {
-
-static {
- Library.loadLibrary("swt-cocoa"); //$NON-NLS-1$
- WebInitForCarbon();
-}
-
-/* Objective-C class ids */
-public static final int C_NSHTTPCookie = Cocoa.objc_getClass("NSHTTPCookie"); //$NON-NLS-1$
-public static final int C_NSHTTPCookieStorage = Cocoa.objc_getClass("NSHTTPCookieStorage"); //$NON-NLS-1$
-public static final int C_NSNotificationCenter = Cocoa.objc_getClass("NSNotificationCenter"); //$NON-NLS-1$
-public static final int C_NSNumber = Cocoa.objc_getClass("NSNumber"); //$NON-NLS-1$
-public static final int C_NSURL = Cocoa.objc_getClass("NSURL"); //$NON-NLS-1$
-public static final int C_NSURLRequest = Cocoa.objc_getClass("NSURLRequest"); //$NON-NLS-1$
-public static final int C_NSURLCredential = Cocoa.objc_getClass("NSURLCredential"); //$NON-NLS-1$
-public static final int C_WebKitDelegate = Cocoa.objc_getClass("WebKitDelegate"); //$NON-NLS-1$
-public static final int C_WebDownload = Cocoa.objc_getClass("WebDownload"); //$NON-NLS-1$
-public static final int C_WebView = Cocoa.objc_getClass("WebView"); //$NON-NLS-1$
-public static final int C_NSStatusBar = Cocoa.objc_getClass("NSStatusBar"); //$NON-NLS-1$
-public static final int C_NSImage = Cocoa.objc_getClass("NSImage"); //$NON-NLS-1$
-public static final int C_NSGraphicsContext = Cocoa.objc_getClass("NSGraphicsContext"); //$NON-NLS-1$
-public static final int C_NSStatusItemImageView = Cocoa.objc_getClass("NSStatusItemImageView"); //$NON-NLS-1$
-public static final int C_NSApplication = Cocoa.objc_getClass("NSApplication"); //$NON-NLS-1$
-public static final int C_NSCursor = Cocoa.objc_getClass("NSCursor"); //$NON-NLS-1$
-public static final int C_NSWindow = Cocoa.objc_getClass("NSWindow"); //$NON-NLS-1$
-public static final int C_NSBitmapImageRep = Cocoa.objc_getClass("NSBitmapImageRep"); //$NON-NLS-1$
-public static final int C_NSImageView = Cocoa.objc_getClass("NSImageView"); //$NON-NLS-1$
-public static final int C_WebPreferences = Cocoa.objc_getClass("WebPreferences"); //$NON-NLS-1$
-public static final int C_NSBezierPath = Cocoa.objc_getClass("NSBezierPath"); //$NON-NLS-1$
-public static final int C_NSButton = Cocoa.objc_getClass("NSButton"); //$NON-NLS-1$
-public static final int C_NSObject = Cocoa.objc_getClass("NSObject"); //$NON-NLS-1$
-public static final int C_NSString = Cocoa.objc_getClass("NSString"); //$NON-NLS-1$
-public static final int C_NSMutableArray = Cocoa.objc_getClass("NSMutableArray"); //$NON-NLS-1$
-public static final int C_NSMutableDictionary = Cocoa.objc_getClass("NSMutableDictionary"); //$NON-NLS-1$
-public static final int C_WebPanelAuthenticationHandler = Cocoa.objc_getClass("WebPanelAuthenticationHandler"); //$NON-NLS-1$
-public static final int C_WebScriptObject = Cocoa.objc_getClass("WebScriptObject"); //$NON-NLS-1$
-public static final int C_WebUndefined = Cocoa.objc_getClass("WebUndefined"); //$NON-NLS-1$
-
-/* Objective-C method selectors */
-public static final int S_absoluteString = Cocoa.sel_registerName("absoluteString"); //$NON-NLS-1$
-public static final int S_addObserver_selector_name_object = Cocoa.sel_registerName("addObserver:selector:name:object:"); //$NON-NLS-1$
-public static final int S_addObject = Cocoa.sel_registerName("addObject:"); //$NON-NLS-1$
-public static final int S_alloc = Cocoa.sel_registerName("alloc"); //$NON-NLS-1$
-public static final int S_arrayWithCapacity = Cocoa.sel_registerName("arrayWithCapacity:"); //$NON-NLS-1$
-public static final int S_autorelease = Cocoa.sel_registerName("autorelease"); //$NON-NLS-1$
-public static final int S_boolValue = Cocoa.sel_registerName("boolValue"); //$NON-NLS-1$
-public static final int S_cancel = Cocoa.sel_registerName("cancel"); //$NON-NLS-1$
-public static final int S_cancelAuthenticationChallenge = Cocoa.sel_registerName("cancelAuthenticationChallenge:"); //$NON-NLS-1$
-public static final int S_canGoBack = Cocoa.sel_registerName("canGoBack"); //$NON-NLS-1$
-public static final int S_canGoForward = Cocoa.sel_registerName("canGoForward"); //$NON-NLS-1$
-public static final int S_canShowMIMEType = Cocoa.sel_registerName("canShowMIMEType:"); //$NON-NLS-1$
-public static final int S_chooseFilename = Cocoa.sel_registerName("chooseFilename:"); //$NON-NLS-1$
-public static final int S_compare = Cocoa.sel_registerName("compare:"); //$NON-NLS-1$
-public static final int S_cookies = Cocoa.sel_registerName("cookies"); //$NON-NLS-1$
-public static final int S_cookiesWithResponseHeaderFields = Cocoa.sel_registerName("cookiesWithResponseHeaderFields:forURL:"); //$NON-NLS-1$
-public static final int S_cookiesForURL = Cocoa.sel_registerName("cookiesForURL:"); //$NON-NLS-1$
-public static final int S_copy = Cocoa.sel_registerName("copy:"); //$NON-NLS-1$
-public static final int S_count = Cocoa.sel_registerName("count"); //$NON-NLS-1$
-public static final int S_credentialWithUser = Cocoa.sel_registerName("credentialWithUser:password:persistence:"); //$NON-NLS-1$
-public static final int S_cut = Cocoa.sel_registerName("cut:"); //$NON-NLS-1$
-public static final int S_dataSource = Cocoa.sel_registerName("dataSource"); //$NON-NLS-1$
-public static final int S_defaultCenter = Cocoa.sel_registerName("defaultCenter"); //$NON-NLS-1$
-public static final int S_deleteCookie = Cocoa.sel_registerName("deleteCookie:"); //$NON-NLS-1$
-public static final int S_dictionaryWithCapacity = Cocoa.sel_registerName("dictionaryWithCapacity:"); //$NON-NLS-1$
-public static final int S_documentSource = Cocoa.sel_registerName("documentSource"); //$NON-NLS-1$
-public static final int S_doubleValue = Cocoa.sel_registerName("doubleValue"); //$NON-NLS-1$
-public static final int S_download = Cocoa.sel_registerName("download"); //$NON-NLS-1$
-public static final int S_goBack = Cocoa.sel_registerName("goBack:"); //$NON-NLS-1$
-public static final int S_goForward = Cocoa.sel_registerName("goForward:"); //$NON-NLS-1$
-public static final int S_handleNotification = Cocoa.sel_registerName("handleNotification:"); //$NON-NLS-1$
-public static final int S_hasPassword = Cocoa.sel_registerName("hasPassword"); //$NON-NLS-1$
-public static final int S_host = Cocoa.sel_registerName("host"); //$NON-NLS-1$
-public static final int S_ignore = Cocoa.sel_registerName("ignore"); //$NON-NLS-1$
-public static final int S_initialRequest = Cocoa.sel_registerName("initialRequest"); //$NON-NLS-1$
-public static final int S_initWithFrame_frameName_groupName = Cocoa.sel_registerName("initWithFrame:frameName:groupName:"); //$NON-NLS-1$
-public static final int S_initWithProc = Cocoa.sel_registerName("initWithProc:user_data:"); //$NON-NLS-1$
-public static final int S_intValue = Cocoa.sel_registerName("intValue"); //$NON-NLS-1$
-public static final int S_isFileURL = Cocoa.sel_registerName("isFileURL"); //$NON-NLS-1$
-public static final int S_isKindOfClass = Cocoa.sel_registerName("isKindOfClass:"); //$NON-NLS-1$
-public static final int S_isSessionOnly = Cocoa.sel_registerName("isSessionOnly"); //$NON-NLS-1$
-public static final int S_loadHTMLStringbaseURL = Cocoa.sel_registerName("loadHTMLString:baseURL:"); //$NON-NLS-1$
-public static final int S_loadRequest = Cocoa.sel_registerName("loadRequest:"); //$NON-NLS-1$
-public static final int S_length = Cocoa.sel_registerName("length"); //$NON-NLS-1$
-public static final int S_mainFrame = Cocoa.sel_registerName("mainFrame"); //$NON-NLS-1$
-public static final int S_mainMenu = Cocoa.sel_registerName("mainMenu"); //$NON-NLS-1$
-public static final int S_mutableCopy = Cocoa.sel_registerName("mutableCopy"); //$NON-NLS-1$
-public static final int S_name = Cocoa.sel_registerName("name"); //$NON-NLS-1$
-public static final int S_numberWithBool = Cocoa.sel_registerName("numberWithBool:"); //$NON-NLS-1$
-public static final int S_numberWithDouble = Cocoa.sel_registerName("numberWithDouble:"); //$NON-NLS-1$
-public static final int S_numberWithInt = Cocoa.sel_registerName("numberWithInt:"); //$NON-NLS-1$
-public static final int S_objectAtIndex = Cocoa.sel_registerName("objectAtIndex:"); //$NON-NLS-1$
-public static final int S_pageTitle = Cocoa.sel_registerName("pageTitle"); //$NON-NLS-1$
-public static final int S_password = Cocoa.sel_registerName("password"); //$NON-NLS-1$
-public static final int S_paste = Cocoa.sel_registerName("paste:"); //$NON-NLS-1$
-public static final int S_port = Cocoa.sel_registerName("port"); //$NON-NLS-1$
-public static final int S_previousFailureCount = Cocoa.sel_registerName("previousFailureCount"); //$NON-NLS-1$
-public static final int S_proposedCredential = Cocoa.sel_registerName("proposedCredential"); //$NON-NLS-1$
-public static final int S_protectionSpace = Cocoa.sel_registerName("protectionSpace"); //$NON-NLS-1$
-public static final int S_provisionalDataSource = Cocoa.sel_registerName("provisionalDataSource"); //$NON-NLS-1$
-public static final int S_realm = Cocoa.sel_registerName("realm"); //$NON-NLS-1$
-public static final int S_release = Cocoa.sel_registerName("release"); //$NON-NLS-1$
-public static final int S_reload = Cocoa.sel_registerName("reload:"); //$NON-NLS-1$
-public static final int S_retain = Cocoa.sel_registerName("retain"); //$NON-NLS-1$
-public static final int S_removeObserver_name_object = Cocoa.sel_registerName("removeObserver:name:object:"); //$NON-NLS-1$
-public static final int S_removeObserver = Cocoa.sel_registerName("removeObserver:"); //$NON-NLS-1$
-public static final int S_representation = Cocoa.sel_registerName("representation"); //$NON-NLS-1$
-public static final int S_requestWithURL = Cocoa.sel_registerName("requestWithURL:"); //$NON-NLS-1$
-public static final int S_request = Cocoa.sel_registerName("request"); //$NON-NLS-1$
-public static final int S_retainCount = Cocoa.sel_registerName("retainCount"); //$NON-NLS-1$
-public static final int S_sender = Cocoa.sel_registerName("sender"); //$NON-NLS-1$
-public static final int S_setApplicationNameForUserAgent = Cocoa.sel_registerName("setApplicationNameForUserAgent:"); //$NON-NLS-1$
-public static final int S_setCachePolicy = Cocoa.sel_registerName("setCachePolicy:"); //$NON-NLS-1$
-public static final int S_setCookie = Cocoa.sel_registerName("setCookie:"); //$NON-NLS-1$
-public static final int S_setDestinationAllowOverwrite = Cocoa.sel_registerName("setDestination:allowOverwrite:"); //$NON-NLS-1$
-public static final int S_setDownloadDelegate = Cocoa.sel_registerName("setDownloadDelegate:"); //$NON-NLS-1$
-public static final int S_setFrameLoadDelegate = Cocoa.sel_registerName("setFrameLoadDelegate:"); //$NON-NLS-1$
-public static final int S_setGroupName = Cocoa.sel_registerName("setGroupName:"); //$NON-NLS-1$
-public static final int S_setJavaEnabled = Cocoa.sel_registerName("setJavaEnabled:"); //$NON-NLS-1$
-public static final int S_setJavaScriptEnabled = Cocoa.sel_registerName("setJavaScriptEnabled:"); //$NON-NLS-1$
-public static final int S_setMainMenu = Cocoa.sel_registerName("setMainMenu:"); //$NON-NLS-1$
-public static final int S_setPolicyDelegate = Cocoa.sel_registerName("setPolicyDelegate:"); //$NON-NLS-1$
-public static final int S_setResourceLoadDelegate = Cocoa.sel_registerName("setResourceLoadDelegate:"); //$NON-NLS-1$
-public static final int S_setStatusText = Cocoa.sel_registerName("setStatusText:"); //$NON-NLS-1$
-public static final int S_setUIDelegate = Cocoa.sel_registerName("setUIDelegate:"); //$NON-NLS-1$
-public static final int S_sharedApplication = Cocoa.sel_registerName("sharedApplication"); //$NON-NLS-1$
-public static final int S_sharedHTTPCookieStorage = Cocoa.sel_registerName("sharedHTTPCookieStorage"); //$NON-NLS-1$
-public static final int S_sharedHandler = Cocoa.sel_registerName("sharedHandler"); //$NON-NLS-1$
-public static final int S_standardPreferences = Cocoa.sel_registerName("standardPreferences"); //$NON-NLS-1$
-public static final int S_startAuthentication = sel_registerName("startAuthentication:window:"); //$NON-NLS-1$
-public static final int S_stopLoading = Cocoa.sel_registerName("stopLoading:"); //$NON-NLS-1$
-public static final int S_stringByEvaluatingJavaScriptFromString = Cocoa.sel_registerName("stringByEvaluatingJavaScriptFromString:"); //$NON-NLS-1$
-public static final int S_takeStringURLFrom = Cocoa.sel_registerName("takeStringURLFrom:"); //$NON-NLS-1$
-public static final int S_undefined = Cocoa.sel_registerName("undefined"); //$NON-NLS-1$
-public static final int S_use = Cocoa.sel_registerName("use"); //$NON-NLS-1$
-public static final int S_user = Cocoa.sel_registerName("user"); //$NON-NLS-1$
-public static final int S_useCredential = Cocoa.sel_registerName("useCredential:forAuthenticationChallenge:"); //$NON-NLS-1$
-public static final int S_valueForKey = Cocoa.sel_registerName("valueForKey:"); //$NON-NLS-1$
-public static final int S_webFrame = Cocoa.sel_registerName("webFrame"); //$NON-NLS-1$
-public static final int S_URL = Cocoa.sel_registerName("URL"); //$NON-NLS-1$
-public static final int S_URLWithString = Cocoa.sel_registerName("URLWithString:"); //$NON-NLS-1$
-public static final int S_fileURLWithPath = Cocoa.sel_registerName("fileURLWithPath:"); //$NON-NLS-1$
-public static final int S_systemStatusBar = Cocoa.sel_registerName("systemStatusBar"); //$NON-NLS-1$
-public static final int S_statusItemWithLength = Cocoa.sel_registerName("statusItemWithLength:"); //$NON-NLS-1$
-public static final int S_setTitle = Cocoa.sel_registerName("setTitle:"); //$NON-NLS-1$
-public static final int S_setHighlightMode = Cocoa.sel_registerName("setHighlightMode:"); //$NON-NLS-1$
-public static final int S_setToolTip = Cocoa.sel_registerName("setToolTip:"); //$NON-NLS-1$
-public static final int S_setImage = Cocoa.sel_registerName("setImage:"); //$NON-NLS-1$
-public static final int S_removeStatusItem = Cocoa.sel_registerName("removeStatusItem:"); //$NON-NLS-1$
-public static final int S_initWithSize = Cocoa.sel_registerName("initWithSize:"); //$NON-NLS-1$
-public static final int S_initWithFrame = Cocoa.sel_registerName("initWithFrame:"); //$NON-NLS-1$
-public static final int S_initWithProc_frame_user_data = Cocoa.sel_registerName("initWithProc:frame:user_data:"); //$NON-NLS-1$
-public static final int S_lockFocus = Cocoa.sel_registerName("lockFocus"); //$NON-NLS-1$
-public static final int S_unlockFocus = Cocoa.sel_registerName("unlockFocus"); //$NON-NLS-1$
-public static final int S_currentContext = Cocoa.sel_registerName("currentContext"); //$NON-NLS-1$
-public static final int S_graphicsPort = Cocoa.sel_registerName("graphicsPort"); //$NON-NLS-1$
-public static final int S_setLength = Cocoa.sel_registerName("setLength:"); //$NON-NLS-1$
-public static final int S_view = Cocoa.sel_registerName("view"); //$NON-NLS-1$
-public static final int S_setView = Cocoa.sel_registerName("setView:"); //$NON-NLS-1$
-public static final int S_clickCount = Cocoa.sel_registerName("clickCount"); //$NON-NLS-1$
-public static final int S_drawStatusBarBackgroundInRect_withHighlight = Cocoa.sel_registerName("drawStatusBarBackgroundInRect:withHighlight:"); //$NON-NLS-1$
-public static final int S_drawRect = Cocoa.sel_registerName("drawRect:"); //$NON-NLS-1$
-public static final int S_setNeedsDisplay = Cocoa.sel_registerName("setNeedsDisplay:"); //$NON-NLS-1$
-public static final int S_initWithImage_hotSpot = Cocoa.sel_registerName("initWithImage:hotSpot:"); //$NON-NLS-1$
-public static final int S_set = Cocoa.sel_registerName("set"); //$NON-NLS-1$
-public static final int S_init = Cocoa.sel_registerName("init"); //$NON-NLS-1$
-public static final int S_frame = Cocoa.sel_registerName("frame"); //$NON-NLS-1$
-public static final int S_window = Cocoa.sel_registerName("window"); //$NON-NLS-1$
-public static final int S_makeKeyWindow = Cocoa.sel_registerName("makeKeyWindow"); //$NON-NLS-1$
-public static final int S_addRepresentation = Cocoa.sel_registerName("addRepresentation:"); //$NON-NLS-1$
-public static final int S_initWithBitmapDataPlanes = Cocoa.sel_registerName("initWithBitmapDataPlanes:pixelsWide:pixelsHigh:bitsPerSample:samplesPerPixel:hasAlpha:isPlanar:colorSpaceName:bitmapFormat:bytesPerRow:bitsPerPixel:"); //$NON-NLS-1$
-public static final int S_bitmapData = Cocoa.sel_registerName("bitmapData"); //$NON-NLS-1$
-public static final int S_modifierFlags = Cocoa.sel_registerName("modifierFlags"); //$NON-NLS-1$
-public static final int S_bezierPath = Cocoa.sel_registerName("bezierPath"); //$NON-NLS-1$
-public static final int S_bezierPathByFlatteningPath = Cocoa.sel_registerName("bezierPathByFlatteningPath");
-public static final int S_moveToPoint = Cocoa.sel_registerName("moveToPoint:"); //$NON-NLS-1$
-public static final int S_lineToPoint = Cocoa.sel_registerName("lineToPoint:"); //$NON-NLS-1$
-public static final int S_curveToPoint = Cocoa.sel_registerName("curveToPoint:controlPoint1:controlPoint2:"); //$NON-NLS-1$
-public static final int S_closePath = Cocoa.sel_registerName("closePath"); //$NON-NLS-1$
-public static final int S_elementCount = Cocoa.sel_registerName("elementCount"); //$NON-NLS-1$
-public static final int S_elementAtIndex_associatedPoints = Cocoa.sel_registerName("elementAtIndex:associatedPoints:"); //$NON-NLS-1$
-public static final int S_setFlatness = Cocoa.sel_registerName("setFlatness:"); //$NON-NLS-1$
-public static final int S_setDefaultFlatness = Cocoa.sel_registerName("setDefaultFlatness:"); //$NON-NLS-1$
-public static final int S_convertRect_toView = Cocoa.sel_registerName("convertRect:toView:"); //$NON-N/LS-1$
-public static final int S_addEventListener = Cocoa.sel_registerName("addEventListener:::"); //$NON-NLS-1$
-public static final int S_altKey = Cocoa.sel_registerName("altKey"); //$NON-NLS-1$
-public static final int S_button = Cocoa.sel_registerName("button"); //$NON-NLS-1$
-public static final int S_charCode = Cocoa.sel_registerName("charCode"); //$NON-NLS-1$
-public static final int S_clientX = Cocoa.sel_registerName("clientX"); //$NON-NLS-1$
-public static final int S_clientY = Cocoa.sel_registerName("clientY"); //$NON-NLS-1$
-public static final int S_ctrlKey = Cocoa.sel_registerName("ctrlKey"); //$NON-NLS-1$
-public static final int S_detail = Cocoa.sel_registerName("detail"); //$NON-NLS-1$
-public static final int S_DOMDocument = Cocoa.sel_registerName("DOMDocument"); //$NON-NLS-1$
-public static final int S_keyCode = Cocoa.sel_registerName("keyCode"); //$NON-NLS-1$
-public static final int S_metaKey = Cocoa.sel_registerName("metaKey"); //$NON-NLS-1$
-public static final int S_preventDefault = Cocoa.sel_registerName("preventDefault"); //$NON-NLS-1$
-public static final int S_relatedTarget = Cocoa.sel_registerName("relatedTarget"); //$NON-NLS-1$;
-public static final int S_shiftKey = Cocoa.sel_registerName("shiftKey"); //$NON-NLS-1$
-public static final int S_type = Cocoa.sel_registerName("type"); //$NON-NLS-1$
-public static final int S_wheelDelta = Cocoa.sel_registerName("wheelDelta"); //$NON-NLS-1$
-public static final int S_setValue = Cocoa.sel_registerName("setValue:forKey:"); //$NON-NLS-1$
-public static final int S_webScriptValueAtIndex = Cocoa.sel_registerName("webScriptValueAtIndex:"); //$NON-NLS-1$
-public static final int S_getCharacters_ = Cocoa.sel_registerName("getCharacters:"); //$NON-NLS-1$
-public static final int S_objCType = Cocoa.sel_registerName("objCType"); //$NON-NLS-1$
-public static final int S_setPreferences = Cocoa.sel_registerName("setPreferences:"); //$NON-NLS-1$
-public static final int S_value = Cocoa.sel_registerName("value"); //$NON-NLS-1$
-
-public static final int NSAlphaFirstBitmapFormat = 1 << 0;
-public static final int NSAlphaNonpremultipliedBitmapFormat = 1 << 1;
-public static final int NSControlKeyMask = 1 << 18;
-public static final int NSDeviceIndependentModifierFlagsMask = 0xffff0000;
-
-public static final int NSMoveToBezierPathElement = 0;
-public static final int NSLineToBezierPathElement = 1;
-public static final int NSCurveToBezierPathElement = 2;
-public static final int NSClosePathBezierPathElement = 3;
-
-public static final int NSOrderedSame = 0;
-
-public static final int NSURLCredentialPersistenceForSession = 1;
-public static final int NSURLRequestReloadIgnoringLocalCacheData = 1;
-
-public static final int NSAllDomainsMask = 0xffff;
-public static final int NSDesktopDirectory = 12;
-public static final int NSDocumentDirectory = 9;
-public static final int NSDownloadsDirectory = 15;
-
-/* WebKit */
-/** @param outView cast=(HIViewRef *) */
-public static final native int HIWebViewCreate(int[] outView);
-/** @param inView cast=(HIViewRef) */
-public static final native int HIWebViewGetWebView(int inView);
-public static final native void WebInitForCarbon();
-
-/* Embed NSView in HIView */
-/** @method flags=no_gen */
-public static final native int HIJavaViewCreateWithCocoaView(int[] hiview, int nsview);
-/** @method flags=dynamic */
-public static final native int HICocoaViewCreate(int nsview, int options, int[] hiview);
-
-/* OBJ-C runtime primitives */
-/**
- * @param method cast=(Method)
- * @param aClass cast=(Class)
- * @param aSelector cast=(SEL)
- */
-public static final native int /*long*/ class_getClassMethod(int /*long*/ aClass, int /*long*/ aSelector);
-/** @param className cast=(const char *) */
-public static final native int objc_getClass(byte[] className);
-/** @param className cast=(const char *) */
-public static final native int objc_getMetaClass(byte[] className);
-/**
- * @param object cast=(id)
- * @param selector cast=(SEL)
- */
-public static final native int objc_msgSend(int object, int selector);
-/**
- * @param object cast=(id)
- * @param selector cast=(SEL)
- */
-public static final native int objc_msgSend(int object, int selector, int arg0);
-/**
- * @method flags=cast
- * @param object cast=(id)
- * @param selector cast=(SEL)
- */
-public static final native int objc_msgSend(int object, int selector, float arg0);
-/**
- * @method flags=cast
- * @param object cast=(id)
- * @param selector cast=(SEL)
- */
-public static final native int objc_msgSend(int object, int selector, double arg0);
-/** @method flags=cast */
-public static final native int objc_msgSend(int object, int selector, char[] arg0);
-/**
- * @method flags=cast
- * @param object cast=(id)
- * @param selector cast=(SEL)
- */
-public static final native int objc_msgSend(int object, int selector, float arg0, float arg1);
-/**
- * @param object cast=(id)
- * @param selector cast=(SEL)
- * @param arg0 flags=struct
- */
-public static final native int objc_msgSend(int object, int selector, NSSize arg0);
-/**
- * @param object cast=(id)
- * @param selector cast=(SEL)
- * @param arg0 flags=struct
- */
-public static final native int objc_msgSend(int object, int selector, NSRect arg0);
-/**
- * @param object cast=(id)
- * @param selector cast=(SEL)
- * @param arg0 flags=struct
- */
-public static final native int objc_msgSend(int object, int selector, NSRect arg0, int arg1, int arg2);
-/**
- * @param object cast=(id)
- * @param selector cast=(SEL)
- * @param arg1 flags=struct
- */
-public static final native int objc_msgSend(int object, int selector, int arg0, NSRect arg1, int arg2);
-/**
- * @param object cast=(id)
- * @param selector cast=(SEL)
- * @param arg0 flags=struct
- */
-public static final native int objc_msgSend(int object, int selector, NSRect arg0, int arg1);
-/**
- * @param object cast=(id)
- * @param selector cast=(SEL)
- * @param arg0 flags=struct
- */
-public static final native int objc_msgSend(int object, int selector, NSPoint arg0, int arg1);
-/**
- * @param object cast=(id)
- * @param selector cast=(SEL)
- * @param arg1 flags=struct
- */
-public static final native int objc_msgSend(int object, int selector, int arg0, NSPoint arg1);
-/**
- * @param object cast=(id)
- * @param selector cast=(SEL)
- * @param arg0 flags=struct
- */
-public static final native int objc_msgSend(int object, int selector, NSPoint arg0);
-/**
- * @param object cast=(id)
- * @param selector cast=(SEL)
- * @param arg0 flags=struct
- * @param arg1 flags=struct
- * @param arg2 flags=struct
- */
-public static final native int objc_msgSend(int object, int selector, NSPoint arg0, NSPoint arg1, NSPoint arg2);
-/**
- * @param object cast=(id)
- * @param selector cast=(SEL)
- */
-public static final native int objc_msgSend(int object, int selector, int arg0, int arg1);
-/**
- * @param object cast=(id)
- * @param selector cast=(SEL)
- */
-public static final native int objc_msgSend(int object, int selector, int arg0, int arg1, int arg2);
-/**
- * @param object cast=(id)
- * @param selector cast=(SEL)
- */
-public static final native int objc_msgSend(int object, int selector, int arg0, int arg1, int arg2, int arg3);
-/**
- * @param object cast=(id)
- * @param selector cast=(SEL)
- */
-public static final native int objc_msgSend(int object, int selector, int[] arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, int arg10);
-/** @method flags=cast */
-public static final native double objc_msgSend_fpret(int /*long*/ id, int /*long*/ sel);
-/**
- * @param result cast=(void *)
- * @param object cast=(void *)
- * @param selector cast=(SEL)
- */
-public static final native void objc_msgSend_stret(NSRect result, int object, int selector);
-/**
- * @param result cast=(void *)
- * @param object cast=(void *)
- * @param selector cast=(SEL)
- * @param arg0 flags=struct
- */
-public static final native void objc_msgSend_stret(NSRect result, int object, int selector, NSRect arg0, int arg1);
-/** @param selectorName cast=(const char *) */
-public static final native int sel_registerName(byte[] selectorName);
-
-/** @method flags=const */
-public static final native int NSDeviceRGBColorSpace();
-/**
- * @param directory cast=(NSSearchPathDirectory)
- * @param domainMask cast=(NSSearchPathDomainMask)
- * @param expandTilde cast=(BOOL)
- */
-public static final native int NSSearchPathForDirectoriesInDomains(int directory, int domainMask, boolean expandTilde);
-
-/** @param src cast=(void *) */
-public static final native void memcpy(NSRect dest, int src, int size);
-/** @param src cast=(void *) */
-public static final native void memmove(NSPoint dest, int src, int size);
-
-static byte [] ascii (String name) {
- int length = name.length ();
- char [] chars = new char [length];
- name.getChars (0, length, chars, 0);
- byte [] buffer = new byte [length + 1];
- for (int i=0; i<length; i++) {
- buffer [i] = (byte) chars [i];
- }
- return buffer;
-}
-
-static int sel_registerName(String selector) {
- return Cocoa.sel_registerName(ascii(selector));
-}
-
-static int objc_getClass(String className) {
- return Cocoa.objc_getClass(ascii(className));
-}
-
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/cocoa/NSPoint.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/cocoa/NSPoint.java
deleted file mode 100644
index d670518f17..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/cocoa/NSPoint.java
+++ /dev/null
@@ -1,19 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003-2006 IBM Corp.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.cocoa;
-
-
-public class NSPoint {
- public float x;
- public float y;
- public static final int sizeof = 8;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/cocoa/NSRect.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/cocoa/NSRect.java
deleted file mode 100644
index cb30cb91ad..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/cocoa/NSRect.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003, 2008 IBM Corp.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.cocoa;
-
-
-public class NSRect {
- /** @field accessor=origin.x */
- public float x;
- /** @field accessor=origin.y */
- public float y;
- /** @field accessor=size.width */
- public float width;
- /** @field accessor=size.height */
- public float height;
- public static final int sizeof = 16;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/cocoa/NSSize.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/cocoa/NSSize.java
deleted file mode 100755
index a9b2d3150b..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/cocoa/NSSize.java
+++ /dev/null
@@ -1,19 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2003-2006 IBM Corp.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- **********************************************************************/
-package org.eclipse.swt.internal.cocoa;
-
-
-public class NSSize {
- public float width;
- public float height;
- public static final int sizeof = 8;
-}