]> www.ginac.de Git - cln.git/blob - src/base/cl_xmacros.h
* Removed internal gmp/ directory and other traces of it like $GMP_INCLUDES.
[cln.git] / src / base / cl_xmacros.h
1 // CLN internal macros extra
2 // This file must be included after other system include files.
3
4 #ifndef _CL_XMACROS_H
5 #define _CL_XMACROS_H
6
7 // Swap the contents of two variables:  swap(int, x1, x2);
8   #define swap(swap_type,swap_var1,swap_var2)  \
9     { var swap_type swap_temp;                                             \
10       swap_temp = swap_var1; swap_var1 = swap_var2; swap_var2 = swap_temp; \
11     }
12
13 #endif /* _CL_XMACROS_H */