A C/C++ header to help move #ifdefs out of your code
893
stars
201
commits
C++
primary language
Sep 20, 2024
updated
For documentation, see https://nemequ.github.io/hedley/. There is an easy-to-read user guide and full API documentation.
Hedley is C/C++ a header file designed to smooth over some platform-specific annoyances. The idea is to get rid of a bunch of the #ifdefs in your code and put them in Hedley instead or, if you haven't bothered with platform-specific functionality in your code, to make it easier to do so. This code can be used to improve:
You can safely use Hedley in your public API. If someone else includes a newer version of Hedley later on, the newer Hedley will just redefine everything, and if someone includes an older version it will simply be ignored.
It should be safe to use any of Hedley's features; if the platform doesn't support the feature it will be silently ignored.
C++
67.0%
C
13.8%
Clean
10.2%
Makefile
8.6%
A C/C++ header to help move #ifdefs out of your code
893
stars
201
commits
C++
primary language
Sep 20, 2024
updated
For documentation, see https://nemequ.github.io/hedley/. There is an easy-to-read user guide and full API documentation.
Hedley is C/C++ a header file designed to smooth over some platform-specific annoyances. The idea is to get rid of a bunch of the #ifdefs in your code and put them in Hedley instead or, if you haven't bothered with platform-specific functionality in your code, to make it easier to do so. This code can be used to improve:
You can safely use Hedley in your public API. If someone else includes a newer version of Hedley later on, the newer Hedley will just redefine everything, and if someone includes an older version it will simply be ignored.
It should be safe to use any of Hedley's features; if the platform doesn't support the feature it will be silently ignored.
C++
67.0%
C
13.8%
Clean
10.2%
Makefile
8.6%