PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ swap_char()

void swap_char ( uint8_t a,
uint8_t b 
)

Definition at line 154 of file rt_serialize.c.

Referenced by flip_endian_16(), flip_endian_32(), and flip_endian_64().

154  {
155  uint8_t c = 0;
156 
157  assert(NULL != a && NULL != b);
158 
159  c = *a;
160  *a = *b;
161  *b = c;
162 }
unsigned char uint8_t
Definition: uthash.h:79
Here is the caller graph for this function: