summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoine ELIAS <antoine.elias@scilab-enterprises.com>2016-11-10 08:22:52 +0100
committerAntoine ELIAS <antoine.elias@scilab-enterprises.com>2016-11-10 08:22:52 +0100
commit448ef39f7e22e8d46eabcf565d0a0cdfc657c997 (patch)
tree11384302f56e315adc553b91e944a42fcc4a89ef
parentc2a4579f1826838f584b303213aa525ba2762e11 (diff)
downloadscilab-448ef39f7e22e8d46eabcf565d0a0cdfc657c997.zip
scilab-448ef39f7e22e8d46eabcf565d0a0cdfc657c997.tar.gz
utf: api_scilab 2
Change-Id: I64fd1a74340dba6951f4b7b2ac4cab738e0d9b59
-rw-r--r--scilab/modules/api_scilab/src/cpp/api_stack_double.cpp2
-rw-r--r--scilab/modules/api_scilab/src/cpp/api_stack_list.cpp20
-rw-r--r--scilab/modules/api_scilab/src/cpp/api_stack_optional.cpp2
-rw-r--r--scilab/modules/api_scilab/src/cpp/api_stack_pointer.cpp2
4 files changed, 13 insertions, 13 deletions
diff --git a/scilab/modules/api_scilab/src/cpp/api_stack_double.cpp b/scilab/modules/api_scilab/src/cpp/api_stack_double.cpp
index 96fedac..8910746 100644
--- a/scilab/modules/api_scilab/src/cpp/api_stack_double.cpp
+++ b/scilab/modules/api_scilab/src/cpp/api_stack_double.cpp
@@ -248,7 +248,7 @@ SciErr allocCommonMatrixOfDouble(void* _pvCtx, int _iVar, char _cType, int _iCom
248 } 248 }
249 catch (const ast::InternalError& ie) 249 catch (const ast::InternalError& ie)
250 { 250 {
251 addErrorMessage(&sciErr, API_ERROR_NO_MORE_MEMORY, _("%s: %ls"), _iComplex ? "allocComplexMatrixOfDouble" : "allocMatrixOfDouble", ie.GetErrorMessage().c_str()); 251 addErrorMessage(&sciErr, API_ERROR_NO_MORE_MEMORY, _("%s: %s"), _iComplex ? "allocComplexMatrixOfDouble" : "allocMatrixOfDouble", ie.GetErrorMessage().c_str());
252 return sciErr; 252 return sciErr;
253 } 253 }
254 254
diff --git a/scilab/modules/api_scilab/src/cpp/api_stack_list.cpp b/scilab/modules/api_scilab/src/cpp/api_stack_list.cpp
index 74e7041..7d00a5a 100644
--- a/scilab/modules/api_scilab/src/cpp/api_stack_list.cpp
+++ b/scilab/modules/api_scilab/src/cpp/api_stack_list.cpp
@@ -243,7 +243,7 @@ static SciErr createCommonNamedList(void* _pvCtx, const char* _pstName, int _iLi
243 } 243 }
244 catch (const ast::InternalError& ie) 244 catch (const ast::InternalError& ie)
245 { 245 {
246 addErrorMessage(&sciErr, API_ERROR_NO_MORE_MEMORY, _("%s: %ls"), "createNamedList", ie.GetErrorMessage().c_str()); 246 addErrorMessage(&sciErr, API_ERROR_NO_MORE_MEMORY, _("%s: %s"), "createNamedList", ie.GetErrorMessage().c_str());
247 return sciErr; 247 return sciErr;
248 } 248 }
249 249
@@ -307,7 +307,7 @@ static SciErr createCommonList(void* _pvCtx, int _iVar, int _iListType, int _iNb
307 } 307 }
308 catch (const ast::InternalError& ie) 308 catch (const ast::InternalError& ie)
309 { 309 {
310 addErrorMessage(&sciErr, API_ERROR_NO_MORE_MEMORY, _("%s: %ls"), "createList", ie.GetErrorMessage().c_str()); 310 addErrorMessage(&sciErr, API_ERROR_NO_MORE_MEMORY, _("%s: %s"), "createList", ie.GetErrorMessage().c_str());
311 return sciErr; 311 return sciErr;
312 } 312 }
313 313
@@ -517,7 +517,7 @@ static SciErr createCommonListInList(void* _pvCtx, const char* _pstName, int* _p
517 } 517 }
518 catch (const ast::InternalError& ie) 518 catch (const ast::InternalError& ie)
519 { 519 {
520 addErrorMessage(&sciErr, API_ERROR_NO_MORE_MEMORY, _("%s: %ls"), funcName, ie.GetErrorMessage().c_str()); 520 addErrorMessage(&sciErr, API_ERROR_NO_MORE_MEMORY, _("%s: %s"), funcName, ie.GetErrorMessage().c_str());
521 return sciErr; 521 return sciErr;
522 } 522 }
523 523
@@ -655,7 +655,7 @@ static SciErr allocCommonMatrixOfDoubleInList(void* _pvCtx, int _iVar, int* _piP
655 } 655 }
656 catch (const ast::InternalError& ie) 656 catch (const ast::InternalError& ie)
657 { 657 {
658 addErrorMessage(&sciErr, API_ERROR_NO_MORE_MEMORY, _("%s: %ls"), _iComplex ? "allocComplexMatrixOfDoubleInList" : "allocMatrixOfDoubleInList", ie.GetErrorMessage().c_str()); 658 addErrorMessage(&sciErr, API_ERROR_NO_MORE_MEMORY, _("%s: %s"), _iComplex ? "allocComplexMatrixOfDoubleInList" : "allocMatrixOfDoubleInList", ie.GetErrorMessage().c_str());
659 return sciErr; 659 return sciErr;
660 } 660 }
661 661
@@ -940,7 +940,7 @@ SciErr createCommonMatrixOfStringInList(void* _pvCtx, const char* _pstName, int*
940 } 940 }
941 catch (const ast::InternalError& ie) 941 catch (const ast::InternalError& ie)
942 { 942 {
943 addErrorMessage(&sciErr, API_ERROR_NO_MORE_MEMORY, _("%s: %ls"), funcName, ie.GetErrorMessage().c_str()); 943 addErrorMessage(&sciErr, API_ERROR_NO_MORE_MEMORY, _("%s: %s"), funcName, ie.GetErrorMessage().c_str());
944 return sciErr; 944 return sciErr;
945 } 945 }
946 946
@@ -1074,7 +1074,7 @@ SciErr allocMatrixOfBooleanInList(void* _pvCtx, int _iVar, int* _piParent, int _
1074 } 1074 }
1075 catch (const ast::InternalError& ie) 1075 catch (const ast::InternalError& ie)
1076 { 1076 {
1077 addErrorMessage(&sciErr, API_ERROR_NO_MORE_MEMORY, _("%s: %ls"), "allocMatrixOfBooleanInList", ie.GetErrorMessage().c_str()); 1077 addErrorMessage(&sciErr, API_ERROR_NO_MORE_MEMORY, _("%s: %s"), "allocMatrixOfBooleanInList", ie.GetErrorMessage().c_str());
1078 return sciErr; 1078 return sciErr;
1079 } 1079 }
1080 1080
@@ -1424,7 +1424,7 @@ static SciErr allocCommonMatrixOfIntegerInList(void* _pvCtx, int _iVar, const ch
1424 } 1424 }
1425 catch (const ast::InternalError& ie) 1425 catch (const ast::InternalError& ie)
1426 { 1426 {
1427 addErrorMessage(&sciErr, API_ERROR_NO_MORE_MEMORY, _("%s: %ls"), "allocMatrixOfIntegerInList", ie.GetErrorMessage().c_str()); 1427 addErrorMessage(&sciErr, API_ERROR_NO_MORE_MEMORY, _("%s: %s"), "allocMatrixOfIntegerInList", ie.GetErrorMessage().c_str());
1428 return sciErr; 1428 return sciErr;
1429 } 1429 }
1430 1430
@@ -1830,7 +1830,7 @@ static SciErr createCommonSparseMatrixInList(void* _pvCtx, int _iVar, const char
1830 } 1830 }
1831 catch (const ast::InternalError& ie) 1831 catch (const ast::InternalError& ie)
1832 { 1832 {
1833 addErrorMessage(&sciErr, API_ERROR_NO_MORE_MEMORY, _("%s: %ls"), funcName, ie.GetErrorMessage().c_str()); 1833 addErrorMessage(&sciErr, API_ERROR_NO_MORE_MEMORY, _("%s: %s"), funcName, ie.GetErrorMessage().c_str());
1834 return sciErr; 1834 return sciErr;
1835 } 1835 }
1836 1836
@@ -2030,7 +2030,7 @@ SciErr createCommonBooleanSparseMatrixInList(void* _pvCtx, const char* _pstName,
2030 } 2030 }
2031 catch (const ast::InternalError& ie) 2031 catch (const ast::InternalError& ie)
2032 { 2032 {
2033 addErrorMessage(&sciErr, API_ERROR_NO_MORE_MEMORY, _("%s: %ls"), funcName, ie.GetErrorMessage().c_str()); 2033 addErrorMessage(&sciErr, API_ERROR_NO_MORE_MEMORY, _("%s: %s"), funcName, ie.GetErrorMessage().c_str());
2034 return sciErr; 2034 return sciErr;
2035 } 2035 }
2036 2036
@@ -2205,7 +2205,7 @@ SciErr createCommonPointerInList(void* _pvCtx, const char* _pstName, int* _piPar
2205 } 2205 }
2206 catch (const ast::InternalError& ie) 2206 catch (const ast::InternalError& ie)
2207 { 2207 {
2208 addErrorMessage(&sciErr, API_ERROR_NO_MORE_MEMORY, _("%s: %ls"), "createPointerInList", ie.GetErrorMessage().c_str()); 2208 addErrorMessage(&sciErr, API_ERROR_NO_MORE_MEMORY, _("%s: %s"), "createPointerInList", ie.GetErrorMessage().c_str());
2209 return sciErr; 2209 return sciErr;
2210 } 2210 }
2211 2211
diff --git a/scilab/modules/api_scilab/src/cpp/api_stack_optional.cpp b/scilab/modules/api_scilab/src/cpp/api_stack_optional.cpp
index 5dbbe9e..678e3dd 100644
--- a/scilab/modules/api_scilab/src/cpp/api_stack_optional.cpp
+++ b/scilab/modules/api_scilab/src/cpp/api_stack_optional.cpp
@@ -53,7 +53,7 @@ int getOptionals(void* _pvCtx, char* pstFuncName, rhs_opts opts[])
53 53
54 if (index < 0) 54 if (index < 0)
55 { 55 {
56 sciprint(_("%ls: Unrecognized optional arguments %ls.\n"), pStr->m_pstName, o.first.c_str()); 56 sciprint(_("%s: Unrecognized optional arguments %s.\n"), pStr->m_pstName, o.first.c_str());
57 printOptionalNames(_pvCtx, opts); 57 printOptionalNames(_pvCtx, opts);
58 return 0; 58 return 0;
59 } 59 }
diff --git a/scilab/modules/api_scilab/src/cpp/api_stack_pointer.cpp b/scilab/modules/api_scilab/src/cpp/api_stack_pointer.cpp
index f6e5805..2680406 100644
--- a/scilab/modules/api_scilab/src/cpp/api_stack_pointer.cpp
+++ b/scilab/modules/api_scilab/src/cpp/api_stack_pointer.cpp
@@ -78,7 +78,7 @@ SciErr createPointer(void* _pvCtx, int _iVar, const void* _pvPtr)
78 } 78 }
79 catch (const ast::InternalError& ie) 79 catch (const ast::InternalError& ie)
80 { 80 {
81 addErrorMessage(&sciErr, API_ERROR_NO_MORE_MEMORY, _("%s: %ls"), "createPointer", ie.GetErrorMessage().c_str()); 81 addErrorMessage(&sciErr, API_ERROR_NO_MORE_MEMORY, _("%s: %s"), "createPointer", ie.GetErrorMessage().c_str());
82 return sciErr; 82 return sciErr;
83 } 83 }
84 84