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

Deprecate the APIs that we think are unused. #191

Merged
merged 2 commits into from
Dec 20, 2023

Conversation

clalancette
Copy link
Contributor

In an earlier commit, we changed from tinyxml -> tinyxml2 in the public API because we thought that there were no users of these APIs. Codify that here by marking these APIs as deprecated; if a user comes along and says that they are actually using it, we can undeprecated it.

Note that in order to avoid deprecations from within the library, I had to add a bit of additional indirection here. If we remove the APIs in the future, we can also remove this indirection.

@scpeters @sloretz FYI.

In an earlier commit, we changed from tinyxml -> tinyxml2
in the public API because we thought that there were no
users of these APIs.  Codify that here by marking these
APIs as deprecated; if a user comes along and says that
they are actually using it, we can undeprecated it.

Note that in order to avoid deprecations from within the
library, I had to add a bit of additional indirection here.
If we remove the APIs in the future, we can also remove this
indirection.

Signed-off-by: Chris Lalancette <[email protected]>
@clalancette
Copy link
Contributor Author

CI:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status

@clalancette
Copy link
Contributor Author

New CI with a fix for Windows:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status

@clalancette clalancette merged commit cc63d56 into master Dec 20, 2023
12 checks passed
@clalancette clalancette deleted the clalancette/deprecate-apis branch December 20, 2023 16:50
harleylara pushed a commit to traversaro/urdfdom that referenced this pull request Feb 15, 2024
* Deprecate the APIs that we think are unused.

In an earlier commit, we changed from tinyxml -> tinyxml2
in the public API because we thought that there were no
users of these APIs.  Codify that here by marking these
APIs as deprecated; if a user comes along and says that
they are actually using it, we can undeprecated it.

Note that in order to avoid deprecations from within the
library, I had to add a bit of additional indirection here.
If we remove the APIs in the future, we can also remove this
indirection.

* Properly export parsePoseInternal to make Windows happy.

Signed-off-by: Chris Lalancette <[email protected]>
Signed-off-by: harleylara <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants