comparison code_part1/OSTC_code_c_part2/shared_definitions.h @ 275:4310ab395dbe

Keep low_depth in float 32bits (w/o rounding) for a better stability.
author JeanDo
date Mon, 18 Apr 2011 00:10:44 +0200
parents d995e220ddac
children 17aab4ca0547
comparison
equal deleted inserted replaced
274:a728b4a1b660 275:4310ab395dbe
44 #endif 44 #endif
45 45
46 #ifdef __18CXX 46 #ifdef __18CXX
47 //------------------------------------------------------------------------ 47 //------------------------------------------------------------------------
48 // C-style declarations: 48 // C-style declarations:
49 # ifdef TEST_MAIN 49 # ifndef TEST_MAIN
50 # define VAR_UCHAR(n) extern unsigned char n 50 # define VAR_UCHAR(n) extern unsigned char n
51 # define TAB_UCHAR(n,size) extern unsigned char n[size] 51 # define TAB_UCHAR(n,size) extern unsigned char n[size]
52 # define VAR_UINT(n) extern unsigned short n 52 # define VAR_UINT(n) extern unsigned short n
53 # define TAB_UINT(n,size) extern unsigned short n[size] 53 # define TAB_UINT(n,size) extern unsigned short n[size]
54 # else 54 # else