cosmetic, rename functions
[scilab.git] / scilab / modules / jvm / sci_gateway / cpp / jvm_gw.cpp
index 9f46bc6..49f2020 100644 (file)
 
 extern "C"
 {
-    #include "gw_jvm.h"
+#include "gw_jvm.h"
 }
 
 #define MODULE_NAME L"jvm"
 
 int JvmModule::Load()
 {
-    symbol::Context::getInstance()->AddFunction(types::Function::createFunction(L"system_getproperty", &sci_system_getproperty, MODULE_NAME));
-    symbol::Context::getInstance()->AddFunction(types::Function::createFunction(L"javaclasspath", &sci_javaclasspath, MODULE_NAME));
+    symbol::Context::getInstance()->addFunction(types::Function::createFunction(L"system_getproperty", &sci_system_getproperty, MODULE_NAME));
+    symbol::Context::getInstance()->addFunction(types::Function::createFunction(L"javaclasspath", &sci_javaclasspath, MODULE_NAME));
     return 1;
 }