summaryrefslogtreecommitdiff
path: root/sci_gateway
diff options
context:
space:
mode:
Diffstat (limited to 'sci_gateway')
-rwxr-xr-xsci_gateway/cpp/libscilab_octave.sobin32008 -> 32072 bytes
-rw-r--r--sci_gateway/cpp/sci_octave.cpp4
2 files changed, 4 insertions, 0 deletions
diff --git a/sci_gateway/cpp/libscilab_octave.so b/sci_gateway/cpp/libscilab_octave.so
index 221c3c8..5069d2b 100755
--- a/sci_gateway/cpp/libscilab_octave.so
+++ b/sci_gateway/cpp/libscilab_octave.so
Binary files differ
diff --git a/sci_gateway/cpp/sci_octave.cpp b/sci_gateway/cpp/sci_octave.cpp
index 817c184..177a6b9 100644
--- a/sci_gateway/cpp/sci_octave.cpp
+++ b/sci_gateway/cpp/sci_octave.cpp
@@ -368,6 +368,10 @@ extern "C"
else if (outStruct[j].type == TYPE_STRING){
scilab_setStructMatrix2dData(env, out[i], (const wchar_t*) outStruct[j].key, 0, 0, scilab_createString(env, (const wchar_t*) outStruct[j].str));
}
+ else{
+ Scierror(999, _("%s: Unsupported type of output argument in struct %d for key \"%ls\".\n"), fname, i, (const wchar_t*) outStruct[i].key);
+ return STATUS_ERROR;
+ }
}
}
else if (ins[i].is_out_string == 1){