InitializeJVM.c

Go to the documentation of this file.
00001 /*-----------------------------------------------------------------------------------*/
00002 /* INRIA 2007 */
00003 /* Allan CORNET */
00004 /*-----------------------------------------------------------------------------------*/ 
00005 #include <stdlib.h>
00006 #include "InitializeJVM.h"
00007 #include "jvms.h"
00008 #include "setgetSCIpath.h"
00009 #include "MALLOC.h"
00010 /*-----------------------------------------------------------------------------------*/ 
00011 IMPORT_EXPORT_LIBJVM_DLL BOOL InitializeJVM(void)
00012 {
00013         BOOL bOK=FALSE;
00014         char *SCIPATH=NULL;
00015 
00016         SCIPATH=getSCIpath();
00017         StartJVMs(SCIPATH);
00018         if (SCIPATH) {FREE(SCIPATH);SCIPATH=NULL;}
00019 
00020         return bOK;
00021 }
00022 /*-----------------------------------------------------------------------------------*/ 
00023 

Generated on Sun Mar 4 15:03:58 2007 for Scilab [trunk] by  doxygen 1.5.1