annotate lwlib/lw_string.h @ 404:0324fd09c7ac

Added documentation for the --symbol option for lwasm
author lost@l-w.ca
date Fri, 23 Jul 2010 18:31:33 -0600
parents c15cca3ae6a2
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
326
2eb058346cad Added string module and expanded stringlist module
lost
parents:
diff changeset
1 /*
2eb058346cad Added string module and expanded stringlist module
lost
parents:
diff changeset
2 lw_string.h
2eb058346cad Added string module and expanded stringlist module
lost
parents:
diff changeset
3
2eb058346cad Added string module and expanded stringlist module
lost
parents:
diff changeset
4 Copyright © 2010 William Astle
2eb058346cad Added string module and expanded stringlist module
lost
parents:
diff changeset
5
2eb058346cad Added string module and expanded stringlist module
lost
parents:
diff changeset
6 This file is part of LWTOOLS.
2eb058346cad Added string module and expanded stringlist module
lost
parents:
diff changeset
7
2eb058346cad Added string module and expanded stringlist module
lost
parents:
diff changeset
8 LWTOOLS is free software: you can redistribute it and/or modify it under the
2eb058346cad Added string module and expanded stringlist module
lost
parents:
diff changeset
9 terms of the GNU General Public License as published by the Free Software
2eb058346cad Added string module and expanded stringlist module
lost
parents:
diff changeset
10 Foundation, either version 3 of the License, or (at your option) any later
2eb058346cad Added string module and expanded stringlist module
lost
parents:
diff changeset
11 version.
2eb058346cad Added string module and expanded stringlist module
lost
parents:
diff changeset
12
2eb058346cad Added string module and expanded stringlist module
lost
parents:
diff changeset
13 This program is distributed in the hope that it will be useful, but WITHOUT
2eb058346cad Added string module and expanded stringlist module
lost
parents:
diff changeset
14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
2eb058346cad Added string module and expanded stringlist module
lost
parents:
diff changeset
15 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
2eb058346cad Added string module and expanded stringlist module
lost
parents:
diff changeset
16 more details.
2eb058346cad Added string module and expanded stringlist module
lost
parents:
diff changeset
17
2eb058346cad Added string module and expanded stringlist module
lost
parents:
diff changeset
18 You should have received a copy of the GNU General Public License along with
2eb058346cad Added string module and expanded stringlist module
lost
parents:
diff changeset
19 this program. If not, see <http://www.gnu.org/licenses/>.
2eb058346cad Added string module and expanded stringlist module
lost
parents:
diff changeset
20 */
2eb058346cad Added string module and expanded stringlist module
lost
parents:
diff changeset
21
2eb058346cad Added string module and expanded stringlist module
lost
parents:
diff changeset
22 #ifndef ___lw_string_h_seen___
2eb058346cad Added string module and expanded stringlist module
lost
parents:
diff changeset
23 #define ___lw_string_h_seen___
2eb058346cad Added string module and expanded stringlist module
lost
parents:
diff changeset
24
2eb058346cad Added string module and expanded stringlist module
lost
parents:
diff changeset
25
2eb058346cad Added string module and expanded stringlist module
lost
parents:
diff changeset
26 #ifdef ___lw_string_c_seen___
2eb058346cad Added string module and expanded stringlist module
lost
parents:
diff changeset
27
2eb058346cad Added string module and expanded stringlist module
lost
parents:
diff changeset
28 #else /* def ___lw_string_c_seen___ */
2eb058346cad Added string module and expanded stringlist module
lost
parents:
diff changeset
29
2eb058346cad Added string module and expanded stringlist module
lost
parents:
diff changeset
30 extern char *lw_strdup(const char *s);
329
c15cca3ae6a2 Created first pass of input layer
lost
parents: 326
diff changeset
31 extern char *lw_strndup(const char *s, int len);
326
2eb058346cad Added string module and expanded stringlist module
lost
parents:
diff changeset
32 extern char *lw_token(const char *s, int sep, const char **ap);
2eb058346cad Added string module and expanded stringlist module
lost
parents:
diff changeset
33
2eb058346cad Added string module and expanded stringlist module
lost
parents:
diff changeset
34 #endif /* def ___lw_string_c_seen___ */
2eb058346cad Added string module and expanded stringlist module
lost
parents:
diff changeset
35
2eb058346cad Added string module and expanded stringlist module
lost
parents:
diff changeset
36 #endif /* ___lw_string_h_seen___ */