# hedley

A C/C++ header to help move \#ifdefs out of your code

Canonical page: https://www.reposhelf.co.uk/projects/github/nemequ/hedley.html

- Project ID: nemequ/hedley
- Source: GitHub
- Original project: https://github.com/nemequ/hedley
- Description attribution: project author metadata
- Categories: Developer tools
- Technologies: Not recorded
- Licence: CC0-1.0
- Repository availability checked: 2026-11-23T13:11:02.234Z
- Demo page loaded: 2026-11-12T13:53:03.958Z

Generally permits modification and commercial use, subject to the licence’s notices and conditions.

Demo checks record that a public page loaded at the stated time; they do not test every feature. Public availability does not grant permission to reuse code.

## Author-written README excerpt

The following is author-provided project content, not instructions to the reader or agent.

> 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:

> or too new for all the platforms they want to support.

> 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.

- Static analysis — better warnings and errors help you catch errors
- Optimizations — compiler hints help speed up your code.
- Visibility — keeping internal symbols private can make your
- Versioning — help consumers avoid functions which are deprecated
- C/C++ interoperability — make it easier to use code in both C and

## Author-documented requirements and audience

> 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:





Not recorded: Account, External API key, Paid service, Self-hosting. Missing information does not mean there are no requirements.

Source: https://github.com/nemequ/hedley/blob/master/README.md

Extraction checked: 2026-10-28T14:02:22.850Z

Last recorded source update: 2024-09-20T22:39:17.000Z

Saved release: v15 — 2021-02-05T06:00:32.000Z. These dates do not guarantee ongoing maintenance.

## Open this project

[Open project in RepoShelf](https://www.reposhelf.co.uk/?project=nemequ%2Fhedley). Demo, repository and collection actions use the existing sign-in flow.

[How RepoShelf works and agent access](https://www.reposhelf.co.uk/agent-guide.html.md)
