cosmetic, rename functions
[scilab.git] / scilab / modules / dynamic_link / sci_gateway / cpp / dynamic_link_gw.cpp
index 689cff6..d2494d9 100644 (file)
 
 extern "C"
 {
-   #include "gw_dynamic_link.h"
+#include "gw_dynamic_link.h"
 }
 
 int DynamicLinkModule::Load()
 {
-    symbol::Context::getInstance()->AddFunction(types::Function::createFunction(L"getdynlibext", &sci_getdynlibext, MODULE_NAME));
-    symbol::Context::getInstance()->AddFunction(types::Function::createFunction(L"link", &sci_link, MODULE_NAME));
-    symbol::Context::getInstance()->AddFunction(types::Function::createFunction(L"ulink", &sci_ulink, MODULE_NAME));
-    symbol::Context::getInstance()->AddFunction(types::Function::createFunction(L"c_link", &sci_c_link, MODULE_NAME));
-    symbol::Context::getInstance()->AddFunction(types::Function::createFunction(L"ilib_verbose", &sci_ilib_verbose, MODULE_NAME));
-    symbol::Context::getInstance()->AddFunction(types::Function::createFunction(L"addinter", &sci_addinter, MODULE_NAME));
+    symbol::Context::getInstance()->addFunction(types::Function::createFunction(L"getdynlibext", &sci_getdynlibext, MODULE_NAME));
+    symbol::Context::getInstance()->addFunction(types::Function::createFunction(L"link", &sci_link, MODULE_NAME));
+    symbol::Context::getInstance()->addFunction(types::Function::createFunction(L"ulink", &sci_ulink, MODULE_NAME));
+    symbol::Context::getInstance()->addFunction(types::Function::createFunction(L"c_link", &sci_c_link, MODULE_NAME));
+    symbol::Context::getInstance()->addFunction(types::Function::createFunction(L"ilib_verbose", &sci_ilib_verbose, MODULE_NAME));
+    symbol::Context::getInstance()->addFunction(types::Function::createFunction(L"addinter", &sci_addinter, MODULE_NAME));
     return 1;
 }