summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT PI/motif/library/swt.c
diff options
context:
space:
mode:
authorSilenio Quarti <silenio>2002-03-20 22:53:36 +0000
committerSilenio Quarti <silenio>2002-03-20 22:53:36 +0000
commitdae663fa933f82d8b938bfe25580f40679e44d5e (patch)
tree2e62273918656b206bbacbd1241b32d42bccbb3a /bundles/org.eclipse.swt/Eclipse SWT PI/motif/library/swt.c
parent5a60d809534929569f714364d659387f91f42ebe (diff)
downloadeclipse.platform.swt-dae663fa933f82d8b938bfe25580f40679e44d5e.tar.gz
eclipse.platform.swt-dae663fa933f82d8b938bfe25580f40679e44d5e.tar.xz
eclipse.platform.swt-dae663fa933f82d8b938bfe25580f40679e44d5e.zip
fd_set sizeof
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/motif/library/swt.c')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/motif/library/swt.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/motif/library/swt.c b/bundles/org.eclipse.swt/Eclipse SWT PI/motif/library/swt.c
index 06417601cd..7adeb4cb6e 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/motif/library/swt.c
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/motif/library/swt.c
@@ -8195,6 +8195,7 @@ JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_motif_OS_write
* Method: FD_SETSIZE
* Signature: ()I
*/
+/*
JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_motif_OS_FD_1SETSIZE
(JNIEnv *env, jclass that)
{
@@ -8204,12 +8205,14 @@ JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_motif_OS_FD_1SETSIZE
return FD_SETSIZE;
}
+*/
/*
* Class: org_eclipse_swt_internal_motif_OS
* Method: NFDBITS
* Signature: ()I
*/
+/*
JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_motif_OS_NFDBITS
(JNIEnv *env, jclass that)
{
@@ -8219,6 +8222,17 @@ JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_motif_OS_NFDBITS
return NFDBITS;
}
+*/
+
+JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_motif_OS_fd_1set_1sizeof
+ (JNIEnv *env, jclass that)
+{
+#ifdef DEBUG_CALL_PRINTS
+ fprintf(stderr, "NFDBITS\n");
+#endif
+
+ return sizeof(fd_set);
+}
/*
* Class: org_eclipse_swt_internal_motif_OS