[Scilab-Dev] Evolution of Scilab API
Arvid Rosén
arvid at softube.com
Tue Feb 13 19:10:52 CET 2018
I'm also interested in knowing this since I need to port a bunch of libraries from scilab 4/5 to version 6.
The documentation is a bit confusing in this area.
A tiny example with minimalistic code and a Makefile showing best practices for C and C++ in scilab 6 would be great!
Cheers,
Arvid
Hämta Outlook för iOS<https://aka.ms/o0ukef>
________________________________
From: dev <dev-bounces at lists.scilab.org> on behalf of Stéphane Mottelet <stephane.mottelet at utc.fr>
Sent: Tuesday, February 13, 2018 4:45:41 PM
To: List dedicated to development questions
Subject: [Scilab-Dev] Evolution of Scilab API
Hello,
I am a bit puzzled by the evolution of Scilab api since Scilab 5.x
versions. I have understood that the old stack system has dissapeared,
but now I am very confused because it seems that two different ways of
interfacing C code do exist. For example
#include "api_scilab.h"
#include <localization.h>
#include <string.h>
#include "Scierror.h"
int fun(char *fname, void *pvApiCtx)
or
#include "api_scilab.h"
#include <localization.h>
#include <string.h>
#include "Scierror.h"
int fun(scilabEnv env, int nin, scilabVar* in, int nopt, scilabOpt opt,
int nout, scilabVar* out)
Is the first snipplet of code above considered as obsolete ?
Thanks for help
S.
--
Stéphane Mottelet
Ingénieur de recherche
EA 4297 Transformations Intégrées de la Matière Renouvelable
Département Génie des Procédés Industriels
Sorbonne Universités - Université de Technologie de Compiègne
CS 60319, 60203 Compiègne cedex
Tel : +33(0)344234688
http://www.utc.fr/~mottelet
_______________________________________________
dev mailing list
dev at lists.scilab.org
http://lists.scilab.org/mailman/listinfo/dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/dev/attachments/20180213/5e447008/attachment.htm>
More information about the dev
mailing list