diff options
author | Ankit Raj | 2017-06-21 11:00:07 +0530 |
---|---|---|
committer | Ankit Raj | 2017-06-21 11:00:07 +0530 |
commit | efd4b2645e3fd3c3cdd7b65501a0e7ae26d03c59 (patch) | |
tree | 65444449ab64db280008c59b08204ee775db26df /interfaces/int_bin2dec.h | |
parent | b33afdb2311fbe8aad4c5c614c6098585fe2d279 (diff) | |
download | Scilab2C_fossee_old-efd4b2645e3fd3c3cdd7b65501a0e7ae26d03c59.tar.gz Scilab2C_fossee_old-efd4b2645e3fd3c3cdd7b65501a0e7ae26d03c59.tar.bz2 Scilab2C_fossee_old-efd4b2645e3fd3c3cdd7b65501a0e7ae26d03c59.zip |
Functions added - string related and signal processing
Diffstat (limited to 'interfaces/int_bin2dec.h')
-rw-r--r-- | interfaces/int_bin2dec.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/interfaces/int_bin2dec.h b/interfaces/int_bin2dec.h new file mode 100644 index 0000000..c8e07b0 --- /dev/null +++ b/interfaces/int_bin2dec.h @@ -0,0 +1,37 @@ + /* Copyright (C) 2016 - IIT Bombay - FOSSEE + + This file must be used under the terms of the CeCILL. + This source file is licensed as described in the file COPYING, which + you should have received as part of this distribution. The terms + are also available at + http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt + Author: Shamik Guha + Organization: FOSSEE, IIT Bombay + Email: toolbox@scilab.in + */ +#ifndef __INT_bin2dec_H__ +#define __INT_bin2dec_H__ + + #ifdef __cplusplus + extern "C" { + #endif + +#define d0bin2decd0(in) dbin2decs(in) +#define i80bin2deci80(in) i8bin2decs(in) +//#define i160bin2deci160(in) i16bin2decs(in) +#define u80bin2decu80(in) u8bin2decs(in) +#define u160bin2decu160(in) u16bin2decs(in) + +#define d2bin2decd2(in,size,out) dbin2deca(in,size[0]*size[1],out) +#define i82bin2deci82(in,size,out) i8bin2deca(in,size[0]*size[1],out) +//#define i162bin2deci162(in,size,out) i16bin2deca(in,size[0]*size[1],out) +#define u82bin2decu82(in,size,out) u8bin2deca(in,size[0]*size[1],out) +#define u162bin2decu162(in,size,out) u16bin2deca(in,size[0]*size[1],out) + + + + #ifdef __cplusplus + } /* extern "C" */ + #endif + +#endif /*__INT_bin2dec_H__*/ |