Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlain Magloire2004-11-16 15:53:51 -0500
committerAlain Magloire2004-11-16 15:53:51 -0500
commit659d2c4384a1e93ef06b6e9d0721afdb0e997c13 (patch)
tree3034acb3a3ad263987a2221535799a0c92363fb7 /core/org.eclipse.cdt.core.win32/library
parent580b6dfb456a3b3a8480c87cfe6cdea48ae0f29c (diff)
downloadorg.eclipse.cdt-659d2c4384a1e93ef06b6e9d0721afdb0e997c13.tar.gz
org.eclipse.cdt-659d2c4384a1e93ef06b6e9d0721afdb0e997c13.tar.xz
org.eclipse.cdt-659d2c4384a1e93ef06b6e9d0721afdb0e997c13.zip
2004-11-16 Alain Magloire
Update the library interface to changes in java from Spawner * library/Spawner.h * Win32ProcessEx.c * os/win32/x86/spawner.dll
Diffstat (limited to 'core/org.eclipse.cdt.core.win32/library')
-rw-r--r--core/org.eclipse.cdt.core.win32/library/Spawner.h3
-rw-r--r--core/org.eclipse.cdt.core.win32/library/Win32ProcessEx.c7
2 files changed, 10 insertions, 0 deletions
diff --git a/core/org.eclipse.cdt.core.win32/library/Spawner.h b/core/org.eclipse.cdt.core.win32/library/Spawner.h
index 400452b4d5..47f33dcf85 100644
--- a/core/org.eclipse.cdt.core.win32/library/Spawner.h
+++ b/core/org.eclipse.cdt.core.win32/library/Spawner.h
@@ -37,6 +37,9 @@ JNIEXPORT jint JNICALL Java_org_eclipse_cdt_utils_spawner_Spawner_exec0
JNIEXPORT jint JNICALL Java_org_eclipse_cdt_utils_spawner_Spawner_exec1
(JNIEnv *, jobject, jobjectArray, jobjectArray, jstring);
+JNIEXPORT jint JNICALL Java_org_eclipse_cdt_utils_spawner_Spawner_exec2
+ (JNIEnv * env, jobject process, jobjectArray cmdarray, jobjectArray envp, jstring dir, jintArray channels, jstring slaveName, jint fdm);
+
/*
* Class: org_eclipse_cdt_utils_spawner_Spawner
* Method: raise
diff --git a/core/org.eclipse.cdt.core.win32/library/Win32ProcessEx.c b/core/org.eclipse.cdt.core.win32/library/Win32ProcessEx.c
index 2732d2e0fd..c7e30b2bbd 100644
--- a/core/org.eclipse.cdt.core.win32/library/Win32ProcessEx.c
+++ b/core/org.eclipse.cdt.core.win32/library/Win32ProcessEx.c
@@ -96,6 +96,13 @@ static int nCounter = 0; // We use it to build unique synchronisation object nam
// [in] dir - working directory
// [out] channels - streams handlers
/////////////////////////////////////////////////////////////////////////////////////
+
+JNIEXPORT jint JNICALL Java_org_eclipse_cdt_utils_spawner_Spawner_exec2
+ (JNIEnv * env, jobject process, jobjectArray cmdarray, jobjectArray envp, jstring dir, jintArray channels, jstring slaveName, jint fdm)
+{
+ return -1;
+}
+
JNIEXPORT jint JNICALL Java_org_eclipse_cdt_utils_spawner_Spawner_exec0
(JNIEnv * env, jobject process, jobjectArray cmdarray, jobjectArray envp, jstring dir, jintArray channels)
{

Back to the top