mirror of
https://github.com/NixOS/nix
synced 2025-06-27 00:11:17 +02:00
C API: rename State to EvalState
This commit is contained in:
parent
24604d024a
commit
535694122e
9 changed files with 85 additions and 64 deletions
|
@ -136,7 +136,7 @@ typedef struct NixCExternalValueDesc
|
|||
* or setting it to the empty string, will make the conversion throw an error.
|
||||
*/
|
||||
void (*printValueAsJSON)(
|
||||
void * self, State *, int strict, nix_string_context * c, bool copyToStore, nix_string_return * res);
|
||||
void * self, EvalState *, int strict, nix_string_context * c, bool copyToStore, nix_string_return * res);
|
||||
/**
|
||||
* @brief Convert the external value to XML
|
||||
*
|
||||
|
@ -154,7 +154,14 @@ typedef struct NixCExternalValueDesc
|
|||
* @param[in] pos The position of the call.
|
||||
*/
|
||||
void (*printValueAsXML)(
|
||||
void * self, State *, int strict, int location, void * doc, nix_string_context * c, void * drvsSeen, int pos);
|
||||
void * self,
|
||||
EvalState *,
|
||||
int strict,
|
||||
int location,
|
||||
void * doc,
|
||||
nix_string_context * c,
|
||||
void * drvsSeen,
|
||||
int pos);
|
||||
} NixCExternalValueDesc;
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue