+2004-07-07 Nathan Sidwell <nathan@codesourcery.com>
+
+ * vec.h: Fix the example use.
+
2004-07-06 Richard Henderson <rth@redhat.com>
* langhooks-def.h (LANG_HOOKS_GIMPLE_BEFORE_INLINING): Remove.
struct my_struct *s;
- if (VEC_length(tree,s)) { we have some contents }
- VEC_safe_push(tree,s,decl); // append some decl onto the end
- for (ix = 0; (t = VEC_iterate(tree,s,ix)); ix++)
+ if (VEC_length(tree,s->v)) { we have some contents }
+ VEC_safe_push(tree,s->v,decl); // append some decl onto the end
+ for (ix = 0; (t = VEC_iterate(tree,s->v,ix)); ix++)
{ do something with t }
*/