3 <meta name="generator" content="groff -Thtml, see www.gnu.org">
4 <meta name="Content-Style" content="text/css">
5 <title>vector_grep_pool</title>
9 <h1 align=center>vector_grep_pool</h1>
10 <a href="#NAME">NAME</a><br>
11 <a href="#SYNOPSIS">SYNOPSIS</a><br>
12 <a href="#DESCRIPTION">DESCRIPTION</a><br>
13 <a href="#AUTHOR">AUTHOR</a><br>
14 <a href="#LICENSE">LICENSE</a><br>
15 <a href="#VERSION">VERSION</a><br>
18 <!-- Creator : groff version 1.17.2 -->
19 <!-- CreationDate: Fri May 3 14:59:02 2002 -->
22 <table width="100%" border=0 rules="none" frame="void"
23 cols="2" cellspacing="0" cellpadding="0">
24 <tr valign="top" align="left">
25 <td width="10%"></td><td width="90%">
26 vector_grep_pool - produce a new vector containing elements of the old vector which match a boolean function</td></table>
27 <a name="SYNOPSIS"></a>
30 <table width="100%" border=0 rules="none" frame="void"
31 cols="2" cellspacing="0" cellpadding="0">
32 <tr valign="top" align="left">
33 <td width="10%"></td><td width="90%">
34 <pre><b>#include <vector.h>
36 vector vector_grep_pool (pool, vector v, int (*match_fn) (pool, const void *));
37 </b></pre></td></table>
38 <a name="DESCRIPTION"></a>
41 <table width="100%" border=0 rules="none" frame="void"
42 cols="2" cellspacing="0" cellpadding="0">
43 <tr valign="top" align="left">
44 <td width="10%"></td><td width="90%">
45 This macro calls <b>match_fn(pool, &t)</b> for each
46 element <b>t</b> of vector <b>v</b>. It constructs and
47 returns a new vector containing all those elements where the
48 function returns true.</td></table>
52 <table width="100%" border=0 rules="none" frame="void"
53 cols="2" cellspacing="0" cellpadding="0">
54 <tr valign="top" align="left">
55 <td width="10%"></td><td width="90%">
56 Richard Jones <rich@annexia.org></td></table>
57 <a name="LICENSE"></a>
60 <table width="100%" border=0 rules="none" frame="void"
61 cols="2" cellspacing="0" cellpadding="0">
62 <tr valign="top" align="left">
63 <td width="10%"></td><td width="90%">
64 GNU LGPL (see http://www.gnu.org/)</td></table>
65 <a name="VERSION"></a>
68 <table width="100%" border=0 rules="none" frame="void"
69 cols="2" cellspacing="0" cellpadding="0">
70 <tr valign="top" align="left">
71 <td width="10%"></td><td width="90%">
72 c2lib-1.2.13</td></table>