You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
seqlock_version.h is generated by meson setup, so a copy-in build of seqlock.h has no version macros. Define them in the main header and keep Meson as a check rather than a generator.
Acceptance criteria
seqlock.h defines SEQLOCK_VERSION_MAJOR, _MINOR, _PATCH, SEQLOCK_VERSION, SEQLOCK_VERSION_STRING and SEQLOCK_VERSION_NUMBER (a long, safe where int is 16 bits).
meson setup fails when the header and project(version:) disagree.
seqlock_version.h is installed as a deprecated header that includes seqlock.h; the generated template is removed.
A test checks the macros through seqlock_version.h.
docs/api.md, docs/integration.md, AGENTS.md and CHANGELOG.md describe the change; the build passes on TI C2000 CGT 22.6.2 and 25.11.1 (COFF and EABI) and misch.
Activity
feat: define the version macros in seqlock.h (#9)
aajll commentedon Oct 15, 2026
Done in #9.