Skip to content

Commit

Permalink
C API: use bool argument consistently
Browse files Browse the repository at this point in the history
  • Loading branch information
jlesquembre committed Mar 28, 2024
1 parent d5ec1d0 commit 415583a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libexpr/c/nix_api_external.h
Original file line number Diff line number Diff line change
Expand Up @@ -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, EvalState *, int strict, nix_string_context * c, bool copyToStore, nix_string_return * res);
void * self, EvalState *, bool strict, nix_string_context * c, bool copyToStore, nix_string_return * res);
/**
* @brief Convert the external value to XML
*
Expand Down

0 comments on commit 415583a

Please sign in to comment.