mirror of
https://github.com/NixOS/nix.git
synced 2025-11-11 21:16:02 +01:00
libexpr: add C bindings
This commit is contained in:
parent
1d41600498
commit
e76652a5d3
10 changed files with 1527 additions and 1 deletions
17
src/libexpr/nix_api_expr_internal.h
Normal file
17
src/libexpr/nix_api_expr_internal.h
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
#ifndef NIX_API_EXPR_INTERNAL_H
|
||||
#define NIX_API_EXPR_INTERNAL_H
|
||||
|
||||
// forward declaration
|
||||
namespace nix {
|
||||
class EvalState;
|
||||
};
|
||||
|
||||
struct State {
|
||||
nix::EvalState state;
|
||||
};
|
||||
|
||||
struct GCRef {
|
||||
void *ptr;
|
||||
};
|
||||
|
||||
#endif // NIX_API_EXPR_INTERNAL_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue