summaryrefslogtreecommitdiffhomepage
path: root/main.c
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2022-07-28 10:44:19 +0200
committerJo-Philipp Wich <jo@mein.io>2022-07-28 13:18:30 +0200
commit3a6f9cbc8c1356ccf309f3bb8bdd5b895fb2e01a (patch)
treecaf8ce88be697031b21b774b4e209d7c8ac677f6 /main.c
parentb738f3adbe76fb4bd446f1de1f0ece71cf6b78e8 (diff)
types: add ability to mark array and object values as constant
The upcoming module import support requires constant object values to implement module wildcard import. Reuse the existing u64 bit in ucv heads to mark array or object values as constant and add corresponding `ucv_is_constant()` and `ucv_set_constant()` helpers. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'main.c')
0 files changed, 0 insertions, 0 deletions