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

C API: fix after rebase

This commit is contained in:
José Luis Lafuente 2024-02-25 00:26:36 +01:00 committed by José Luis Lafuente
parent 6c231dcf68
commit 2349185c96
No known key found for this signature in database
GPG key ID: 8A3455EBE455489A
3 changed files with 10 additions and 7 deletions

View file

@ -165,7 +165,7 @@ typedef struct NixCExternalValueDesc
} NixCExternalValueDesc;
/**
* @brief Create an external value, that can be given to nix_set_external
* @brief Create an external value, that can be given to nix_init_external
*
* Owned by the GC. Use nix_gc_decref when you're done with the pointer.
*
@ -174,7 +174,7 @@ typedef struct NixCExternalValueDesc
* as the ExternalValue lives
* @param[in] v the value to store
* @returns external value, owned by the garbage collector
* @see nix_set_external
* @see nix_init_external
*/
ExternalValue * nix_create_external_value(nix_c_context * context, NixCExternalValueDesc * desc, void * v);