Mercurial > hg > index.cgi
comparison 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 |
comparison
equal
deleted
inserted
replaced
11:a0317b794b7b | 12:6b9991fb39b6 |
---|---|
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 |