Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Niefer2007-04-23 10:58:45 -0400
committerAndrew Niefer2007-04-23 10:58:45 -0400
commit17d90b94c504f35214623e1382c1a85b79d0bae9 (patch)
treeff8b6f6835d3a71f87786519cafae604bf41d056 /bundles/org.eclipse.equinox.executable/library/eclipseOS.h
parent89f7944a131d088a1ab5eab96a7a971505b346d0 (diff)
downloadrt.equinox.framework-17d90b94c504f35214623e1382c1a85b79d0bae9.tar.gz
rt.equinox.framework-17d90b94c504f35214623e1382c1a85b79d0bae9.tar.xz
rt.equinox.framework-17d90b94c504f35214623e1382c1a85b79d0bae9.zip
bug 181698
Diffstat (limited to 'bundles/org.eclipse.equinox.executable/library/eclipseOS.h')
-rw-r--r--bundles/org.eclipse.equinox.executable/library/eclipseOS.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/bundles/org.eclipse.equinox.executable/library/eclipseOS.h b/bundles/org.eclipse.equinox.executable/library/eclipseOS.h
index 4074ced86..a4d5ce26b 100644
--- a/bundles/org.eclipse.equinox.executable/library/eclipseOS.h
+++ b/bundles/org.eclipse.equinox.executable/library/eclipseOS.h
@@ -30,9 +30,11 @@
#define takeDownSplash takeDownSplashW
#define restartLauncher restartLauncherW
#define launchJavaVM launchJavaVMW
+#define startJavaVM startJavaVMW
#define eeLibPath eeLibPathW
#define processVMArgs processVMArgsW
#define initialArgv initialArgvW
+#define secondThread secondThreadW
#endif
/* Operating System Dependent Information */
@@ -47,6 +49,7 @@ extern _TCHAR* vmLibrary; /* name of the VM shared library */
extern int initialArgc; /* argc originally used to start launcher */
extern _TCHAR** initialArgv; /* argv originally used to start launcher */
extern _TCHAR* eeLibPath; /* library path specified in a .ee file */
+extern int secondThread; /* whether or not to start the vm on a second thread */
/* OS Specific Functions */
@@ -114,6 +117,9 @@ extern void restartLauncher( _TCHAR* program, _TCHAR* args[] );
/* launch the vm in a separate process and wait for it to finish */
extern int launchJavaVM( _TCHAR* args[] );
+/* launch the vm in this process using JNI invocation */
+extern int startJavaVM( _TCHAR* libPath, _TCHAR* vmArgs[], _TCHAR* progArgs[] );
+
/* do any platform specific processing of the user vmargs */
extern void processVMArgs(_TCHAR **vmargs[] );

Back to the top