[Scilab-Dev] Evolution of Scilab API

Stéphane Mottelet stephane.mottelet at utc.fr
Tue Feb 13 16:45:41 CET 2018


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




More information about the dev mailing list