comparison lwlib/lw_expr.h @ 448:5cccf90bf838 3.0 tip

Fixed bug with complex external references generating invalid relocations in the object file
author lost@l-w.ca
date Fri, 05 Nov 2010 22:27:00 -0600
parents a741d2e4869f
children
comparison
equal deleted inserted replaced
447:00924eeb2ec8 448:5cccf90bf838
103 103
104 extern int lw_expr_type(lw_expr_t e); 104 extern int lw_expr_type(lw_expr_t e);
105 105
106 typedef int lw_expr_testfn_t(lw_expr_t e, void *priv); 106 typedef int lw_expr_testfn_t(lw_expr_t e, void *priv);
107 107
108 extern int lw_expr_operandcount(lw_expr_t e);
109
108 // run a function on all terms in an expression; if the function 110 // run a function on all terms in an expression; if the function
109 // returns non-zero for any term, return non-zero, else return 111 // returns non-zero for any term, return non-zero, else return
110 // zero 112 // zero
111 extern int lw_expr_testterms(lw_expr_t e, lw_expr_testfn_t *fn, void *priv); 113 extern int lw_expr_testterms(lw_expr_t e, lw_expr_testfn_t *fn, void *priv);
112 114