issues
search
georust
/
proj
Rust bindings for the latest stable release of PROJ
https://docs.rs/proj
Apache License 2.0
137
stars
45
forks
source link
Refactor `proj_create*` calls.
#103
Closed
frewsxcv
closed
2 years ago
frewsxcv
commented
2 years ago
Create an
Errno
struct to wrap an errno result from PROJ C calls
Extract pointer logic from
proj_create*
calls into
result_from_create
function
Assume PROJ will always give us valid string errors– panic if PROJ doesn't and remove
ProjErrorMessageUtf8Error
, panic
Errno
struct to wrap an errno result from PROJ C callsproj_create*
calls intoresult_from_create
functionProjErrorMessageUtf8Error
, panic