<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hello René,<br>
    <br>
    With Scilab 5.3.0, late of 2010, we have introduce a new API that
    will be compatible with new Scilab 6 environment.<br>
    The goal was to depreciate stackx.h interface too dependent on the
    format of the old data storage format. ( called "stack" ).<br>
    This interface is defined in Scilab documentation :
<a class="moz-txt-link-freetext" href="https://help.scilab.org/docs/6.0.0/en_US/section_57c66b650f71d7a7eaca3dfe608a4c08.html">https://help.scilab.org/docs/6.0.0/en_US/section_57c66b650f71d7a7eaca3dfe608a4c08.html</a><br>
    During development of Scilab 6, we worked on a more efficient API:
    <a class="moz-txt-link-freetext" href="https://help.scilab.org/docs/6.0.1/en_US/api_scilab.html">https://help.scilab.org/docs/6.0.1/en_US/api_scilab.html</a><br>
    <br>
    If you want to write gateways and keep compatibility between 5 and
    6, prefer
<a class="moz-txt-link-freetext" href="https://help.scilab.org/docs/6.0.0/en_US/section_57c66b650f71d7a7eaca3dfe608a4c08.html">https://help.scilab.org/docs/6.0.0/en_US/section_57c66b650f71d7a7eaca3dfe608a4c08.html</a><br>
    If you want to write for Scilab 6 and more use
    <a class="moz-txt-link-freetext" href="https://help.scilab.org/docs/6.0.1/en_US/api_scilab.html">https://help.scilab.org/docs/6.0.1/en_US/api_scilab.html</a><br>
    <br>
    You can find examples in documentation or in the demonstration
    toolbox 'toolbox skeleton' in your Scilab installation folder.
    (SCI/contrib/toolbox_skeleton)<br>
    For example the same gateway writes in both API:<br>
    -->
    edit("SCI/contrib/toolbox_skeleton/sci_gateway/c/sci_csum.c");
    //compatible 5 and 6 version<br>
    -->
    edit("SCI/contrib/toolbox_skeleton/sci_gateway/c/sci_csum6.c");
    //scilab 6 and more<br>
    <br>
    Thank you for the report, we need to update or remove old examples.<br>
    Regards,<br>
    Antoine<br>
    <div class="moz-cite-prefix">Le 01/02/2019 à 09:55, René Grognard a
      écrit :<br>
    </div>
    <blockquote type="cite"
cite="mid:CAA41Ew0PfmG+kZvLxZ+6v9cjnPN59zXt7=vQpFTok6gPsqpWiw@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="ltr">
          <div dir="ltr">
            <div dir="ltr">
              <div dir="ltr">
                <div dir="ltr">
                  <div>Dear user or developer experienced in the new
                    Scilab C API,<br>
                  </div>
                  <div><br>
                  </div>
                  <div>All the sub-directory:
                    scilab-6.0.1/share/scilab/modules/dynamic_link/examples/gateway,
                    giving a nice, non-trivial example of a gateway,
                    seems an identical copy of the same sub-directory in
                    scilab-5.5.2. <br>
                  </div>
                  <div><br>
                  </div>
                  <div>Is there somewhere a version converted for
                    scilab-6.0.1 ? <br>
                  </div>
                  <div><br>
                  </div>
                  <div>The conversion does not seem at all obvious to
                    me. For example I cannot see how the simple
                    instructions given by: Port to the Scilab 6 C API,
                    in: Gateways: from Scilab 5 to Scilab 6, could ever
                    make this gateway compatible with both the Scilab 5
                    and 6 APIs. (Is there a "mapping" somewhere between
                    the functions, etc, of the old and new Scilab APIs
                    as there is between Scilab and Matlab?)<br>
                  </div>
                  <div><br>
                  </div>
                  <div>The conversion of that gateway example --- with
                    matrix multiplication in C --- would be a far better
                    example to: Getting started with API_Scilab, than
                    the rather trivial one given. At any rate as it
                    stands the sub-directory in question has no place
                    within the current scilab-6.0.1.</div>
                  <div><br>
                  </div>
                  <div>Thanks for any comment and maybe the location of
                    an updated version of this particular gateway
                    example.</div>
                  <div><br>
                  </div>
                  <div>René Grognard</div>
                  <div><br>
                  </div>
                  <div><br>
                  </div>
                  <div><br>
                  </div>
                  <div><br>
                  </div>
                  <div><br>
                  </div>
                  <div><br>
                  </div>
                  <div><br>
                  </div>
                  <div><br>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a>
<a class="moz-txt-link-freetext" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>