linear_algebra plugged.
[scilab.git] / scilab / modules / boolean / src / cpp / boolean_gw.cpp
index 141ddfa..2f095e2 100644 (file)
@@ -11,6 +11,8 @@
 */
 
 #include "boolean_gw.hxx"
+#include "context.hxx"
+#include "function.hxx"
 
 #define MODULE_NAME L"boolean"
 extern "C"
@@ -20,10 +22,11 @@ extern "C"
 
 using namespace types;
 
-bool BooleanModule::Load()
+int BooleanModule::Load()
 {
        symbol::Context::getInstance()->AddFunction(Function::createFunction(L"or", &sci_or, MODULE_NAME));
        symbol::Context::getInstance()->AddFunction(Function::createFunction(L"and", &sci_and, MODULE_NAME));
-       return true;
+       symbol::Context::getInstance()->AddFunction(Function::createFunction(L"bool2s", &sci_bool2s, MODULE_NAME));
+       return 1;
 }