mirror of
https://github.com/NixOS/nix
synced 2025-07-07 10:11:47 +02:00
C API: add tests for libutil and libstore
This commit is contained in:
parent
46f5d0ee7b
commit
41f1669dea
6 changed files with 133 additions and 25 deletions
|
@ -8,11 +8,6 @@
|
|||
|
||||
#include "globals.hh"
|
||||
|
||||
struct StorePath
|
||||
{
|
||||
nix::StorePath path;
|
||||
};
|
||||
|
||||
nix_err nix_libstore_init(nix_c_context * context)
|
||||
{
|
||||
if (context)
|
||||
|
|
|
@ -6,4 +6,10 @@ struct Store
|
|||
{
|
||||
nix::ref<nix::Store> ptr;
|
||||
};
|
||||
|
||||
struct StorePath
|
||||
{
|
||||
nix::StorePath path;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue