From 659d2c4384a1e93ef06b6e9d0721afdb0e997c13 Mon Sep 17 00:00:00 2001 From: Alain Magloire Date: Tue, 16 Nov 2004 20:53:51 +0000 Subject: 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 --- core/org.eclipse.cdt.core.win32/library/Spawner.h | 3 +++ core/org.eclipse.cdt.core.win32/library/Win32ProcessEx.c | 7 +++++++ 2 files changed, 10 insertions(+) (limited to 'core/org.eclipse.cdt.core.win32/library') diff --git a/core/org.eclipse.cdt.core.win32/library/Spawner.h b/core/org.eclipse.cdt.core.win32/library/Spawner.h index 400452b4d5b..47f33dcf85a 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 2732d2e0fd2..c7e30b2bbd5 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) { -- cgit v1.2.3