jvms.h File Reference

#include "jni.h"
#include "jvm_common.h"
#include <string.h>
#include "machine.h"

Include dependency graph for jvms.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

IMPORT_EXPORT_LIBJVM_DLL int StartJVMs (char *SCILAB_PATH)
IMPORT_EXPORT_LIBJVM_DLL int TerminateJVMs (void)


Function Documentation

IMPORT_EXPORT_LIBJVM_DLL int StartJVMs ( char *  SCILAB_PATH  ) 

Definition at line 19 of file jvms.c.

References C2F, FALSE, GetJVMDll(), StartJVM_CONSOLE(), TRUE, and xscion().

Referenced by InitializeJVM().

00020 {
00021         int bOK=FALSE;
00022         int b1=FALSE;
00023         /*,b2=FALSE,b3=FALSE;*/
00024         int WithGUIConsole=FALSE;
00025         
00026         #ifdef _MSC_VER
00027         GetJVMDll(SCILAB_PATH);
00028         #endif
00029 
00030         
00031         C2F(xscion)(&WithGUIConsole);
00032         if (WithGUIConsole == TRUE) 
00033     {
00034       b1=StartJVM_CONSOLE(SCILAB_PATH);
00035     }
00036         /*b2=StartJVM_SCILAB(SCILAB_PATH);
00037         b3=StartJVM_GRAPHIC(SCILAB_PATH);
00038         
00039         if (b1 && b2 && b3) bOK=TRUE;*/
00040                 
00041         return bOK;
00042 }

Here is the call graph for this function:

Here is the caller graph for this function:

IMPORT_EXPORT_LIBJVM_DLL int TerminateJVMs ( void   ) 

Definition at line 44 of file jvms.c.

References C2F, FALSE, FreeJVMDll(), TerminateJVM_CONSOLE(), TRUE, and xscion().

Referenced by ExitScilab().

00045 {
00046         int bOK=FALSE;
00047         int b1=FALSE;
00048         /*,b2=FALSE,b3=FALSE;*/
00049         int WithGUIConsole=FALSE;
00050         
00051         C2F(xscion)(&WithGUIConsole);
00052         if (WithGUIConsole == TRUE) 
00053     {
00054                 b1=TerminateJVM_CONSOLE();
00055         }
00056 
00057         /*b2=TerminateJVM_SCILAB();
00058         b3=TerminateJVM_GRAPHIC();*/
00059         
00060         #ifdef _MSC_VER
00061         FreeJVMDll();
00062         #endif
00063         
00064         /*if (b1 && b2 && b3) bOK=TRUE;*/
00065                 
00066         return bOK;
00067 
00068 }

Here is the call graph for this function:

Here is the caller graph for this function:


Generated on Sun Mar 4 16:09:43 2007 for Scilab [trunk] by  doxygen 1.5.1