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

◆ g1flags()

uint8_t g1flags ( int  has_z,
int  has_m,
int  is_geodetic 
)

Definition at line 79 of file gserialized1.c.

80{
81 uint8_t gflags = 0;
82 if (has_z)
83 G1FLAGS_SET_Z(gflags, 1);
84 if (has_m)
85 G1FLAGS_SET_M(gflags, 1);
86 if (is_geodetic)
87 G1FLAGS_SET_GEODETIC(gflags, 1);
88 return gflags;
89}
#define G1FLAGS_SET_Z(gflags, value)
#define G1FLAGS_SET_M(gflags, value)
#define G1FLAGS_SET_GEODETIC(gflags, value)

References G1FLAGS_SET_GEODETIC, G1FLAGS_SET_M, and G1FLAGS_SET_Z.

Referenced by test_flags_macros().

Here is the caller graph for this function: