annotate lwasm/input.h @ 426:652eee8f0c82

Fixed lw_expr_destroy() to not crash on NULL
author lost@l-w.ca
date Sun, 19 Sep 2010 10:40:37 -0600
parents 7166254491ed
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
330
81c005b82775 More tinkering with input subsystem
lost
parents:
diff changeset
1 /*
81c005b82775 More tinkering with input subsystem
lost
parents:
diff changeset
2 input.h
81c005b82775 More tinkering with input subsystem
lost
parents:
diff changeset
3
81c005b82775 More tinkering with input subsystem
lost
parents:
diff changeset
4 Copyright © 2010 William Astle
81c005b82775 More tinkering with input subsystem
lost
parents:
diff changeset
5
81c005b82775 More tinkering with input subsystem
lost
parents:
diff changeset
6 This file is part of LWTOOLS.
81c005b82775 More tinkering with input subsystem
lost
parents:
diff changeset
7
81c005b82775 More tinkering with input subsystem
lost
parents:
diff changeset
8 LWTOOLS is free software: you can redistribute it and/or modify it under the
81c005b82775 More tinkering with input subsystem
lost
parents:
diff changeset
9 terms of the GNU General Public License as published by the Free Software
81c005b82775 More tinkering with input subsystem
lost
parents:
diff changeset
10 Foundation, either version 3 of the License, or (at your option) any later
81c005b82775 More tinkering with input subsystem
lost
parents:
diff changeset
11 version.
81c005b82775 More tinkering with input subsystem
lost
parents:
diff changeset
12
81c005b82775 More tinkering with input subsystem
lost
parents:
diff changeset
13 This program is distributed in the hope that it will be useful, but WITHOUT
81c005b82775 More tinkering with input subsystem
lost
parents:
diff changeset
14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
81c005b82775 More tinkering with input subsystem
lost
parents:
diff changeset
15 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
81c005b82775 More tinkering with input subsystem
lost
parents:
diff changeset
16 more details.
81c005b82775 More tinkering with input subsystem
lost
parents:
diff changeset
17
81c005b82775 More tinkering with input subsystem
lost
parents:
diff changeset
18 You should have received a copy of the GNU General Public License along with
81c005b82775 More tinkering with input subsystem
lost
parents:
diff changeset
19 this program. If not, see <http://www.gnu.org/licenses/>.
81c005b82775 More tinkering with input subsystem
lost
parents:
diff changeset
20 */
81c005b82775 More tinkering with input subsystem
lost
parents:
diff changeset
21
81c005b82775 More tinkering with input subsystem
lost
parents:
diff changeset
22 #ifndef ___input_h_seen___
81c005b82775 More tinkering with input subsystem
lost
parents:
diff changeset
23 #define ___input_h_seen___
81c005b82775 More tinkering with input subsystem
lost
parents:
diff changeset
24
81c005b82775 More tinkering with input subsystem
lost
parents:
diff changeset
25 #include "lwasm.h"
81c005b82775 More tinkering with input subsystem
lost
parents:
diff changeset
26
81c005b82775 More tinkering with input subsystem
lost
parents:
diff changeset
27 extern void input_init(asmstate_t *as);
81c005b82775 More tinkering with input subsystem
lost
parents:
diff changeset
28 extern void input_openstring(asmstate_t *as, char *s, char *str);
81c005b82775 More tinkering with input subsystem
lost
parents:
diff changeset
29 extern void input_open(asmstate_t *as, char *s);
81c005b82775 More tinkering with input subsystem
lost
parents:
diff changeset
30 extern char *input_readline(asmstate_t *as);
81c005b82775 More tinkering with input subsystem
lost
parents:
diff changeset
31 extern char *input_curspec(asmstate_t *as);
356
7166254491ed Finished pseudo ops
lost@starbug
parents: 330
diff changeset
32 extern FILE *input_open_standalone(asmstate_t *as, char *s);
330
81c005b82775 More tinkering with input subsystem
lost
parents:
diff changeset
33
81c005b82775 More tinkering with input subsystem
lost
parents:
diff changeset
34 #endif