Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove projects.h as a public header file #835

Closed
kbevers opened this Issue Mar 5, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@kbevers
Copy link
Member

kbevers commented Mar 5, 2018

projects.h has for a long time been considered a private header and usage of it in external applications has not been encouraged. Never the less, projects.h is in use in many projects and is as such considered an undocumented API for PROJ. This is unfortunate because limits us significantly since we can't change any functions or data types in projects.h. To remedy that the projects.h header will be made private for version 6.0.0 of PROJ. This will allow us to simplify the internals of PROJ and hopefully create a better library in the future.

What needs to be done:

  • Do not install projects.h with autotools

  • Do not install projects.h with CMake

  • Remove references to projects.h from documentation (website, man-files)

  • Transfer necessary function prototypes to proj_api.h (if applicable)

  • ...

@kbevers kbevers added this to the 6.0.0 milestone Mar 5, 2018

kbevers added a commit to kbevers/proj.4 that referenced this issue Sep 18, 2018

Do not install projects.h
In version 6 we stop exposing the deprecated projects.h API to the world outside PROJ.

Closes OSGeo#835

kbevers added a commit to kbevers/proj.4 that referenced this issue Sep 18, 2018

Do not install projects.h
In version 6 we stop exposing the deprecated projects.h API to the world outside PROJ.

Closes OSGeo#835

kbevers added a commit to kbevers/proj.4 that referenced this issue Sep 18, 2018

Do not install projects.h
In version 6 we stop exposing the deprecated projects.h API to the world outside PROJ.

Closes OSGeo#835

@kbevers kbevers closed this in eed0f16 Sep 19, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.