diff options
Diffstat (limited to 'interfaces/int_fix.h')
-rw-r--r-- | interfaces/int_fix.h | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/interfaces/int_fix.h b/interfaces/int_fix.h new file mode 100644 index 0000000..2a00e2c --- /dev/null +++ b/interfaces/int_fix.h @@ -0,0 +1,50 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008-2008 - INRIA - Bruno JOFRET + * + * 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 + * + */ + +/* THIS IS AN AUTOMATICALLY GENERATED FILE : DO NOT EDIT BY HAND. */ + +#ifndef __INT_FIX_H__ +#define __INT_FIX_H__ + +#define s0fixs0(in) sfixs(in) + +#define d0fixd0(in) dfixs(in) + +#define c0fixc0(in) cfixs(in) + +#define z0fixz0(in) zfixs(in) + +#define u80fixu80(in) u8fixs(in) + +#define i80fixi80(in) i8fixs(in) + +#define u160fixu160(in) u16fixs(in) + +#define i160fixi160(in) i16fixs(in) + +#define s2fixs2(in,size,out) sfixa(in, size[0]*size[1], out) + +#define d2fixd2(in,size,out) dfixa(in, size[0]*size[1], out) + +#define c2fixc2(in,size,out) cfixa(in, size[0]*size[1], out) + +#define z2fixz2(in,size,out) zfixa(in, size[0]*size[1], out) + +#define u82fixu82(in,size,out) u8fixa(in, size[0]*size[1], out) + +#define i82fixi82(in,size,out) i8fixa(in, size[0]*size[1], out) + +#define u162fixu162(in,size,out) u16fixa(in, size[0]*size[1], out) + +#define i162fixi162(in,size,out) i16fixa(in, size[0]*size[1], out) + +#endif /* !__INT_FIX_H__ */ |