annotate lwlib/lw_error.h @ 431:d7d7e4dca3e7

Eliminated infinite loop on recursive symbol resolution with a Q&D hack: limit the depth that lw_expr_simplify can be called to globally. Not thread friendly.
author lost@l-w.ca
date Sun, 24 Oct 2010 20:05:15 -0600
parents ed3553296580
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
329
c15cca3ae6a2 Created first pass of input layer
lost
parents:
diff changeset
1 /*
c15cca3ae6a2 Created first pass of input layer
lost
parents:
diff changeset
2 lw_error.h
c15cca3ae6a2 Created first pass of input layer
lost
parents:
diff changeset
3
c15cca3ae6a2 Created first pass of input layer
lost
parents:
diff changeset
4 Copyright © 2010 William Astle
c15cca3ae6a2 Created first pass of input layer
lost
parents:
diff changeset
5
c15cca3ae6a2 Created first pass of input layer
lost
parents:
diff changeset
6 This file is part of LWTOOLS.
c15cca3ae6a2 Created first pass of input layer
lost
parents:
diff changeset
7
c15cca3ae6a2 Created first pass of input layer
lost
parents:
diff changeset
8 LWTOOLS is free software: you can redistribute it and/or modify it under the
c15cca3ae6a2 Created first pass of input layer
lost
parents:
diff changeset
9 terms of the GNU General Public License as published by the Free Software
c15cca3ae6a2 Created first pass of input layer
lost
parents:
diff changeset
10 Foundation, either version 3 of the License, or (at your option) any later
c15cca3ae6a2 Created first pass of input layer
lost
parents:
diff changeset
11 version.
c15cca3ae6a2 Created first pass of input layer
lost
parents:
diff changeset
12
c15cca3ae6a2 Created first pass of input layer
lost
parents:
diff changeset
13 This program is distributed in the hope that it will be useful, but WITHOUT
c15cca3ae6a2 Created first pass of input layer
lost
parents:
diff changeset
14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
c15cca3ae6a2 Created first pass of input layer
lost
parents:
diff changeset
15 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
c15cca3ae6a2 Created first pass of input layer
lost
parents:
diff changeset
16 more details.
c15cca3ae6a2 Created first pass of input layer
lost
parents:
diff changeset
17
c15cca3ae6a2 Created first pass of input layer
lost
parents:
diff changeset
18 You should have received a copy of the GNU General Public License along with
c15cca3ae6a2 Created first pass of input layer
lost
parents:
diff changeset
19 this program. If not, see <http://www.gnu.org/licenses/>.
c15cca3ae6a2 Created first pass of input layer
lost
parents:
diff changeset
20 */
c15cca3ae6a2 Created first pass of input layer
lost
parents:
diff changeset
21
c15cca3ae6a2 Created first pass of input layer
lost
parents:
diff changeset
22 #ifndef ___lw_error_h_seen___
c15cca3ae6a2 Created first pass of input layer
lost
parents:
diff changeset
23 #define ___lw_error_h_seen___
c15cca3ae6a2 Created first pass of input layer
lost
parents:
diff changeset
24
c15cca3ae6a2 Created first pass of input layer
lost
parents:
diff changeset
25
c15cca3ae6a2 Created first pass of input layer
lost
parents:
diff changeset
26 #ifdef ___lw_error_c_seen___
c15cca3ae6a2 Created first pass of input layer
lost
parents:
diff changeset
27
c15cca3ae6a2 Created first pass of input layer
lost
parents:
diff changeset
28 #else /* def ___lw_error_c_seen___ */
c15cca3ae6a2 Created first pass of input layer
lost
parents:
diff changeset
29
c15cca3ae6a2 Created first pass of input layer
lost
parents:
diff changeset
30 extern void lw_error(const char *fmt, ...);
331
ed3553296580 Port manual forward with corrections from Jason Law
lost
parents: 329
diff changeset
31 extern void lw_error_setfunc(void (*f)(const char *fmt, ...));
329
c15cca3ae6a2 Created first pass of input layer
lost
parents:
diff changeset
32 #endif /* def ___lw_error_c_seen___ */
c15cca3ae6a2 Created first pass of input layer
lost
parents:
diff changeset
33
c15cca3ae6a2 Created first pass of input layer
lost
parents:
diff changeset
34 #endif /* ___lw_error_h_seen___ */