diff options
Diffstat (limited to 'assembler.h')
-rw-r--r-- | assembler.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/assembler.h b/assembler.h index f311a96..e6b2eb2 100644 --- a/assembler.h +++ b/assembler.h @@ -4,14 +4,13 @@ #include "./lib.h" #include "./parser.h" -void asm_setup_buffer(buffer_t **asm_buffer, const char *outname); -void asm_translate_nodes(buffer_t **asm_buffer, struct PResult nodes, +void asm_translate_nodes(vec_t *asm_buffer, struct PResult nodes, const char *src_name); -void asm_write(buffer_t **asm_buffer); -int asm_assemble(const char *srcname, const char *objname); +void asm_write(const char *asm_name, vec_t *asm_buffer); +int asm_assemble(const char *asm_name, const char *objname); int asm_link(const char *objname, const char *outname); -int asm_compile(buffer_t **asm_buffer, const char *objname, +int asm_compile(vec_t *asm_buffer, const char *asm_name, const char *objname, const char *outname); #endif |