Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

#define phSWAP a,
 )     { int itemp=(a);(a)=(b);(b)=itemp; }
 

This is a macro that swaps the value of two different integers using the temporary variable method.

Parameters:
a an integer whose value will be placed into b
b an integer whose value will be placed into a

Definition at line 284 of file phStandard.h.





Copyright (C) 2002 - 2007 Philip D.S. Thoren ( pthoren@users.sourceforge.net )
University Of Massachusetts at Lowell
Robotics Lab
SourceForge.net Logo

Generated on Sat Jun 16 02:45:27 2007 for phission by  doxygen 1.4.4