lib/h3/bindings/private.rb in h3-3.6.1 vs lib/h3/bindings/private.rb in h3-3.6.2
- old
+ new
@@ -5,56 +5,56 @@
# This module provides bindings that do not have to be invoked directly by clients
# of the library. They are used only internally to provide related public interface.
module Private
extend H3::Bindings::Base
- attach_function :compact, [H3IndexesIn, H3IndexesOut, :size], :bool
+ attach_function :compact, [H3IndexesIn, H3IndexesOut, :size_t], :bool
attach_function :destroy_linked_polygon, :destroyLinkedPolygon, [LinkedGeoPolygon], :void
attach_function :geo_to_h3, :geoToH3, [GeoCoord, Resolution], :h3_index
attach_function :get_pentagon_indexes, :getPentagonIndexes, [:int, H3IndexesOut], :void
- attach_function :h3_faces, :h3GetFaces, %i[h3_index output_buffer], :void
+ attach_function :h3_faces, :h3GetFaces, %i[h3_index buffer_out], :void
attach_function :h3_indexes_from_unidirectional_edge,
:getH3IndexesFromUnidirectionalEdge,
[:h3_index, H3IndexesOut], :void
attach_function :h3_line, :h3Line, [:h3_index, :h3_index, H3IndexesOut], :int
attach_function :h3_unidirectional_edges_from_hexagon,
:getH3UnidirectionalEdgesFromHexagon,
[:h3_index, H3IndexesOut], :void
attach_function :h3_set_to_linked_geo,
:h3SetToLinkedGeo,
- [H3IndexesIn, :size, LinkedGeoPolygon],
+ [H3IndexesIn, :size_t, LinkedGeoPolygon],
:void
attach_function :h3_to_children, :h3ToChildren, [:h3_index, Resolution, H3IndexesOut], :void
attach_function :h3_to_geo, :h3ToGeo, [:h3_index, GeoCoord], :void
- attach_function :h3_to_string, :h3ToString, %i[h3_index output_buffer size], :void
+ attach_function :h3_to_string, :h3ToString, %i[h3_index buffer_out size_t], :void
attach_function :h3_to_geo_boundary,
:h3ToGeoBoundary,
[:h3_index, GeoBoundary],
:void
attach_function :h3_unidirectional_edge_boundary,
:getH3UnidirectionalEdgeBoundary,
[:h3_index, GeoBoundary], :void
attach_function :hex_range, :hexRange, [:h3_index, :k_distance, H3IndexesOut], :bool
attach_function :hex_range_distances,
:hexRangeDistances,
- [:h3_index, :k_distance, H3IndexesOut, :output_buffer], :bool
+ [:h3_index, :k_distance, H3IndexesOut, :buffer_out], :bool
attach_function :hex_ranges,
:hexRanges,
- [H3IndexesIn, :size, :k_distance, H3IndexesOut],
+ [H3IndexesIn, :size_t, :k_distance, H3IndexesOut],
:bool
attach_function :hex_ring, :hexRing, [:h3_index, :k_distance, H3IndexesOut], :bool
attach_function :k_ring, :kRing, [:h3_index, :k_distance, H3IndexesOut], :void
attach_function :k_ring_distances,
:kRingDistances,
- [:h3_index, :k_distance, H3IndexesOut, :output_buffer],
+ [:h3_index, :k_distance, H3IndexesOut, :buffer_out],
:bool
attach_function :max_polyfill_size,
:maxPolyfillSize,
[GeoPolygon, Resolution],
:int
- attach_function :max_uncompact_size, :maxUncompactSize, [H3IndexesIn, :size, Resolution], :int
+ attach_function :max_uncompact_size, :maxUncompactSize, [H3IndexesIn, :size_t, Resolution], :int
attach_function :polyfill, [GeoPolygon, Resolution, H3IndexesOut], :void
attach_function :res_0_indexes, :getRes0Indexes, [H3IndexesOut], :void
- attach_function :uncompact, [H3IndexesIn, :size, H3IndexesOut, :size, Resolution], :bool
+ attach_function :uncompact, [H3IndexesIn, :size_t, H3IndexesOut, :size_t, Resolution], :bool
end
end
end