linear_algebra plugged.
[scilab.git] / scilab / modules / boolean / src / cpp / boolean_gw.cpp
index 8e1ccbd..2f095e2 100644 (file)
@@ -22,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;
 }