Update of messages
Sylvestre Ledru [Thu, 13 Aug 2009 12:46:16 +0000 (14:46 +0200)]
19 files changed:
scilab/modules/api_scilab/help/en_US/common_getvaraddr_api.xml
scilab/modules/api_scilab/help/en_US/common_getvardimension_api.xml
scilab/modules/api_scilab/help/en_US/common_getvartype_api.xml
scilab/modules/api_scilab/help/en_US/common_iscomplex_api.xml
scilab/modules/api_scilab/help/en_US/common_isvarmatrixtype_api.xml
scilab/modules/api_scilab/help/en_US/double_reading_api.xml
scilab/modules/api_scilab/help/en_US/double_writing_api.xml
scilab/modules/api_scilab/help/en_US/int_getmatrixofintegerprecision_api.xml
scilab/modules/api_scilab/help/en_US/integer_writing_api.xml
scilab/modules/api_scilab/help/en_US/list_management/list_double_writing_api.xml
scilab/modules/api_scilab/help/en_US/list_management/list_integer_writing_api.xml
scilab/modules/api_scilab/help/en_US/pointer_writing_api.xml
scilab/modules/api_scilab/help/en_US/sparse_writing_api.xml
scilab/modules/api_scilab/help/en_US/string_reading_api.xml
scilab/modules/development_tools/src/perl/xml2test/xml2test.pl
scilab/modules/gui/src/java/org/scilab/modules/gui/bridge/filechooser/SwingScilabExportFileChooser.java
scilab/modules/hdf5/sci_gateway/cpp/sci_export_to_hdf5.cpp
scilab/modules/hdf5/sci_gateway/cpp/sci_import_from_hdf5.cpp
scilab/modules/jvm/etc/jvm_options.xml.in

index 683c6de..757074d 100644 (file)
@@ -163,7 +163,7 @@ int printf_info(int _iVar)
             sciprint("mlist\n");
             break;
         default :
-            sciprint("Not manage by this function\n");
+            sciprint("Not managed by this function\n");
             return 0;
     }
 
index 9e9aad5..20d63a1 100644 (file)
@@ -171,7 +171,7 @@ int printf_info(int _iVar)
             sciprint("mlist\n");
             break;
         default :
-            sciprint("Not manage by this function\n");
+            sciprint("Not managed by this function\n");
             return 0;
     }
 
index 3b03677..dfd8f12 100644 (file)
@@ -22,7 +22,7 @@
         <refname>Variable Type (Scilab gateway)</refname>
 
         <refpurpose>
-            How to get type of a variable.
+            Get type of a variable within a Scilab gateway.
         </refpurpose>
     </refnamediv>
     <refsynopsisdiv>
@@ -55,8 +55,8 @@
         <para>This help describes how to retrieve the Scilab type of a variable in a gateway.</para>
     </refsection>
     <refsection>
-        <!--File_gateway: SCI/modules/core/tests/unit_tests/commom_function_api.c-->
-        <!--File_scilab: SCI/modules/core/tests/unit_tests/commom_function.tst-->
+        <!--File_gateway: SCI/modules/api_scilab/tests/unit_tests/commom_function_api.c-->
+        <!--File_scilab: SCI/modules/api_scilab/tests/unit_tests/commom_function.tst-->
         <!--Lib_name: commom_function-->
         <!--Func_list: commom_function-->
         <title>Gateway Source</title>
@@ -163,7 +163,7 @@ int printf_info(int _iVar)
             sciprint("mlist\n");
             break;
         default :
-            sciprint("Not manage by this function\n");
+            sciprint("Not managed by this function\n");
             return 0;
     }
 
index b365dc1..c23711f 100644 (file)
@@ -55,8 +55,8 @@
       <para>This help describes how to retrieve variable complexity.</para>
     </refsection>
     <refsection>
