diff options
author | Abhinav Dronamraju | 2017-07-07 17:08:57 +0530 |
---|---|---|
committer | Abhinav Dronamraju | 2017-07-07 17:08:57 +0530 |
commit | 441f3e61481c1de99bbc408292224eb28a62bea7 (patch) | |
tree | dba1f151319fddb855ede2979c9637dbba8c921e /2.3-1 | |
parent | 4725141f2cb4e7de494d7eae8664ab9172dafc13 (diff) | |
download | Scilab2C-441f3e61481c1de99bbc408292224eb28a62bea7.tar.gz Scilab2C-441f3e61481c1de99bbc408292224eb28a62bea7.tar.bz2 Scilab2C-441f3e61481c1de99bbc408292224eb28a62bea7.zip |
Isscalar added
Diffstat (limited to '2.3-1')
-rw-r--r-- | 2.3-1/macros/runsci2c.sci | 1 | ||||
-rw-r--r-- | 2.3-1/src/c/elementaryFunctions/interfaces/int_isscalar.h (renamed from 2.3-1/src/c/elementaryFunctions/interfaces/int_isiscalar.h) | 4 | ||||
-rw-r--r-- | 2.3-1/src/c/elementaryFunctions/isscalar/disscalara.c | 2 | ||||
-rw-r--r-- | 2.3-1/src/c/elementaryFunctions/isscalar/disscalars.c (renamed from 2.3-1/src/c/elementaryFunctions/isscalar/disiscalars.c) | 0 |
4 files changed, 4 insertions, 3 deletions
diff --git a/2.3-1/macros/runsci2c.sci b/2.3-1/macros/runsci2c.sci index 2fc66be8..14e5a527 100644 --- a/2.3-1/macros/runsci2c.sci +++ b/2.3-1/macros/runsci2c.sci @@ -138,6 +138,7 @@ PrintStepInfo('Copying interfaces', FileInfo.GeneralReport,'both'); for i = 1:size(allInterfaces, "*")
// DEBUG only
//disp("Copying "+allInterfaces(i)+" in "+SCI2COutputPath+"/interfaces/");
+
copyfile(allInterfaces(i), SCI2COutputPath+"/interfaces/");
end
diff --git a/2.3-1/src/c/elementaryFunctions/interfaces/int_isiscalar.h b/2.3-1/src/c/elementaryFunctions/interfaces/int_isscalar.h index 9d139712..0b25be12 100644 --- a/2.3-1/src/c/elementaryFunctions/interfaces/int_isiscalar.h +++ b/2.3-1/src/c/elementaryFunctions/interfaces/int_isscalar.h @@ -10,8 +10,8 @@ -#ifndef __INT_ISROW_H__ -#define __INT_ISROW_H__ +#ifndef __INT_ISSCALAR_H__ +#define __INT_ISSCALAR_H__ #define d2isscalarg0(in, size ) disscalara(in, size[0]) #define d0isscalarg0(in) disscalars(in) diff --git a/2.3-1/src/c/elementaryFunctions/isscalar/disscalara.c b/2.3-1/src/c/elementaryFunctions/isscalar/disscalara.c index 7f440197..eb70cf6a 100644 --- a/2.3-1/src/c/elementaryFunctions/isscalar/disscalara.c +++ b/2.3-1/src/c/elementaryFunctions/isscalar/disscalara.c @@ -15,7 +15,7 @@ #include <math.h> #include "isscalar.h" #include "types.h" -char discalara(double* inp, int size1) +char disscalara(double* inp, int size1) { char out= 'F' ; diff --git a/2.3-1/src/c/elementaryFunctions/isscalar/disiscalars.c b/2.3-1/src/c/elementaryFunctions/isscalar/disscalars.c index fe7ce3e3..fe7ce3e3 100644 --- a/2.3-1/src/c/elementaryFunctions/isscalar/disiscalars.c +++ b/2.3-1/src/c/elementaryFunctions/isscalar/disscalars.c |