Move the sources to trunk
[opencv] / apps / cvenv / EiC / stdClib / stdliblocal.h
1 #ifndef STDLIBLOCALH_
2 #define STDLIBLOCALH_
3
4 char * strrev(char *s);
5 char *utoa(unsigned int n, char *s, int radix);
6 char *itoa(int n, char *s, int radix);
7 char *ultoa(unsigned long n, char *s, int radix);
8 char *ltoa(long n, char *s, int radix);
9
10 char *fftoa(double d, char *str, int p, char type, int trunc);
11
12 int charout_(int c, char **buf);
13 int charin_(char **buf);
14 int charback_(int ch, char **buf);
15
16 int strround(char *s,int len);
17
18
19 #define setEp(P,sz)  (P).ep = (char*)(P).p + (sz)
20
21 #define getptrarg(x,y)  y = arg(x,getargs(),ptr_t)
22 #define checkEp(P,s)  if((char*)P.p + (s) > (char *)P.ep)\
23                              EiC_Mod_Error("Access beyond array\n");
24
25 extern void EiC_Mod_Error(char *fmt, ...);
26
27 #endif