1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-28 21:21:00 +01:00

nix_store_realise: Improve typing of store path

Use `StorePath *` not `const char *`.
This commit is contained in:
John Ericson 2025-09-02 11:17:26 -04:00 committed by Jörg Thalheim
parent fa76b6e215
commit f6bc47bc50
2 changed files with 4 additions and 4 deletions

View file

@ -190,7 +190,7 @@ nix_err nix_store_realise(
Store * store,
StorePath * path,
void * userdata,
void (*callback)(void * userdata, const char * outname, const char * out));
void (*callback)(void * userdata, const char * outname, const StorePath * out));
/**
* @brief get the version of a nix store.