diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2023-06-01 11:04:38 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2023-06-01 11:10:27 +0200 |
commit | 1644bbec6161ec971a2ba3c213ce285b995cac22 (patch) | |
tree | 75974577237f8ae1a0989755be0a953c631f794e /cooker/parse.h | |
parent | bb47d77d316137c9deddd46135b22dc144ae1ea9 (diff) | |
download | seitan-1644bbec6161ec971a2ba3c213ce285b995cac22.tar seitan-1644bbec6161ec971a2ba3c213ce285b995cac22.tar.gz seitan-1644bbec6161ec971a2ba3c213ce285b995cac22.tar.bz2 seitan-1644bbec6161ec971a2ba3c213ce285b995cac22.tar.lz seitan-1644bbec6161ec971a2ba3c213ce285b995cac22.tar.xz seitan-1644bbec6161ec971a2ba3c213ce285b995cac22.tar.zst seitan-1644bbec6161ec971a2ba3c213ce285b995cac22.zip |
cooker: OP_CALL and OP_COPY stuff
...mostly.
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'cooker/parse.h')
-rw-r--r-- | cooker/parse.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cooker/parse.h b/cooker/parse.h index 05079cc..361fc55 100644 --- a/cooker/parse.h +++ b/cooker/parse.h @@ -6,6 +6,11 @@ #ifndef PARSE_H #define PARSE_H +long long value_get_num(struct num *desc, JSON_Value *value); +void value_get(union desc desc, enum type type, JSON_Value *value, + union value *out); +struct field *select_field(struct gluten_ctx *g, int pos, + struct select *s, union value v); void parse_file(struct gluten_ctx *g, const char *path); #endif /* PARSE_H */ |