add isJIT function
Antoine ELIAS [Mon, 30 Sep 2013 18:41:11 +0000 (20:41 +0200)]
scilab/modules/jit/sci_gateway/cpp/jit_gw.cpp
scilab/modules/jit/sci_gateway/cpp/sci_isJIT.cpp

index ed8c81f..29f6c59 100644 (file)
@@ -21,5 +21,6 @@ int JITModule::Load()
 {
     symbol::Context::getInstance()->addFunction(Function::createFunction(L"enableJIT", &sci_enableJIT, MODULE_NAME));
     symbol::Context::getInstance()->addFunction(Function::createFunction(L"disableJIT", &sci_disableJIT, MODULE_NAME));
+    symbol::Context::getInstance()->addFunction(Function::createFunction(L"isJIT", &sci_isJIT, MODULE_NAME));
     return 1;
 }
index 2d3d2eb..e539ec2 100644 (file)
  *
  */
 #include "funcmanager.hxx"
-#include "context.hxx"
-#include "core_gw.hxx"
+#include "jit_gw.hxx"
 #include "bool.hxx"
+#include "function.hxx"
 #include "configvariable.hxx"
 
 extern "C"
 {
-#include "sci_mode.h"
 #include "sciprint.h"
 #include "localization.h"
-#include "sci_mode.h"
-#include "os_strdup.h"
 }
 
 /*--------------------------------------------------------------------------*/