support conditional compilation of Nix C APIs

This commit is contained in:
do butterflies cry? 2026-03-27 10:38:56 +10:00
parent 7756365941
commit 1e23515fc1
Signed by: cry
GPG key ID: F68745A836CA0412
12 changed files with 198 additions and 63 deletions

View file

@ -0,0 +1,7 @@
// Nix C API for utilities.
//
// Most notably containing functions for handling
// the `nix_c_context` structure, which is used throughout
// the Nix C APIs for error handling.
//
#include <nix_api_util.h>