Revert "Update of messages"
Sylvestre Ledru [Thu, 13 Aug 2009 12:49:32 +0000 (14:49 +0200)]
This reverts commit 776bae120fc6fcbcb764c27f3796f2003da35cfb.

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