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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1031 - (show annotations) (download) (as text)
Wed Jan 3 15:33:23 2007 UTC (17 years, 9 months ago) by johnpye
File MIME type: text/x-chdr
File size: 1772 byte(s)
Merging Ben's changes from trunk, changeset 1105 to changeset 1234.
This breaks Python test suite TestExtFn, so will need investigation.
1 /* ASCEND modelling environment
2 Copyright (C) 2006 Benjamin Andrew Allan
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 *//** @file
20 * Ascend Instance Tree Name Search Routines.
21 * <pre>
22 * When #including find.h, make sure these files are #included first:
23 * #include "utilities/ascConfig.h"
24 * #include "fractions.h"
25 * #include "compiler.h"
26 * #include "instance_enum.h"
27 * #include "dimen.h"
28 * #include "expr_types.h"
29 * #include "find.h"
30 * </pre>
31 *//*
32 by Ben Allan
33 Created: 10/3/2006
34 */
35
36 #ifndef ASC_FINDPATH_H
37 #define ASC_FINDPATH_H
38
39 extern struct gl_list_t *FindInstancesPaths(CONST struct Instance *i,
40 CONST struct Name *n,
41 enum find_errors *err);
42 /**<
43 * Return the list of Names expanded from n that have instances.
44 * Don't forget to destroy the names in the list before destroying list.
45 * If this returns NULL,
46 * it indicates that it couldn't find something in the name.
47 * Check err to discover why.
48 */
49
50 #endif /* ASC_FINDPATH_H */
51

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