PostGIS
2.4.9dev-r@@SVN_REVISION@@
◆
zigzag32()
uint32_t
zigzag32
(
int32_t
val
)
Definition at line
175
of file
varint.c
.
Referenced by
test_zigzag()
, and
varint_s32_encode_buf()
.
176
{
177
return
val >= 0 ?
178
((
uint32_t
)val) << 1 :
179
((((
uint32_t
)(-1 - val)) << 1) | 0x01);
180
}
uint32_t
unsigned int uint32_t
Definition:
uthash.h:78
Here is the caller graph for this function:
liblwgeom
varint.h
Generated by
1.8.13