mirror of
https://git.osgeo.org/gitea/postgis/postgis
synced 2024-10-24 00:52:40 +00:00
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:
parent
a970a5cc7b
commit
62c33b30e3
|
@ -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)))
|
||||
|
|
Loading…
Reference in a new issue