nixide-sys header guards
This commit is contained in:
parent
d5bc2400c9
commit
ce6b3f7270
6 changed files with 30 additions and 0 deletions
|
|
@ -1,3 +1,6 @@
|
|||
#ifndef NIXIDE_EXPR
|
||||
#define NIXIDE_EXPR
|
||||
|
||||
// Nix C API for the Nix expressions evaluator.
|
||||
#include <nix_api_expr.h>
|
||||
|
||||
|
|
@ -8,3 +11,5 @@
|
|||
// Nix C API for external values.
|
||||
//
|
||||
#include <nix_api_external.h>
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -1,3 +1,8 @@
|
|||
#ifndef NIXIDE_FETCHERS
|
||||
#define NIXIDE_FETCHERS
|
||||
|
||||
// Nix C API for fetcher operations.
|
||||
//
|
||||
#include <nix_api_fetchers.h>
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -1,3 +1,8 @@
|
|||
#ifndef NIXIDE_FLAKE
|
||||
#define NIXIDE_FLAKE
|
||||
|
||||
// Nix C API for flake support.
|
||||
//
|
||||
#include <nix_api_flake.h>
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -1,3 +1,8 @@
|
|||
#ifndef NIXIDE_MAIN
|
||||
#define NIXIDE_MAIN
|
||||
|
||||
// Nix C API for CLI support.
|
||||
//
|
||||
#include <nix_api_main.h>
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -1,3 +1,8 @@
|
|||
#ifndef NIXIDE_STORE
|
||||
#define NIXIDE_STORE
|
||||
|
||||
// Nix C API for store operations.
|
||||
//
|
||||
#include <nix_api_store.h>
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -1,3 +1,6 @@
|
|||
#ifndef NIXIDE_UTIL
|
||||
#define NIXIDE_UTIL
|
||||
|
||||
// Nix C API for utilities.
|
||||
//
|
||||
// Most notably containing functions for handling
|
||||
|
|
@ -5,3 +8,5 @@
|
|||
// the Nix C APIs for error handling.
|
||||
//
|
||||
#include <nix_api_util.h>
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue