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@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/dev

Reply via email to