lib/ffi/lwgeom/geom.rb in ffi-gdal-extensions-0.1.1 vs lib/ffi/lwgeom/geom.rb in ffi-gdal-extensions-0.1.2
- old
+ new
@@ -3,10 +3,10 @@
module FFI
module LWGeom
class Geom < FFI::Struct
layout :type, :uint8,
- :flags, :uint8,
+ :flags, :uint8, # In PostGIS <=2.5.5, this is a u8; in >=3.x, this is a u16.
:bbox, GBOX.ptr,
:srid, :int32,
:data, :pointer
end
end