chiark / gitweb /
shapelib: outlines: Fold get* into load_mf1
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 10 May 2022 19:37:12 +0000 (20:37 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 11 May 2022 23:19:17 +0000 (00:19 +0100)
commit57f36183cba645898c96114dac2c2735ff56ca2e
tree19f4a795cc2d2c4898f957042aa84a2c5ed333da
parentf552ee8e7adbcfc628c09db68245a3a02bed053e
shapelib: outlines: Fold get* into load_mf1

Now that we are doing checking by loading with a dummy size, and the
separate check methods are gone, the get_mf1 and get_size functions
each only have one call site.

Removing them makes the code simpler.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/shapelib.rs