-        <!--File_gateway: SCI/modules/core/tests/unit_tests/commom_function_api.c-->
-        <!--File_scilab: SCI/modules/core/tests/unit_tests/commom_function.tst-->
+        <!--File_gateway: SCI/modules/api_scilab/tests/unit_tests/commom_function_api.c-->
+        <!--File_scilab: SCI/modules/api_scilab/tests/unit_tests/commom_function.tst-->
         <!--Lib_name: commom_function-->
         <!--Func_list: commom_function-->
         <title>Gateway Source</title>
@@ -163,7 +163,7 @@ int printf_info(int _iVar)
             sciprint("mlist\n");
             break;
         default :
-            sciprint("Not manage by this function\n");
+            sciprint("Not managed by this function\n");
             return 0;
     }
 
index 4289e01..17605e3 100644 (file)
@@ -55,8 +55,8 @@
         <para>This help describes how to know if a variable is stored as a matrix.</para>
     </refsection>
     <refsection>
-        <!--File_gateway: SCI/modules/core/tests/unit_tests/commom_function_api.c-->
-        <!--File_scilab: SCI/modules/core/tests/unit_tests/commom_function.tst-->
+        <!--File_gateway: SCI/modules/api_scilab/tests/unit_tests/commom_function_api.c-->
+        <!--File_scilab: SCI/modules/api_scilab/tests/unit_tests/commom_function.tst-->
         <!--Lib_name: commom_function-->
         <!--Func_list: commom_function-->
         <title>Gateway Source</title>
@@ -163,7 +163,7 @@ int printf_info(int _iVar)
             sciprint("mlist\n");
             break;
         default :
-            sciprint("Not manage by this function\n");
+            sciprint("Not managed by this function\n");
             return 0;
     }
 
index a4c7641..bb57ff2 100644 (file)
@@ -146,7 +146,9 @@ int read_double(char *fname,unsigned long fname_len)
         return 1;
     }
 
