summaryrefslogtreecommitdiff
path: root/src/c/elementaryFunctions/includes
diff options
context:
space:
mode:
authorSiddhesh Wani2017-05-04 16:15:18 +0530
committerSiddhesh Wani2017-05-04 16:15:18 +0530
commite36eac94dd517bb69d3e5782516ee58942451991 (patch)
tree54347eba02cd5287ac5884ab84a5ca0c99f33edb /src/c/elementaryFunctions/includes
parentc7e9597db39140c1d982f796a8e1f03bb54e7905 (diff)
downloadScilab2C_fossee_old-e36eac94dd517bb69d3e5782516ee58942451991.tar.gz
Scilab2C_fossee_old-e36eac94dd517bb69d3e5782516ee58942451991.tar.bz2
Scilab2C_fossee_old-e36eac94dd517bb69d3e5782516ee58942451991.zip
Basic functions and image processing working with MSVC on windows x64
Diffstat (limited to 'src/c/elementaryFunctions/includes')
-rw-r--r--src/c/elementaryFunctions/includes/bin2dec.h4
-rw-r--r--src/c/elementaryFunctions/includes/get_float.h2
-rw-r--r--src/c/elementaryFunctions/includes/sec.h4
3 files changed, 6 insertions, 4 deletions
diff --git a/src/c/elementaryFunctions/includes/bin2dec.h b/src/c/elementaryFunctions/includes/bin2dec.h
index 792e368..ea1585f 100644
--- a/src/c/elementaryFunctions/includes/bin2dec.h
+++ b/src/c/elementaryFunctions/includes/bin2dec.h
@@ -19,13 +19,13 @@ extern "C" {
long double dbin2decs(long double in);
int8 i8bin2decs(int8 in);
-//int16 i16bin2decs(int16 in);
+int16 i16bin2decs(int16 in);
uint8 u8bin2decs(uint8 in);
uint16 u16bin2decs(uint16 in);
void dbin2deca(double* in,int size,double* out);
void i8bin2deca(int8* in,int size,int8* out);
-//void i16bin2deca(int16* in,int size,int16* out);
+void i16bin2deca(int16* in,int size,int16* out);
void u8bin2deca(uint8* in,int size,uint8* out);
void u16bin2deca(uint16* in,int size,uint16* out);
diff --git a/src/c/elementaryFunctions/includes/get_float.h b/src/c/elementaryFunctions/includes/get_float.h
index 1ada71c..285cb9c 100644
--- a/src/c/elementaryFunctions/includes/get_float.h
+++ b/src/c/elementaryFunctions/includes/get_float.h
@@ -31,6 +31,8 @@ EXTERN_ELEMFUNCT float dfloats(double in);
EXTERN_ELEMFUNCT float i8floats(int8 in);
+EXTERN_ELEMFUNCT float u8floats(uint8 in);
+
EXTERN_ELEMFUNCT float u16floats(uint16 in);
EXTERN_ELEMFUNCT float i16floats(int16 in);
diff --git a/src/c/elementaryFunctions/includes/sec.h b/src/c/elementaryFunctions/includes/sec.h
index 08120ed..9606158 100644
--- a/src/c/elementaryFunctions/includes/sec.h
+++ b/src/c/elementaryFunctions/includes/sec.h
@@ -13,7 +13,7 @@
#define __SEC_H__
#include "dynlib_elementaryfunctions.h"
#include "floatComplex.h"
-//#include "doubleComplex.h"
+#include "doubleComplex.h"
#include <complex.h>
#include "types.h"
@@ -26,7 +26,7 @@ double dsecs(double in);
void sseca(float* in,int size,float* out);
float ssecs(float in);
-void zsecs(double complex z);
+doubleComplex zsecs(doubleComplex z);
//void zseca(doubleComplex* in, int size,doubleComplex* out);
floatComplex csecs(floatComplex z);
void cseca(floatComplex* in, int size,floatComplex* out);