diff options
Diffstat (limited to 'cooker/gluten.h')
-rw-r--r-- | cooker/gluten.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cooker/gluten.h b/cooker/gluten.h index 4659583..4a3b3f0 100644 --- a/cooker/gluten.h +++ b/cooker/gluten.h @@ -44,6 +44,8 @@ struct gluten_ctx { struct arg *selected_arg[6]; enum scmp_mode mode; + + size_t rel_count; }; /** @@ -70,8 +72,8 @@ void gluten_add_attr(struct gluten_ctx *g, enum attr_type type, intptr_t id, union value v); union value gluten_get_attr(struct gluten_ctx *g, enum attr_type type, intptr_t id); +void gluten_relocation_add(struct gluten_ctx *g, struct gluten_offset offset); void gluten_init(struct gluten_ctx *g); -void gluten_block_init(struct gluten_ctx *g); void gluten_write(struct gluten_ctx *g, const char *path); extern size_t gluten_size[TYPE_COUNT]; |