georust / geos

Rust bindings for GEOS
https://docs.rs/geos/
MIT License
122 stars 42 forks source link

Some unsafe functions are not tagged unsafe #13

Closed TeXitoi closed 6 years ago

TeXitoi commented 6 years ago

Any function that dereference a raw pointer, or allow to, later, dereference a raw pointer, must be tagged unsafe. As a side effect, almost all the function taking a raw pointer as a parameter must be tagged unsafe.

Some such functions: