nix_api_expr, store: fix minor documentation issues

This commit is contained in:
Yorick van Pelt 2023-07-27 13:10:17 +02:00 committed by José Luis Lafuente
parent 4a4936136b
commit c3b5b8eb62
No known key found for this signature in database
GPG key ID: 8A3455EBE455489A
2 changed files with 4 additions and 3 deletions

View file

@ -41,7 +41,7 @@ typedef void Value; // nix::Value
*/
typedef struct GCRef GCRef; // void*
// Function propotypes
// Function prototypes
/**
* @brief Initializes the Nix expression evaluator.
*
@ -76,7 +76,8 @@ Expr *nix_parse_expr_from_string(nix_c_context *context, State *state,
* @param[out] context Optional, stores error information
* @param[in] state The state of the evaluation.
* @param[in] expr The Nix expression to evaluate.
* @param[in] value The result of the evaluation.
* @param[out] value The result of the evaluation. You should allocate this
* yourself.
* @return NIX_OK if the evaluation was successful, an error code otherwise.
*/
nix_err nix_expr_eval(nix_c_context *context, State *state, Expr *expr,

View file

@ -1,7 +1,7 @@
#ifndef NIX_API_STORE_H
#define NIX_API_STORE_H
/** @file
* @brief Main entry for the libexpr C bindings
* @brief Main entry for the libstore C bindings
*/
#include "nix_api_util.h"