[types] fix broken .giws.xml file 01/21001/4
St├ęphane Mottelet [Fri, 7 Jun 2019 10:08:50 +0000 (12:08 +0200)]
Change-Id: I3372e46fa985a9d5a3e177ad708a016d482c0071

scilab/modules/types/src/jni/ScilabVariables.giws.xml

index 2e6f19f..2a3f9a1 100644 (file)
@@ -1,4 +1,4 @@
-    <package name="org.scilab.modules.types">
+<package name="org.scilab.modules.types">
 
     <object name="ScilabVariables">
         <method name="getAllListenedVariables" returnType="String[]" modifier="static" />
             <param type="int" name="handlerId"/>
         </method>
 
+        <!-- double matrix by reference-->
+        <method name="sendDataAsBuffer" returnType="void" modifier="static">
+            <param type="String" name="varName" />
+            <param type="int[]" name="indexes" />
+            <param type="DoubleBuffer" name="data"/>
+            <param type="int" name="rows"/>
+            <param type="int" name="cols"/>
+            <param type="int" name="handlerId"/>
+        </method>
+
         <!-- complex matrix-->
         <method name="sendData" returnType="void" modifier="static">
             <param type="String" name="varName" />
             <param type="int" name="handlerId"/>
         </method>
 
+        <!-- complex matrix by reference-->
+        <method name="sendDataAsBuffer" returnType="void" modifier="static">
+            <param type="String" name="varName" />
+            <param type="int[]" name="indexes" />
+            <param type="DoubleBuffer" name="real"/>
+            <param type="DoubleBuffer" name="img"/>
+            <param type="int" name="rows"/>
+            <param type="int" name="cols"/>
+            <param type="int" name="handlerId"/>
+        </method>
+
         <!-- int8 matrix-->
         <method name="sendData" returnType="void" modifier="static">
             <param type="String" name="varName" />
             <param type="int" name="handlerId"/>
         </method>
 
+        <!-- int8 matrix by reference-->
+        <method name="sendDataAsBuffer" returnType="void" modifier="static">
+            <param type="String" name="varName" />
+            <param type="int[]" name="indexes" />
+            <param type="ByteBuffer" name="data"/>
+            <param type="int" name="rows"/>
+            <param type="int" name="cols"/>
+            <param type="int" name="handlerId"/>
+        </method>
+
+        <!-- uint8 matrix by reference-->
+        <method name="sendUnsignedDataAsBuffer" returnType="void" modifier="static">
+            <param type="String" name="varName" />
+            <param type="int[]" name="indexes" />
+            <param type="ByteBuffer" name="data"/>
+            <param type="int" name="rows"/>
+            <param type="int" name="cols"/>
+            <param type="int" name="handlerId"/>
+        </method>
+
         <!-- int16 matrix-->
         <method name="sendData" returnType="void" modifier="static">
             <param type="String" name="varName" />
             <param type="int" name="handlerId"/>
         </method>
 
+        <!-- int16 matrix by reference-->
+        <method name="sendDataAsBuffer" returnType="void" modifier="static">
+            <param type="String" name="varName" />
+            <param type="int[]" name="indexes" />
+            <param type="ShortBuffer" name="data"/>
+            <param type="int" name="rows"/>
+            <param type="int" name="cols"/>
+            <param type="int" name="handlerId"/>
+        </method>
+
+        <!-- uint16 matrix by reference-->
+        <method name="sendUnsignedDataAsBuffer" returnType="void" modifier="static">
+            <param type="String" name="varName" />
+            <param type="int[]" name="indexes" />
+            <param type="ShortBuffer" name="data"/>
+            <param type="int" name="rows"/>
+            <param type="int" name="cols"/>
+            <param type="int" name="handlerId"/>
+        </method>
+
         <!-- int32 matrix-->
         <method name="sendData" returnType="void" modifier="static">
             <param type="String" name="varName" />
             <param type="int" name="handlerId"/>
         </method>
 
-        <!-- int64, uint64 matrix-->
+        <!-- int32 matrix by reference-->
+        <method name="sendDataAsBuffer" returnType="void" modifier="static">
+            <param type="String" name="varName" />
+            <param type="int[]" name="indexes" />
+            <param type="IntBuffer" name="data"/>
+            <param type="int" name="rows"/>
+            <param type="int" name="cols"/>
+            <param type="int" name="handlerId"/>
+        </method>
+
+        <!-- uint32 matrix by reference-->
+        <method name="sendUnsignedDataAsBuffer" returnType="void" modifier="static">
+            <param type="String" name="varName" />
+            <param type="int[]" name="indexes" />
+            <param type="IntBuffer" name="data"/>
+            <param type="int" name="rows"/>
+            <param type="int" name="cols"/>
+            <param type="int" name="handlerId"/>
+        </method>
+
+        <!-- int64 matrix-->
         <method name="sendData" returnType="void" modifier="static">
             <param type="String" name="varName" />
             <param type="int[]" name="indexes" />
             <param type="int" name="handlerId"/>
         </method>
 
+        <!-- uint64 matrix-->
+        <method name="sendUnsignedData" returnType="void" modifier="static">
+            <param type="String" name="varName" />
+            <param type="int[]" name="indexes" />
+            <param type="long[][]" name="data"/>
+            <param type="boolean" name="swaped"/>
+            <param type="int" name="handlerId"/>
+        </method>
+
+        <!-- int64 matrix by reference-->
+        <method name="sendDataAsBuffer" returnType="void" modifier="static">
+            <param type="String" name="varName" />
+            <param type="int[]" name="indexes" />
+            <param type="LongBuffer" name="data"/>
+            <param type="int" name="rows"/>
+            <param type="int" name="cols"/>
+            <param type="int" name="handlerId"/>
+        </method>
+
+        <!-- uint64 matrix by reference-->
+        <method name="sendUnsignedDataAsBuffer" returnType="void" modifier="static">
+            <param type="String" name="varName" />
+            <param type="int[]" name="indexes" />
+            <param type="LongBuffer" name="data"/>
+            <param type="int" name="rows"/>
+            <param type="int" name="cols"/>
+            <param type="int" name="handlerId"/>
+        </method>
+
         <!-- boolean matrix-->
         <method name="sendData" returnType="void" modifier="static">
             <param type="String" name="varName" />
             <param type="int" name="handlerId"/>
         </method>
 
+        <!-- boolean matrix by reference-->
+        <method name="sendBooleanDataAsBuffer" returnType="void" modifier="static">
+            <param type="String" name="varName" />
+            <param type="int[]" name="indexes" />
+            <param type="IntBuffer" name="data"/>
+            <param type="int" name="rows"/>
+            <param type="int" name="cols"/>
+            <param type="int" name="handlerId"/>
+        </method>
+
         <!-- String matrix-->
         <method name="sendData" returnType="void" modifier="static">
             <param type="String" name="varName" />
         <!-- Lists -->
         <method name="sendData" returnType="void" modifier="static">
             <param type="String" name="varName" />
+            <param type="int" name="nbItems" />
             <param type="int[]" name="indexes" />
             <param type="char" name="type" />
             <param type="int" name="handlerId"/>
             <param type="int" name="handlerId"/>
         </method>
 
+        <!-- Sparse matrix by reference-->
+        <method name="sendDataAsBuffer" returnType="void" modifier="static">
+            <param type="String" name="varName" />
+            <param type="int[]" name="indexes" />
+            <param type="int" name="row"/>
+            <param type="int" name="col"/>
+            <param type="int" name="nbItem"/>
+            <param type="IntBuffer" name="nbItemRow"/>
+            <param type="IntBuffer" name="colPos"/>
+            <param type="DoubleBuffer" name="data"/>
+            <param type="int" name="handlerId"/>
+        </method>
+
         <!-- Complex sparse matrix-->
         <method name="sendData" returnType="void" modifier="static">
             <param type="String" name="varName" />
             <param type="int" name="handlerId"/>
         </method>
 
+        <!-- Complex Sparse matrix by reference-->
+        <method name="sendDataAsBuffer" returnType="void" modifier="static">
+            <param type="String" name="varName" />
+            <param type="int[]" name="indexes" />
+            <param type="int" name="row"/>
+            <param type="int" name="col"/>
+            <param type="int" name="nbItem"/>
+            <param type="IntBuffer" name="nbItemRow"/>
+            <param type="IntBuffer" name="colPos"/>
+            <param type="DoubleBuffer" name="real"/>
+            <param type="DoubleBuffer" name="imag"/>
+            <param type="int" name="handlerId"/>
+        </method>
+
         <!-- Boolean sparse matrix-->
         <method name="sendData" returnType="void" modifier="static">
             <param type="String" name="varName" />
             <param type="int[]" name="colPos"/>
             <param type="int" name="handlerId"/>
         </method>
+
+        <!-- Boolean sparse matrix by reference-->
+        <method name="sendDataAsBuffer" returnType="void" modifier="static">
+            <param type="String" name="varName" />
+            <param type="int[]" name="indexes" />
+            <param type="int" name="row"/>
+            <param type="int" name="col"/>
+            <param type="int" name="nbItem"/>
+            <param type="IntBuffer" name="nbItemRow"/>
+            <param type="IntBuffer" name="colPos"/>
+            <param type="int" name="handlerId"/>
+        </method>
     </object>
 
     <object name="ScilabVariablesRefresh">