mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2025-02-16 23:27:17 +02:00
nix_api_expr, store: fix minor documentation issues
This commit is contained in:
parent
4a4936136b
commit
c3b5b8eb62
2 changed files with 4 additions and 3 deletions
|
@ -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,
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue