diff options
Diffstat (limited to 'libyasm/bytecode.h')
-rw-r--r-- | libyasm/bytecode.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libyasm/bytecode.h b/libyasm/bytecode.h index 2718968a..720c19a1 100644 --- a/libyasm/bytecode.h +++ b/libyasm/bytecode.h @@ -159,6 +159,15 @@ void yasm_bc_set_multiple(yasm_bytecode *bc, /*@keep@*/ yasm_expr *e); */ /*@dependent@*/ /*@null@*/ yasm_section *yasm_bc_get_section (yasm_bytecode *bc); + +#ifdef YASM_LIB_INTERNAL +/** Add to the list of symrecs that reference a bytecode. For symrec use + * only. + * \param bc bytecode + * \param sym symbol + */ +void yasm_bc__add_symrec(yasm_bytecode *bc, /*@dependent@*/ yasm_symrec *sym); +#endif /** Delete (free allocated memory for) a bytecode. * \param bc bytecode (only pointer to it); may be NULL |