Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.82
 
1.83
 
MAIN:ragge:20081116133016
 
common.c
_>223223 tfree(NODE *p)
 224224 {
 225225         if (p->n_op != FREE)
<>226 -                walkf(p, (void (*)(NODE *))nfree);
  226+                walkf(p, (void (*)(NODE *, void *))nfree, 0);
227227 }
 228228 
 229229 /*
     
 !
304304 }
 305305 
 306306 void
<>307 -walkf(NODE *t, void (*f)(NODE *))
  307+walkf(NODE *t, void (*f)(NODE *, void *), void *arg)
308308 {
 309309         int opty;
 310310 
 311311 
 312312         opty = OPTYPE(t->n_op);
 313313 
 314314         if (opty != LTYPE)
<>315 -                walkf( t->n_left, f );
  315+                walkf( t->n_left, f, arg );
316316         if (opty == BITYPE)
<>317 -                walkf( t->n_right, f );
 318 -        (*f)(t);
  317+                walkf( t->n_right, f, arg );
  318+        (*f)(t, arg);
<_319319 }
 320320 
 321321 int dope[DSIZE];
FishEye: Open Source License registered to PCC.
Your maintenance has expired. You can renew your license at http://www.atlassian.com/fisheye/renew
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-09-02 13:37 +0200