1 |
/* |
2 |
* Temporary set output routines |
3 |
* by Tom Epperly |
4 |
* Version: $Revision: 1.4 $ |
5 |
* Version control file: $RCSfile: setio.h,v $ |
6 |
* Date last modified: $Date: 1997/07/18 12:34:48 $ |
7 |
* Last modified by: $Author: mthomas $ |
8 |
* |
9 |
* This file is part of the Ascend Language Interpreter. |
10 |
* |
11 |
* Copyright (C) 1990, 1993, 1994 Thomas Guthrie Epperly |
12 |
* |
13 |
* The Ascend Language Interpreter is free software; you can redistribute |
14 |
* it and/or modify it under the terms of the GNU General Public License as |
15 |
* published by the Free Software Foundation; either version 2 of the |
16 |
* License, or (at your option) any later version. |
17 |
* |
18 |
* The Ascend Language Interpreter is distributed in hope that it will be |
19 |
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of |
20 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
21 |
* General Public License for more details. |
22 |
* |
23 |
* You should have received a copy of the GNU General Public License along |
24 |
* with the program; if not, write to the Free Software Foundation, Inc., 675 |
25 |
* Mass Ave, Cambridge, MA 02139 USA. Check the file named COPYING. |
26 |
*/ |
27 |
|
28 |
/** @file |
29 |
* Temporary set output routines. |
30 |
* <pre> |
31 |
* When #including set_io.h, make sure these files are #included first: |
32 |
* #include <stdio.h> |
33 |
* #include "utilities/ascConfig.h" |
34 |
* #include "compiler.h" |
35 |
* #include "expr_types.h" |
36 |
* #include "symtab.h" |
37 |
* </pre> |
38 |
*/ |
39 |
|
40 |
#ifndef ASC_SETIO_H |
41 |
#define ASC_SETIO_H |
42 |
|
43 |
/** addtogroup compiler Compiler |
44 |
@{ |
45 |
*/ |
46 |
|
47 |
extern void WriteSetNode(FILE *f, CONST struct Set *s); |
48 |
/**< |
49 |
* <!-- void WriteSetNode(f,s) --> |
50 |
* <!-- FILE *f; --> |
51 |
* <!-- const struct Set *s; --> |
52 |
* Write this set node without any leading or trailing white space. |
53 |
*/ |
54 |
|
55 |
extern void WriteSet(FILE *f, CONST struct Set *s); |
56 |
/**< |
57 |
* <!-- void WriteSet(f,s) --> |
58 |
* <!-- FILE *f; --> |
59 |
* <!-- const struct Set *s; --> |
60 |
* Output the set with no leading or trailing white space. |
61 |
*/ |
62 |
|
63 |
extern void WriteSetNode2Str(Asc_DString *dstring, CONST struct Set *s); |
64 |
/**< |
65 |
* <!-- void WriteSetNode2Str(dstring,s) --> |
66 |
* <!-- Asc_DString *dstring; --> |
67 |
* <!-- const struct Set *s; --> |
68 |
* Write this set node without any leading or trailing white space. |
69 |
*/ |
70 |
|
71 |
extern void WriteSet2Str(Asc_DString *dstring, CONST struct Set *s); |
72 |
/**< |
73 |
* <!-- void WriteSet2Str(dsring,s) --> |
74 |
* <!-- Asc_DString *dstring; --> |
75 |
* <!-- const struct Set *s; --> |
76 |
* Output the set with no leading or trailing white space. |
77 |
*/ |
78 |
|
79 |
/* @} */ |
80 |
|
81 |
#endif /* ASC_SETIO_H */ |
82 |
|