Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Northover2007-01-25 17:27:07 +0000
committerSteve Northover2007-01-25 17:27:07 +0000
commit3013182257cfdf630893596e054ab98e6dcdd774 (patch)
treeeca003f2c05aadbe5cbc7e040a7e1c1ed91bb424 /bundles
parenta8ea2776d293f0d606550f5af6c7c04e7caea86e (diff)
downloadeclipse.platform.swt-3013182257cfdf630893596e054ab98e6dcdd774.tar.gz
eclipse.platform.swt-3013182257cfdf630893596e054ab98e6dcdd774.tar.xz
eclipse.platform.swt-3013182257cfdf630893596e054ab98e6dcdd774.zip
add focusPart() and search field natives
Diffstat (limited to 'bundles')
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.carbon.OS.properties3
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os.c16
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os_stats.c5
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os_stats.h1
4 files changed, 2 insertions, 23 deletions
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.carbon.OS.properties b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.carbon.OS.properties
index b3cef079e8..4f34f6ae63 100644
--- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.carbon.OS.properties
+++ b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.carbon.OS.properties
@@ -4695,9 +4695,6 @@ OS_ZoomWindowIdeal_2=cast=(Point *)
OS___BIG_ENDIAN__=flags=no_gen
-OS_getenv=
-OS_getenv_0=cast=(const char *)
-
OS_getpid=
OS_kCFNumberFormatterDecimalSeparator=flags=const
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
index 1773d07a71..70b2531f43 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os.c
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os.c
@@ -12718,22 +12718,6 @@ fail:
}
#endif
-#ifndef NO_getenv
-JNIEXPORT jint JNICALL OS_NATIVE(getenv)
- (JNIEnv *env, jclass that, jbyteArray arg0)
-{
- jbyte *lparg0=NULL;
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, getenv_FUNC);
- if (arg0) if ((lparg0 = (*env)->GetByteArrayElements(env, arg0, NULL)) == NULL) goto fail;
- rc = (jint)getenv((const char *)lparg0);
-fail:
- if (arg0 && lparg0) (*env)->ReleaseByteArrayElements(env, arg0, lparg0, 0);
- OS_NATIVE_EXIT(env, that, getenv_FUNC);
- return rc;
-}
-#endif
-
#ifndef NO_getpid
JNIEXPORT jint JNICALL OS_NATIVE(getpid)
(JNIEnv *env, jclass that)
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
index 7d43f56efc..f081fddef3 100644
--- 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
@@ -14,8 +14,8 @@
#ifdef NATIVE_STATS
-int OS_nativeFunctionCount = 935;
-int OS_nativeFunctionCallCount[935];
+int OS_nativeFunctionCount = 934;
+int OS_nativeFunctionCallCount[934];
char * OS_nativeFunctionNames[] = {
"AECountItems",
"AEGetNthPtr",
@@ -911,7 +911,6 @@ char * OS_nativeFunctionNames[] = {
"X2Fix",
"ZoomWindowIdeal",
"_1_1BIG_1ENDIAN_1_1",
- "getenv",
"getpid",
"kCFNumberFormatterDecimalSeparator",
"kFontPanelAttributeSizesKey",
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
index 6be3281afd..b0e358d733 100644
--- 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
@@ -915,7 +915,6 @@ typedef enum {
X2Fix_FUNC,
ZoomWindowIdeal_FUNC,
_1_1BIG_1ENDIAN_1_1_FUNC,
- getenv_FUNC,
getpid_FUNC,
kCFNumberFormatterDecimalSeparator_FUNC,
kFontPanelAttributeSizesKey_FUNC,

Back to the top