Skip to content

Option to exclude deprecated definitions from novas.h#249

Merged
attipaci merged 1 commit into
mainfrom
exclude-depreated
Sep 16, 2025
Merged

Option to exclude deprecated definitions from novas.h#249
attipaci merged 1 commit into
mainfrom
exclude-depreated

Conversation

@attipaci

@attipaci attipaci commented Sep 16, 2025

Copy link
Copy Markdown
Collaborator

You can define _EXCLUDE_DEPRECATED, either as a compiler option -D_EXCLUDE_DEPRECATED, or else in your source code by defining _EXCLUDE_DEPRECATED before including novas.h, to exclude deprecated definitions. E.g.,

// Include novas.h without the deprecated API
#define _EXCLUDE_DEPRECATED
#include <novas.h>

@attipaci attipaci added this to the 1.5.0 milestone Sep 16, 2025
@attipaci attipaci self-assigned this Sep 16, 2025
@attipaci attipaci added documentation Improvements or additions to documentation enhancement New feature or request labels Sep 16, 2025
@attipaci attipaci marked this pull request as ready for review September 16, 2025 10:00
@codecov

codecov Bot commented Sep 16, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.89%. Comparing base (f7f6e52) to head (05317fd).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #249   +/-   ##
=======================================
  Coverage   99.89%   99.89%           
=======================================
  Files          24       24           
  Lines        4628     4628           
  Branches      916      916           
=======================================
  Hits         4623     4623           
  Partials        5        5           
Flag Coverage Δ
unittests 99.89% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
src/equinox.c 100.00% <ø> (ø)
src/grav.c 100.00% <ø> (ø)
src/observer.c 100.00% <ø> (ø)
src/spectral.c 100.00% <ø> (ø)
src/util.c 100.00% <ø> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f7f6e52...05317fd. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@attipaci attipaci merged commit 4f0a2d4 into main Sep 16, 2025
26 checks passed
@attipaci attipaci deleted the exclude-depreated branch September 16, 2025 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant