/[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 912 - (show annotations) (download) (as text)
Fri Oct 27 07:18:21 2006 UTC (16 years, 11 months ago) by johnpye
File MIME type: text/x-chdr
File size: 1998 byte(s)
Removed BBOXWHINE (replaced with some one-time-only warnings for the moment)
Added ExtMethodDestroyFn to allow 'user_data' associated with external methods to be destroyed.
Implemented the destroy fn through to 'extpy' module.
Added 'name' as an extra parameter in the user_data for extpy, to help with debug msgs.
Moved 'solvernotes' to a file of its own (was part of listnotes.py)
Added 'repaint' to GTK 'tools' menu (for debugging)
Added 'python.h' to top of library, type files (pygtk) to stop silly warnings.
Working on some diagnosing of problems as noted in Simulation::checkInstance.
Removed some old comments from namio.h and others.
Renamed 'blsys' to 'sys' in integrator.c.
Some work on fixing up the J*v function for IDA (not yet complete).
Added new 'destroyfn' parameter (as NULL) to all calls to 'CreateUserFunctionMethod'.
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 Last in CVS: $Revision: 1.5 $ $Date: 1998/04/16 00:43:29 $ $Author: ballan $
32 */
33
34 #ifndef ASC_NAMEIO_H
35 #define ASC_NAMEIO_H
36
37 #include <utilities/ascConfig.h>
38
39 extern void WriteName(FILE *f, CONST struct Name *n);
40 /**<
41 * Write n to file f. No leading or trailing spaces are added,
42 * and no trailing newline is added.
43 */
44
45 extern void WriteNameNode(FILE *f, CONST struct Name *n);
46 /**<
47 * Write just this one name node, and not any of the ones following it.
48 */
49
50 ASC_DLLSPEC(char*) WriteNameString(CONST struct Name *n);
51 /**<
52 * Return a string containing the name.
53 * User is responsible for freeing string.
54 */
55
56 extern void WriteName2Str(Asc_DString *dstring, CONST struct Name *n);
57 /**<
58 * Write n to dstring. No leading or trailing spaces are added,
59 * and no trailing newline is added.
60 */
61
62 extern void WriteNameNode2Str(Asc_DString *dstring,CONST struct Name *n);
63 /**<
64 * Write just this one name node, and not any of the ones following it.
65 */
66
67 #endif /* ASC_NAMEIO_H */
68

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