PostGIS 3.0.6dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ SwapWord()

static void SwapWord ( int  length,
void *  wordP 
)
static

Definition at line 302 of file shpopen.c.

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

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

Here is the caller graph for this function: