IXP_API(3)
β¨ IXP_API(3) β¨
okay bestie, welcome to IXP_API(3) from the libixp Library Functions Manual β we're here to talk API version macros and honestly they ate. π
π NAME π
The whole squad:
IXP_APIIXP_NEEDAPIIXP_MAXAPIIXP_ASSERT_VERSION
π¦ SYNOPSIS π¦
#include <ixp.h>
#define IXP_API ...
#define IXP_NEEDAPI ...
#define IXP_MAXAPI ...
#define IXP_ASSERT_VERSION ...
πΈ DESCRIPTION πΈ
IXP_API contains the current libixp API revision number. That's it, that's the queen. π
IXP_NEEDAPIβ if you define this beforeixp.his included, it directs the header to present an older version of the libixp API. This lets code written for older versions of libixp compile against newer versions without modification. It does not, however, ensure that it will link against a different version of libixp than theixp.hheader belongs to. π«
β οΈ bestie, read that caveat again:IXP_NEEDAPIdoes not ensure it will link against a different version of libixp than theixp.hheader belongs to. No cap.
IXP_MAXAPIβ if you define this beforeixp.his included, it prevents code from compiling with a newer version of libixp than specified. It's giving "respect my limit" energy. πIXP_ASSERT_VERSIONβ when inserted into any function, it ensures that the resulting object will fail to link link against any version of libixp with a different API version than it was compiled against. Yes, the page really says "link link" β iconic. π
xoxo π β libixp Manual, 2012 Dec π«Ά
π¦ where this page comes from
- nixos 26.05: libixp 0-unstable-2022-04-04
- nixpkgs unstable: libixp 0-unstable-2022-04-04
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms