Yorick van Pelt
|
e642bbc2a7
|
C API: move to src/lib*/c/
|
2024-03-28 10:46:39 +01:00 |
|
Yorick van Pelt
|
713f10aeaa
|
nix_api_value: Add nix_register_primop to add builtins
|
2024-03-28 10:39:07 +01:00 |
|
Yorick van Pelt
|
e891aac2e4
|
nix_api_value: add nix_get_attr_name_byidx get attr names without forcing
|
2024-03-28 10:39:07 +01:00 |
|
Yorick van Pelt
|
9cccb8bae0
|
nix_api_expr: always force values before giving them to the user
|
2024-03-28 10:39:07 +01:00 |
|
Yorick van Pelt
|
866558af34
|
nix_api_expr: add error handling to incref, decref
|
2024-03-28 10:39:06 +01:00 |
|
Yorick van Pelt
|
ded0ef6f6c
|
nix_api_expr: switch to refcounting
Remove GCRef, keep references in a map. Change to nix_gc_incref and
nix_gc_decref, where users will mostly use nix_gc_decref.
|
2024-03-28 10:39:05 +01:00 |
|
Yorick van Pelt
|
022b918db1
|
nix_api_expr: remove bindingsbuilder refcounting
|
2024-03-28 10:39:05 +01:00 |
|
Yorick van Pelt
|
aa85f7d917
|
nix_api_expr: merge nix_parse_expr and nix_expr_eval, remove Expr
|
2024-03-28 10:39:05 +01:00 |
|
Yorick van Pelt
|
1e583c4ebd
|
nix_api_value: nix_{get,set}_double -> nix_{get,set}_float
|
2024-03-28 10:39:05 +01:00 |
|
Puck Meerburg
|
748b322ddd
|
nix_api_value: fix primop arity
|
2024-03-28 10:39:04 +01:00 |
|
Yorick van Pelt
|
e76652a5d3
|
libexpr: add C bindings
|
2024-03-28 10:39:04 +01:00 |
|