home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / GCC / GERLIB_USR08B.LHA / gerlib / support / g++include / swap.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-12-12  |  133 b   |  4 lines

  1. /* From Ron Guillmette; apparently needed for Hansen's code */
  2.  
  3. #define swap(a,b) ({ typeof(a) temp = (a); (a) = (b); (b) = temp; })
  4.