-    //Do something with data
+    // Do something with data
+
+
     //if variable is complex, invert real part and imaginary part otherwise multiply by -1
     if(iComplex)
     {
index dda48e0..141d72c 100644 (file)
@@ -135,8 +135,8 @@ int allocComplexMatrixOfDouble(int _iVar, int _iRows, int _iCols, double** _pdbl
         </variablelist>
     </refsection>
     <refsection>
-        <!--File_gateway: SCI/modules/core/tests/unit_tests/double_writing_api.c-->
-        <!--File_scilab: SCI/modules/core/tests/unit_tests/double_writing_api.tst-->
+        <!--File_gateway: SCI/modules/api_scilab/tests/unit_tests/double_writing_api.c-->
+        <!--File_scilab: SCI/modules/api_scilab/tests/unit_tests/double_writing_api.tst-->
         <!--Lib_name: double_writing-->
         <!--Func_list: write_double-->
         <title>Gateway Source</title>
index fe6a898..9b14c08 100644 (file)
@@ -163,7 +163,7 @@ int printf_info(int _iVar)
             sciprint("mlist\n");
             break;
         default :
-            sciprint("Not manage by this function\n");
+            sciprint("Not managed by this function\n");
             return 0;
     }
 
index 7c68829..407c341 100644 (file)
@@ -131,8 +131,8 @@ int allocMatrixOfUnsignedInteger32(int _iVar, int _iRows, int _iCols, unsigned i
     </refsection>
 
     <refsection>
-        <!--File_gateway: SCI/modules/core/tests/unit_tests/integer_writing_api.c-->
-        <!--File_scilab: SCI/modules/core/tests/unit_tests/integer_writing_api.tst-->
+        <!--File_gateway: SCI/modules/api_scilab/tests/unit_tests/integer_writing_api.c-->
+        <!--File_scilab: SCI/modules/api_scilab/tests/unit_tests/integer_writing_api.tst-->
         <!--Lib_name: integer_writing-->
         <!--Func_list: write_integer-->
         <title>Gateway Source</title>
index 835ec80..f3cbcb3 100644 (file)
@@ -167,8 +167,8 @@ int allocComplexMatrixOfDoubleInList(int _iVar, int* _piParent, int _iItemPos, i
         </variablelist>
     </refsection>
     <refsection>
-        <!--File_gateway: SCI/modules/core/tests/unit_tests/list_createlist_api.c-->
-        <!--File_scilab: SCI/modules/core/tests/unit_tests/list_createlist_api.tst-->
+        <!--File_gateway: SCI/modules/api_scilab/tests/unit_tests/list_createlist_api.c-->
+        <!--File_scilab: SCI/modules/api_scilab/tests/unit_tests/list_createlist_api.tst-->
         <!--Lib_name: list_createlist-->
         <!--Func_list: list_createlist-->
         <title>Gateway Source</title>
index ec267b6..fc3fe63 100644 (file)
@@ -159,8 +159,8 @@ int allocMatrixOfUnsignedInteger32InList(int _iVar, int* _piParent, int _iItemPo
         </variablelist>
     </refsection>
     <refsection>
-        <!--File_gateway: SCI/modules/core/tests/unit_tests/list_createlist_api.c-->
-        <!--File_scilab: SCI/modules/core/tests/unit_tests/list_createlist_api.tst-->
+        <!--File_gateway: SCI/modules/api_scilab/tests/unit_tests/list_createlist_api.c-->
+        <!--File_scilab: SCI/modules/api_scilab/tests/unit_tests/list_createlist_api.tst-->
         <!--Lib_name: list_createlist-->
         <!--Func_list: list_createlist-->
         <title>Gateway Source</title>
index 021ddc8..4ba03fd 100644 (file)
@@ -84,8 +84,8 @@ int allocPointer(int* _piAddress, void** _pvPtr)
         </variablelist>
     </refsection>
     <refsection>
-        <!--File_gateway: SCI/modules/core/tests/unit_tests/pointer_reading_api.c-->
-        <!--File_scilab: SCI/modules/core/tests/unit_tests/pointer_reading_api.tst-->
+        <!--File_gateway: SCI/modules/api_scilab/tests/unit_tests/pointer_reading_api.c-->
+        <!--File_scilab: SCI/modules/api_scilab/tests/unit_tests/pointer_reading_api.tst-->
         <!--Lib_name: pointer_reading-->
         <!--Func_list: read_pointer-->
         <title>Gateway Source</title>
index 29e19f7..53b8d96 100644 (file)
@@ -183,8 +183,8 @@ int allocComplexSparseMatrix(int _iVar, int _iRows, int _iCols, int _iNbItem, in
         </variablelist>
     </refsection>
     <refsection>
-        <!--File_gateway: SCI/modules/core/tests/unit_tests/sparse_writing_api.c-->
-        <!--File_scilab: SCI/modules/core/tests/unit_tests/sparse_writing_api.tst-->
+        <!--File_gateway: SCI/modules/api_scilab/tests/unit_tests/sparse_writing_api.c-->
+        <!--File_scilab: SCI/modules/api_scilab/tests/unit_tests/sparse_writing_api.tst-->
         <!--Lib_name: sparse_writing-->
         <!--Func_list: write_sparse-->
         <title>Gateway Source</title>
index 2d6209d..aacd971 100644 (file)
@@ -119,7 +119,7 @@ int read_string(char *fname,unsigned long fname_len)
         return 1;
     }
 
-    //fisrt call to retrieve dimensions
+    //first call to retrieve dimensions
     iRet = getMatrixOfString(piAddr, &iRows, &iCols, NULL, NULL);
     if(iRet)
     {
index 8915f3e..d961266 100644 (file)
@@ -35,6 +35,7 @@ if( dirname($0) =~ m/^\// )
 my $SCI =  $directory;
 $SCI    =~ s/\/modules\/development_tools\/src\/perl\/xml2test//g;
 
+#print "\t".'ERROR : Tag "'.$tag.'" has not been found in the file "'.$xmlfile.'"'."\n";
 my $sci_modules_dir = $SCI.'/modules';
 
 
index 6a8d6db..9ddbbaa 100644 (file)
@@ -169,7 +169,7 @@ public class SwingScilabExportFileChooser extends SwingScilabFileChooser {
                                bitmapExport(extensionCombo);                           
                        }
                } else ; // no file chosen              
-               
+                       
        }
        
  
index 7cb0abd..fe96800 100644 (file)
@@ -32,21 +32,21 @@ extern "C"
 //#define PRINT_DEBUG
 int iLevel = 0;
 
-bool export_data(int _iH5File, int *_piVar, char* _pstName);
-bool export_list(int _iH5File, int *_piVar, char* _pstName, int _iVarType);
-bool export_double(int _iH5File, int *_piVar, char* _pstName);
-bool export_poly(int _iH5File, int *_piVar, char* _pstName);
-bool export_boolean(int _iH5File, int *_piVar, char* _pstName);
-bool export_sparse(int _iH5File, int *_piVar, char* _pstName);
-bool export_boolean_sparse(int _iH5File, int *_piVar, char* _pstName);
-bool export_matlab_sparse(int *_piVar, char* _pstName);
-bool export_ints(int _iH5File, int *_piVar, char* _pstName);
-bool export_handles(int *_piVar, char* _pstName);
-bool export_strings(int _iH5File, int *_piVar, char* _pstName);
-bool export_u_function(int *_piVar, char* _pstName);
-bool export_c_function(int *_piVar, char* _pstName);
-bool export_lib(int *_piVar, char* _pstName);
-bool export_lufact_pointer(int *_piVar, char* _pstName);
+static bool export_data(int _iH5File, int *_piVar, char* _pstName);
+static bool export_list(int _iH5File, int *_piVar, char* _pstName, int _iVarType);
+static bool export_double(int _iH5File, int *_piVar, char* _pstName);
+static bool export_poly(int _iH5File, int *_piVar, char* _pstName);
+static bool export_boolean(int _iH5File, int *_piVar, char* _pstName);
+static bool export_sparse(int _iH5File, int *_piVar, char* _pstName);
+static bool export_boolean_sparse(int _iH5File, int *_piVar, char* _pstName);
+static bool export_matlab_sparse(int *_piVar, char* _pstName);
+static bool export_ints(int _iH5File, int *_piVar, char* _pstName);
+static bool export_handles(int *_piVar, char* _pstName);
+static bool export_strings(int _iH5File, int *_piVar, char* _pstName);
+static bool export_u_function(int *_piVar, char* _pstName);
+static bool export_c_function(int *_piVar, char* _pstName);
+static bool export_lib(int *_piVar, char* _pstName);
+static bool export_lufact_pointer(int *_piVar, char* _pstName);
 
 void print_type(char* _pstType);
 int extractVarNameList(int _iStart, int _iEnd, char** _pstNameList);
@@ -116,7 +116,7 @@ int sci_export_to_hdf5(char *fname,unsigned long fname_len)
        return 0;
 }
 
-bool export_data(int _iH5File, int* _piVar, char* _pstName)
+static bool export_data(int _iH5File, int* _piVar, char* _pstName)
 {
        bool bReturn = false;
        int iType = getVarType(_piVar);
@@ -198,7 +198,7 @@ bool export_data(int _iH5File, int* _piVar, char* _pstName)
        return bReturn;
 }
 
-bool export_list(int _iH5File, int *_piVar, char* _pstName, int _iVarType)
+static bool export_list(int _iH5File, int *_piVar, char* _pstName, int _iVarType)
 {
        int iRet = 0;
        bool bReturn = false;
@@ -221,7 +221,7 @@ bool export_list(int _iH5File, int *_piVar, char* _pstName, int _iVarType)
                getListItemAddress(_piVar, i + 1, &piNewVar);//1 indexed
                if(piNewVar == NULL)
                {
-                       Scierror(999,"Item not found");
+                       Scierror(999,_("Item not found.\n"));
                        return 0;
                }
 
@@ -240,7 +240,7 @@ bool export_list(int _iH5File, int *_piVar, char* _pstName, int _iVarType)
        return true;
 }
 
-bool export_double(int _iH5File, int *_piVar, char* _pstName)
+static bool export_double(int _iH5File, int *_piVar, char* _pstName)
 {
        int iType = getVarType(_piVar);
        if(iType != sci_matrix)
@@ -271,7 +271,7 @@ bool export_double(int _iH5File, int *_piVar, char* _pstName)
        return true;
 }
 
-bool export_poly(int _iH5File, int *_piVar, char* _pstName)
+static bool export_poly(int _iH5File, int *_piVar, char* _pstName)
 {
        int iRows                                               = 0;
        int iCols                                               = 0;
@@ -340,7 +340,7 @@ bool export_poly(int _iH5File, int *_piVar, char* _pstName)
        return true;
 }
 
-bool export_boolean(int _iH5File, int *_piVar, char* _pstName)
+static bool export_boolean(int _iH5File, int *_piVar, char* _pstName)
 {
        int iRows                                       = 0;
        int iCols                                       = 0;
@@ -355,7 +355,7 @@ bool export_boolean(int _iH5File, int *_piVar, char* _pstName)
        return true;
 }
 
-bool export_boolean_sparse(int _iH5File, int *_piVar, char* _pstName)
+static bool export_boolean_sparse(int _iH5File, int *_piVar, char* _pstName)
 {
        int iRet                                                = 0;
        int iRows                                               = 0;
@@ -383,7 +383,7 @@ bool export_boolean_sparse(int _iH5File, int *_piVar, char* _pstName)
        return true;
 }
 
-bool export_sparse(int _iH5File, int *_piVar, char* _pstName)
+static bool export_sparse(int _iH5File, int *_piVar, char* _pstName)
 {
        int iRet                                                = 0;
        int iRows                                               = 0;
@@ -427,19 +427,19 @@ bool export_sparse(int _iH5File, int *_piVar, char* _pstName)
        return true;
 }
 
-bool export_boolean_sparse(int *_piVar, char* _pstName)
+static bool export_boolean_sparse(int *_piVar, char* _pstName)
 {
        print_type(_pstName);
        return true;
 }
 
-bool export_matlab_sparse(int *_piVar, char* _pstName)
+static bool export_matlab_sparse(int *_piVar, char* _pstName)
 {
        print_type(_pstName);
        return true;
 }
 
-bool export_ints(int _iH5File, int *_piVar, char* _pstName)
+static bool export_ints(int _iH5File, int *_piVar, char* _pstName)
 {
        int iRows                                       = 0;
        int iCols                                       = 0;
@@ -478,13 +478,13 @@ bool export_ints(int _iH5File, int *_piVar, char* _pstName)
        return true;
 }
 
-bool export_handles(int *_piVar, char* _pstName)
+static bool export_handles(int *_piVar, char* _pstName)
 {
        print_type(_pstName);
        return true;
 }
 
-bool export_strings(int _iH5File, int *_piVar, char* _pstName)
+static bool export_strings(int _iH5File, int *_piVar, char* _pstName)
 {
        int iRows                               = 0;
        int iCols                               = 0;
@@ -512,25 +512,25 @@ bool export_strings(int _iH5File, int *_piVar, char* _pstName)
        return true;
 }
 
-bool export_u_function(int *_piVar, char* _pstName)
+static bool export_u_function(int *_piVar, char* _pstName)
 {
        print_type(_pstName);
        return true;
 }
 
-bool export_c_function(int *_piVar, char* _pstName)
+static bool export_c_function(int *_piVar, char* _pstName)
 {
        print_type(_pstName);
        return true;
 }
 
-bool export_lib(int *_piVar, char* _pstName)
+static bool export_lib(int *_piVar, char* _pstName)
 {
        print_type(_pstName);
        return true;
 }
 
-bool export_lufact_pointer(int *_piVar, char* _pstName)
+static bool export_lufact_pointer(int *_piVar, char* _pstName)
 {
        print_type(_pstName);
        return true;
@@ -562,7 +562,7 @@ int extractVarNameList(int _iStart, int _iEnd, char** _pstNameList)
                //get filename
                if(getVarType(piAddr) != sci_strings)
                {
-                       Scierror(999,_("%s: Wrong type for input argument #%d: A string.\n"), "export_to_hdf5", i);
+                       Scierror(999,_("%s: Wrong type for input argument #%d: A string expected.\n"), "export_to_hdf5", i);
                        return 0;
                }
 
index ae9fe0c..ae02879 100644 (file)
@@ -35,15 +35,15 @@ int iTab = 0;
 
 void print_tree(char* _pstMsg);
 
-bool   import_data(int _iDatasetId, int _iItemPos, int* _piAddress, char* _pstVarname);
-bool import_double(int _iDatasetId, int _iItemPos, int* _piAddress, char* _pstVarname);
-bool import_string(int _iDatasetId, int _iItemPos, int* _piAddress, char* _pstVarname);
-bool import_boolean(int _iDatasetId, int _iItemPos, int* _piAddress, char* _pstVarname);
-bool import_integer(int _iDatasetId, int _iItemPos, int* _piAddress, char* _pstVarname);
-bool import_sparse(int _iDatasetId, int _iItemPos, int* _piAddress, char* _pstVarname);
-bool import_boolean_sparse(int _iDatasetId, int _iItemPos, int* _piAddress, char* _pstVarname);
-bool import_poly(int _iDatasetId, int _iItemPos, int* _piAddress, char* _pstVarname);
-bool import_list(int _iDatasetId, int _iVarType, int _iItemPos, int* _piAddress, char* _pstVarname);
+static bool import_data(int _iDatasetId, int _iItemPos, int* _piAddress, char* _pstVarname);
+static bool import_double(int _iDatasetId, int _iItemPos, int* _piAddress, char* _pstVarname);
+static bool import_string(int _iDatasetId, int _iItemPos, int* _piAddress, char* _pstVarname);
+static bool import_boolean(int _iDatasetId, int _iItemPos, int* _piAddress, char* _pstVarname);
+static bool import_integer(int _iDatasetId, int _iItemPos, int* _piAddress, char* _pstVarname);
+static bool import_sparse(int _iDatasetId, int _iItemPos, int* _piAddress, char* _pstVarname);
+static bool import_boolean_sparse(int _iDatasetId, int _iItemPos, int* _piAddress, char* _pstVarname);
+static bool import_poly(int _iDatasetId, int _iItemPos, int* _piAddress, char* _pstVarname);
+static bool import_list(int _iDatasetId, int _iVarType, int _iItemPos, int* _piAddress, char* _pstVarname);
 
 int sci_import_from_hdf5(char *fname,unsigned long fname_len)
 {
@@ -70,7 +70,7 @@ int sci_import_from_hdf5(char *fname,unsigned long fname_len)
 
        if(getVarType(piAddr) != sci_strings)
        {
-               Scierror(999,_("%s: Wrong type for input argument #%d: A string.\n"),fname, 2);
+               Scierror(999,_("%s: Wrong type for input argument #%d: A string expected.\n"),fname, 2);
                return 0;
        }
 
@@ -131,7 +131,7 @@ int sci_import_from_hdf5(char *fname,unsigned long fname_len)
        return 0;
 }
 
-bool import_data(int _iDatasetId, int _iItemPos, int* _piAddress, char* _pstVarname)
+static bool import_data(int _iDatasetId, int _iItemPos, int* _piAddress, char* _pstVarname)
 {
        bool bRet = false;
        //get var type
@@ -183,14 +183,14 @@ bool import_data(int _iDatasetId, int _iItemPos, int* _piAddress, char* _pstVarn
        default : 
                {
                        char pstMsg[512];
-                       sprintf(pstMsg, "Unknow type : %d", iVarType);
+                       sprintf(pstMsg, "Unknown type : %d", iVarType);
                        print_tree(pstMsg);
                }
        }
        return bRet;
 }
 
-bool import_double(int _iDatasetId, int _iItemPos, int* _piAddress, char* _pstVarname)
+static bool import_double(int _iDatasetId, int _iItemPos, int* _piAddress, char* _pstVarname)
 {
        int iRet                                                = 0;
        double *pdblReal                = NULL;
@@ -270,7 +270,7 @@ bool import_double(int _iDatasetId, int _iItemPos, int* _piAddress, char* _pstVa
        return true;
 }
 
-bool import_string(int _iDatasetId, int _iItemPos, int* _piAddress, char* _pstVarname)
+static bool import_string(int _iDatasetId, int _iItemPos, int* _piAddress, char* _pstVarname)
 {
        int iRet                                                = 0;
        int i                                                           = 0;
@@ -318,7 +318,7 @@ bool import_string(int _iDatasetId, int _iItemPos, int* _piAddress, char* _pstVa
        return true;
 }
 
-bool import_integer(int _iDatasetId, int _iItemPos, int* _piAddress, char* _pstVarname)
+static bool import_integer(int _iDatasetId, int _iItemPos, int* _piAddress, char* _pstVarname)
 {
        int iRet                                                = 0;
        int     iRows                                           = 0;
@@ -430,7 +430,7 @@ bool import_integer(int _iDatasetId, int _iItemPos, int* _piAddress, char* _pstV
        return true;
 }
 
-bool import_boolean(int _iDatasetId, int _iItemPos, int* _piAddress, char* _pstVarname)
+static bool import_boolean(int _iDatasetId, int _iItemPos, int* _piAddress, char* _pstVarname)
 {
        int iRet                                                = 0;
        int* piData                                     = NULL;
@@ -479,7 +479,7 @@ bool import_boolean(int _iDatasetId, int _iItemPos, int* _piAddress, char* _pstV
        return true;
 }
 
-bool import_poly(int _iDatasetId, int _iItemPos, int* _piAddress, char* _pstVarname)
+static bool import_poly(int _iDatasetId, int _iItemPos, int* _piAddress, char* _pstVarname)
 {
        int iRet                                                = 0;
        int i                                                           = 0;
@@ -562,7 +562,7 @@ bool import_poly(int _iDatasetId, int _iItemPos, int* _piAddress, char* _pstVarn
        return true;
 }
 
-bool import_sparse(int _iDatasetId, int _iItemPos, int* _piAddress, char* _pstVarname)
+static bool import_sparse(int _iDatasetId, int _iItemPos, int* _piAddress, char* _pstVarname)
 {
        int iRet                                                = 0;
        int i                                                           = 0;
@@ -649,7 +649,7 @@ bool import_sparse(int _iDatasetId, int _iItemPos, int* _piAddress, char* _pstVa
        return true;
 }
 
-bool import_boolean_sparse(int _iDatasetId, int _iItemPos, int* _piAddress, char* _pstVarname)
+static bool import_boolean_sparse(int _iDatasetId, int _iItemPos, int* _piAddress, char* _pstVarname)
 {
        int iRet                                                = 0;
        int i                                                           = 0;
@@ -699,7 +699,7 @@ bool import_boolean_sparse(int _iDatasetId, int _iItemPos, int* _piAddress, char
        return true;
 }
 
-bool import_list(int _iDatasetId, int _iVarType, int _iItemPos, int* _piAddress, char* _pstVarname)
+static bool import_list(int _iDatasetId, int _iVarType, int _iItemPos, int* _piAddress, char* _pstVarname)
 {
        int iRet                                                                = 0;
        int i                                                                           = 0;
index 4f554e2..4da68ea 100644 (file)
@@ -33,10 +33,7 @@ $SCILAB : scilab path (SCI in Scilab)
 -->
 
 <!-- enable-debug-java enables some more checks
-<option value='-verbose:jni'/>
-          <option value='-Xcheck:jni'/>
--->
 @JAVA_DEBUG_OPTIONS@
-
+-->
 <!-- comments -->
 </jvm_options>