Mercurial > hg > index.cgi
diff lwlib/lw_expr.h @ 12:6b9991fb39b6
Brought forward patch to fix bug with complex external references generating invalid relocations in the object file
author | lost@l-w.ca |
---|---|
date | Sat, 22 Jan 2011 16:11:15 -0700 |
parents | 2c24602be78f |
children | 1f1a28b797e1 |
line wrap: on
line diff
--- a/lwlib/lw_expr.h Sat Jan 22 16:10:42 2011 -0700 +++ b/lwlib/lw_expr.h Sat Jan 22 16:11:15 2011 -0700 @@ -105,6 +105,8 @@ typedef int lw_expr_testfn_t(lw_expr_t e, void *priv); +extern int lw_expr_operandcount(lw_expr_t e); + // run a function on all terms in an expression; if the function // returns non-zero for any term, return non-zero, else return // zero