TICKIT_VERSION(7)

πŸ’– TICKIT_VERSION β€” libtickit version queries πŸ’–

okay bestie, welcome to section 7 of the Miscellaneous Information Manual, aka the place where tickit_version_* lives and where we figure out like... which libtickit are we even talking to rn?? πŸ¦‹


✨ SYNOPSIS ✨

#define TICKIT_VERSION_MAJOR
#define TICKIT_VERSION_MINOR
#define TICKIT_VERSION_PATCH

int tickit_version_major(void);
int tickit_version_minor(void);
int tickit_version_patch(void);

🌸 DESCRIPTION 🌸

so there's this trio of macros β€” TICKIT_VERSION_MAJOR, TICKIT_VERSION_MINOR, TICKIT_VERSION_PATCH β€” and they hand you the version numbers of the development header at compiletime. like, the numbers baked in when you built your thing. πŸ‘‘

and then the matching functions β€” tickit_version_major(), tickit_version_minor(), tickit_version_patch() β€” return the version numbers from the running library. the one actually loaded and vibing at runtime. πŸ’…

between them?? you can do a lil vibe check at program startup to make sure the library version is actually suitable to support the running program. no cap, that's the whole point. ✨


πŸŽ€ RETURN VALUE πŸŽ€

each tickit_version_*() function returns a version integer. that's it, that's the tea. β˜•


🫢 SEE ALSO 🫢


and that's the whole page, bestie β€” TICKIT_VERSION(7) from the Miscellaneous Information Manual, written down and living its best life. mwah, go check your version numbers, ily πŸ’œ