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

◆ set_int_value()

static void set_int_value ( Data__Value *  value,
int64  intval 
)
static

Definition at line 87 of file geobuf.c.

87 {
88 if (intval >= 0) {
89 value->value_type_case = DATA__VALUE__VALUE_TYPE_POS_INT_VALUE;
90 value->pos_int_value = (uint64_t) intval;
91 } else {
92 value->value_type_case = DATA__VALUE__VALUE_TYPE_NEG_INT_VALUE;
93 value->neg_int_value = (uint64_t)llabs(intval);
94 }
95}
int value
Definition genraster.py:62

Referenced by encode_properties().

Here is the caller graph for this function: