pub unsafe extern "C" fn nix_value_incref(
context: *mut nix_c_context,
value: *mut nix_value,
) -> nix_err
Expand description
Increment the garbage collector reference counter for the given
nix_value
. The Nix language evaluator C API keeps track of alive
objects by reference counting. When you’re done with a refcounted
pointer, call nix_value_decref().
§Arguments
context
[out] - Optional, stores error informationvalue
[in] - The object to keep alive