/[ascend]/trunk/base/generic/compiler/nameio.h
ViewVC logotype

Contents of /trunk/base/generic/compiler/nameio.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 669 - (show annotations) (download) (as text)
Wed Jun 21 07:00:45 2006 UTC (14 years, 3 months ago) by johnpye
File MIME type: text/x-chdr
File size: 2080 byte(s)
Merged changes from DAE branch (revisions 702 to 819) back into trunk.
This adds the Integration API to the ASCEND solver (in base/generic).
Also provides pre-alpha support for 'IDA' from the SUNDIALS suite, a DAE solver.
Many other minor code clean-ups, including adoption of new 'ASC_NEW' and friends (to replace 'ascmalloc')
Added some very sketchy stuff providing 'DIFF(...)' syntax, although it is anticipated that this will be removed.
1 /* ASCEND modelling environment
2 Copyright (C) 1990, 1993, 1994 Thomas Guthrie Epperly
3 Copyright (C) 2006 Carnegie Mellon University
4
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2, or (at your option)
8 any later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place - Suite 330,
18 Boston, MA 02111-1307, USA.
19 *//**
20 @file
21 Temporary name output routine.
22
23 Requires:
24 #include <stdio.h>
25 #include "utilities/ascConfig.h"
26 #include "compiler.h"
27 #include "expr_types.h"
28 #include "symtab.h"
29 *//*
30 by Tom Epperly
31 Version: $Revision: 1.5 $
32 Version control file: $RCSfile: nameio.h,v $
33 Date last modified: $Date: 1998/04/16 00:43:29 $
34 Last modified by: $Author: ballan $
35 */
36
37 #ifndef ASC_NAMEIO_H
38 #define ASC_NAMEIO_H
39
40 #include <utilities/ascConfig.h>
41
42 extern void WriteName(FILE *f, CONST struct Name *n);
43 /**<
44 * Write n to file f. No leading or trailing spaces are added,
45 * and no trailing newline is added.
46 */
47
48 extern void WriteNameNode(FILE *f, CONST struct Name *n);
49 /**<
50 * Write just this one name node, and not any of the ones following it.
51 */
52
53 ASC_DLLSPEC(char*) WriteNameString(CONST struct Name *n);
54 /**<
55 * Return a string containing the name.
56 * User is responsible for freeing string.
57 */
58
59 extern void WriteName2Str(Asc_DString *dstring, CONST struct Name *n);
60 /**<
61 * Write n to dstring. No leading or trailing spaces are added,
62 * and no trailing newline is added.
63 */
64
65 extern void WriteNameNode2Str(Asc_DString *dstring,CONST struct Name *n);
66 /**<
67 * Write just this one name node, and not any of the ones following it.
68 */
69
70 #endif /* ASC_NAMEIO_H */
71

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22