1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-27 00:11:17 +02:00

C API: disable test

This commit is contained in:
José Luis Lafuente 2024-02-24 16:07:16 +01:00 committed by José Luis Lafuente
parent b9cd24a4a8
commit 6c231dcf68
No known key found for this signature in database
GPG key ID: 8A3455EBE455489A
2 changed files with 10 additions and 2 deletions

View file

@ -278,12 +278,14 @@ const char * nix_get_attr_name_byidx(nix_c_context * context, const Value * valu
* @return error code, NIX_OK on success.
*/
nix_err nix_init_bool(nix_c_context * context, Value * value, bool b);
/** @brief Set a string
* @param[out] context Optional, stores error information
* @param[out] value Nix value to modify
* @param[in] str the string, copied
* @return error code, NIX_OK on success.
*/
nix_err nix_init_string(nix_c_context * context, Value * value, const char * str);
/** @brief Set a path
* @param[out] context Optional, stores error information
@ -291,6 +293,7 @@ nix_err nix_init_string(nix_c_context * context, Value * value, const char * str
* @param[in] str the path string, copied
* @return error code, NIX_OK on success.
*/
nix_err nix_init_path_string(nix_c_context * context, Value * value, const char * str);
/** @brief Set a float
* @param[out] context Optional, stores error information
@ -298,6 +301,7 @@ nix_err nix_init_path_string(nix_c_context * context, Value * value, const char
* @param[in] d the float, 64-bits
* @return error code, NIX_OK on success.
*/
nix_err nix_init_float(nix_c_context * context, Value * value, double d);
/** @brief Set an int
* @param[out] context Optional, stores error information