coan 4.2.4
|
#include "opts.h"
Go to the source code of this file.
Defines | |
#define | PODSWAP(Type, lhs, rhs) do { Type tmp = *(lhs); *lhs = *rhs; *rhs = tmp; } while(0) |
This file provides generic utility routines
Definition in file swiss_army.h.
#define PODSWAP | ( | Type, | |
lhs, | |||
rhs | |||
) | do { Type tmp = *(lhs); *lhs = *rhs; *rhs = tmp; } while(0) |
Swap the POD objects addressed by pair of pointers.
Type | The type of the objects addressed by the pointers. |
lhs | Pointer to the first POD object to swap |
rhs | Pointer to the second POD object to swap |
Definition at line 53 of file swiss_army.h.
Referenced by canonical_string_swap(), file_tree_swap(), ptr_set_swap(), ptr_vector_swap(), and symbol_swap().