yasm_output_value_func output_value,
/*@null@*/ yasm_output_reloc_func output_reloc);
-#define yasm_bc__next(x) STAILQ_NEXT(x, link)
+/** Get the next bytecode in a linked list of bytecodes.
+ * \param bc bytecode
+ * \return Next bytecode.
+ */
+#define yasm_bc__next(bc) STAILQ_NEXT(bc, link)
/** Set multiple field of a bytecode.
* A bytecode can be repeated a number of times when output. This function
/** Expression item data. Correct value depends on type. */
union {
- yasm_bytecode *precbc; /**< Direct bytecode ref (#YASM_EXPR_PRECBC) */
- yasm_symrec *sym; /**< Symbol (#YASM_EXPR_SYM) */
- yasm_expr *expn; /**< Subexpression (#YASM_EXPR_EXPR) */
- yasm_intnum *intn; /**< Integer value (#YASM_EXPR_INT) */
- yasm_floatnum *flt; /**< Floating point value (#YASM_EXPR_FLOAT) */
- uintptr_t reg; /**< Register (#YASM_EXPR_REG) */
- unsigned int subst; /**< Subst placeholder (#YASM_EXPR_SUBST) */
+ yasm_bytecode *precbc; /**< Direct bytecode ref (YASM_EXPR_PRECBC) */
+ yasm_symrec *sym; /**< Symbol (YASM_EXPR_SYM) */
+ yasm_expr *expn; /**< Subexpression (YASM_EXPR_EXPR) */
+ yasm_intnum *intn; /**< Integer value (YASM_EXPR_INT) */
+ yasm_floatnum *flt; /**< Floating point value (YASM_EXPR_FLOAT) */
+ uintptr_t reg; /**< Register (YASM_EXPR_REG) */
+ unsigned int subst; /**< Subst placeholder (YASM_EXPR_SUBST) */
} data;
} yasm_expr__item;