feat: Add crate nix-c-raw

See README. Most of this is in accordance with the bindgen introduction.

The c_headers function was taken from Zach Mitchell's work on bindings.

Co-authored-by: Zach Mitchell <zmitchell@fastmail.com>
(cherry picked from commit 83d8ae6b26d341bbd452a77d7361f58c06a2d322)
This commit is contained in:
Robert Hensing 2024-02-16 09:45:29 +01:00
parent 4dca986fe2
commit 858bec68bc
7 changed files with 517 additions and 0 deletions

View file

@ -0,0 +1,3 @@
#include <nix_api_util.h>
#include <nix_api_store.h>
#include <nix_api_expr.h>