summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGrant Gayed <ggayed>2007-01-25 20:50:17 +0000
committerGrant Gayed <ggayed>2007-01-25 20:50:17 +0000
commite5676bdd23ef2418b2c1a4b78f20196d5b2e2255 (patch)
tree9a849cb9086075b236bc1945d5efc9c571d2c46f
parent3b99367927f1f4165e39b6cac9cc8dbad6bf1815 (diff)
downloadeclipse.platform.swt-e5676bdd23ef2418b2c1a4b78f20196d5b2e2255.tar.gz
eclipse.platform.swt-e5676bdd23ef2418b2c1a4b78f20196d5b2e2255.tar.xz
eclipse.platform.swt-e5676bdd23ef2418b2c1a4b78f20196d5b2e2255.zip
*** empty log message ***
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c16
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.c5
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.h1
3 files changed, 2 insertions, 20 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c
index d77e22a739..57f412ddfc 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c
@@ -16533,22 +16533,6 @@ JNIEXPORT void JNICALL OS_NATIVE(g_1main_1context_1wakeup)
}
#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_localeconv_1decimal_1point
JNIEXPORT jint JNICALL OS_NATIVE(localeconv_1decimal_1point)
(JNIEnv *env, jclass that)
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.c b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.c
index c08936bc41..656bf8ba35 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.c
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.c
@@ -18,8 +18,8 @@
#ifdef NATIVE_STATS
-int OS_nativeFunctionCount = 1203;
-int OS_nativeFunctionCallCount[1203];
+int OS_nativeFunctionCount = 1202;
+int OS_nativeFunctionCallCount[1202];
char * OS_nativeFunctionNames[] = {
"Call",
"GDK_1EVENT_1TYPE",
@@ -1168,7 +1168,6 @@ char * OS_nativeFunctionNames[] = {
"_1pango_1tab_1array_1new",
"_1pango_1tab_1array_1set_1tab",
"g_1main_1context_1wakeup",
- "getenv",
"localeconv_1decimal_1point",
"memmove__ILorg_eclipse_swt_internal_gtk_GInterfaceInfo_2I",
"memmove__ILorg_eclipse_swt_internal_gtk_GObjectClass_2",
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.h b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.h
index 87ede7027c..b74f8bc5e7 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.h
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.h
@@ -1172,7 +1172,6 @@ typedef enum {
_1pango_1tab_1array_1new_FUNC,
_1pango_1tab_1array_1set_1tab_FUNC,
g_1main_1context_1wakeup_FUNC,
- getenv_FUNC,
localeconv_1decimal_1point_FUNC,
memmove__ILorg_eclipse_swt_internal_gtk_GInterfaceInfo_2I_FUNC,
memmove__ILorg_eclipse_swt_internal_gtk_GObjectClass_2_FUNC,