Added comment on top of TYPE macros

git-svn-id: http://svn.osgeo.org/postgis/trunk@1443 b70326c6-7e19-0410-871a-916f4a2858ee
This commit is contained in:
Sandro Santilli 2005-02-25 08:57:50 +00:00
parent a970a5cc7b
commit 62c33b30e3

View file

@ -362,6 +362,8 @@ extern int pointArray_ptsize(const POINTARRAY *pa);
#define WKBSRIDFLAG 0x20000000
#define WKBBBOXFLAG 0x10000000
/* These macros work on PG_LWGEOM.type, LWGEOM.type and all its subclasses */
#define TYPE_SETTYPE(c,t) ((c)=(((c)&0xF0)|(t)))
#define TYPE_SETZM(t,z,m) ((t)=(((t)&0xCF)|((z)<<5)|((m)<<4)))
#define TYPE_SETHASBBOX(t,b) ((t)=(((t)&0x7F)|((b)<<7)))