annotate lwlib/lw_stringlist.h @ 324:be63116281b0

Created lwlib folder and added first bits to it
author lost
date Tue, 09 Feb 2010 05:59:56 +0000
parents
children 2eb058346cad
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
324
be63116281b0 Created lwlib folder and added first bits to it
lost
parents:
diff changeset
1 /*
be63116281b0 Created lwlib folder and added first bits to it
lost
parents:
diff changeset
2 lw_stringlist.h
be63116281b0 Created lwlib folder and added first bits to it
lost
parents:
diff changeset
3
be63116281b0 Created lwlib folder and added first bits to it
lost
parents:
diff changeset
4 Copyright © 2010 William Astle
be63116281b0 Created lwlib folder and added first bits to it
lost
parents:
diff changeset
5
be63116281b0 Created lwlib folder and added first bits to it
lost
parents:
diff changeset
6 This file is part of LWTOOLS.
be63116281b0 Created lwlib folder and added first bits to it
lost
parents:
diff changeset
7
be63116281b0 Created lwlib folder and added first bits to it
lost
parents:
diff changeset
8 LWTOOLS is free software: you can redistribute it and/or modify it under the
be63116281b0 Created lwlib folder and added first bits to it
lost
parents:
diff changeset
9 terms of the GNU General Public License as published by the Free Software
be63116281b0 Created lwlib folder and added first bits to it
lost
parents:
diff changeset
10 Foundation, either version 3 of the License, or (at your option) any later
be63116281b0 Created lwlib folder and added first bits to it
lost
parents:
diff changeset
11 version.
be63116281b0 Created lwlib folder and added first bits to it
lost
parents:
diff changeset
12
be63116281b0 Created lwlib folder and added first bits to it
lost
parents:
diff changeset
13 This program is distributed in the hope that it will be useful, but WITHOUT
be63116281b0 Created lwlib folder and added first bits to it
lost
parents:
diff changeset
14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
be63116281b0 Created lwlib folder and added first bits to it
lost
parents:
diff changeset
15 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
be63116281b0 Created lwlib folder and added first bits to it
lost
parents:
diff changeset
16 more details.
be63116281b0 Created lwlib folder and added first bits to it
lost
parents:
diff changeset
17
be63116281b0 Created lwlib folder and added first bits to it
lost
parents:
diff changeset
18 You should have received a copy of the GNU General Public License along with
be63116281b0 Created lwlib folder and added first bits to it
lost
parents:
diff changeset
19 this program. If not, see <http://www.gnu.org/licenses/>.
be63116281b0 Created lwlib folder and added first bits to it
lost
parents:
diff changeset
20 */
be63116281b0 Created lwlib folder and added first bits to it
lost
parents:
diff changeset
21
be63116281b0 Created lwlib folder and added first bits to it
lost
parents:
diff changeset
22 #ifndef ___lw_stringlist_h_seen___
be63116281b0 Created lwlib folder and added first bits to it
lost
parents:
diff changeset
23 #define ___lw_stringlist_h_seen___
be63116281b0 Created lwlib folder and added first bits to it
lost
parents:
diff changeset
24
be63116281b0 Created lwlib folder and added first bits to it
lost
parents:
diff changeset
25
be63116281b0 Created lwlib folder and added first bits to it
lost
parents:
diff changeset
26 #ifdef ___lw_stringlist_c_seen___
be63116281b0 Created lwlib folder and added first bits to it
lost
parents:
diff changeset
27
be63116281b0 Created lwlib folder and added first bits to it
lost
parents:
diff changeset
28 struct lw_stringlist_priv
be63116281b0 Created lwlib folder and added first bits to it
lost
parents:
diff changeset
29 {
be63116281b0 Created lwlib folder and added first bits to it
lost
parents:
diff changeset
30 char **strings;
be63116281b0 Created lwlib folder and added first bits to it
lost
parents:
diff changeset
31 int nstrings;
be63116281b0 Created lwlib folder and added first bits to it
lost
parents:
diff changeset
32 };
be63116281b0 Created lwlib folder and added first bits to it
lost
parents:
diff changeset
33 typedef struct lw_stringlist_priv * lw_stringlist_t;
be63116281b0 Created lwlib folder and added first bits to it
lost
parents:
diff changeset
34
be63116281b0 Created lwlib folder and added first bits to it
lost
parents:
diff changeset
35 #else /* def ___lw_stringlist_c_seen___ */
be63116281b0 Created lwlib folder and added first bits to it
lost
parents:
diff changeset
36
be63116281b0 Created lwlib folder and added first bits to it
lost
parents:
diff changeset
37 typedef void * lw_stringlist_t;
be63116281b0 Created lwlib folder and added first bits to it
lost
parents:
diff changeset
38
be63116281b0 Created lwlib folder and added first bits to it
lost
parents:
diff changeset
39
be63116281b0 Created lwlib folder and added first bits to it
lost
parents:
diff changeset
40 #endif /* def ___lw_stringlist_c_seen___ */
be63116281b0 Created lwlib folder and added first bits to it
lost
parents:
diff changeset
41
be63116281b0 Created lwlib folder and added first bits to it
lost
parents:
diff changeset
42 #endif /* ___lw_stringlist_h_seen___ */