mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-23 10:50:58 +00:00
Expose convert_from_bool().
This commit is contained in:
parent
b66cbeeb57
commit
ca9693d9cd
2 changed files with 2 additions and 1 deletions
|
@ -593,6 +593,7 @@ void convert_nil (expr_t *e, struct type_s *t);
|
|||
expr_t *test_expr (expr_t *e);
|
||||
void backpatch (ex_list_t *list, expr_t *label);
|
||||
expr_t *convert_bool (expr_t *e, int block);
|
||||
expr_t *convert_from_bool (expr_t *e, struct type_s *type);
|
||||
expr_t *bool_expr (int op, expr_t *label, expr_t *e1, expr_t *e2);
|
||||
expr_t *binary_expr (int op, expr_t *e1, expr_t *e2);
|
||||
expr_t *asx_expr (int op, expr_t *e1, expr_t *e2);
|
||||
|
|
|
@ -1363,7 +1363,7 @@ convert_bool (expr_t *e, int block)
|
|||
return e;
|
||||
}
|
||||
|
||||
static expr_t *
|
||||
expr_t *
|
||||
convert_from_bool (expr_t *e, type_t *type)
|
||||
{
|
||||
expr_t *zero;
|
||||
|
|
Loading…
Reference in a new issue