PostGIS  2.1.10dev-r@@SVN_REVISION@@
static void SwapWord ( int  length,
void *  wordP 
)
static

Definition at line 303 of file shpopen.c.

Referenced by _SHPSetBounds(), if(), SHPCreateLL(), SHPOpenLL(), SHPWriteHeader(), and SHPWriteObject().

305 {
306  int i;
307  uchar temp;
308 
309  for( i=0; i < length/2; i++ )
310  {
311  temp = ((uchar *) wordP)[i];
312  ((uchar *)wordP)[i] = ((uchar *) wordP)[length-i-1];
313  ((uchar *) wordP)[length-i-1] = temp;
314  }
315 }
unsigned char uchar
Definition: shpopen.c:269

Here is the caller graph for this function: