Use C code tag for C and Matlab code (avoid warnings about undocumented functions... 37/12537/1
Vincent COUVERT [Fri, 13 Sep 2013 15:20:09 +0000 (17:20 +0200)]
Change-Id: I406dc3b51abcb86419b3dd628de969a2b6a5dd3b

scilab/modules/call_scilab/help/en_US/StartScilab.xml
scilab/modules/call_scilab/help/en_US/TerminateScilab.xml
scilab/modules/call_scilab/help/en_US/call_scilab.xml
scilab/modules/m2sci/help/en_US/m2sci_equivalents/f/fprintf.xml
scilab/modules/m2sci/help/en_US/m2sci_equivalents/f/fscanf.xml

index 985ab43..5f137bd 100644 (file)
@@ -79,7 +79,7 @@
     </refsection>
     <refsection>
         <title>Examples</title>
-        <programlisting role="example"> 
+        <programlisting role="c"> 
             // A simple StartScilab example
             if ( StartScilab(getenv("SCI"), NULL, 0) == FALSE )
             {
index f6a58fa..2e6430c 100644 (file)
@@ -56,7 +56,7 @@
     </refsection>
     <refsection>
         <title>Examples</title>
-        <programlisting role="example"><![CDATA[ 
+        <programlisting role="c"><![CDATA[ 
 // A simple TerminateScilab example
 if ( TerminateScilab(NULL) == FALSE ) {
  fprintf(stderr,"Error while calling TerminateScilab\n");
index 6fc02b4..4e043f8 100644 (file)
@@ -38,7 +38,7 @@
     </refsection>
     <refsection>
         <title>Examples</title>
-        <programlisting role="example"><![CDATA[ 
+        <programlisting role="c"><![CDATA[ 
 // A simple call_scilab example 
 
 #include <stdio.h> /* stderr */
index f0315c0..abede01 100644 (file)
@@ -28,7 +28,7 @@
             </tr>
             <tr>
                 <td>
-                    <programlisting role="example"><![CDATA[
+                    <programlisting role="c"><![CDATA[
 fprintf
 ]]></programlisting>
                 </td>
index 7cdce23..598bd72 100644 (file)
@@ -28,7 +28,7 @@
             </tr>
             <tr>
                 <td>
-                    <programlisting role="example"><![CDATA[
+                    <programlisting role="c"><![CDATA[
 fscanf
 ]]></programlisting>
                 </td>