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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1066 - (show annotations) (download) (as text)
Sun Jan 7 10:02:41 2007 UTC (17 years, 9 months ago) by johnpye
File MIME type: text/x-chdr
File size: 1836 byte(s)
Adding doxygen 'addtogroup' for Solver, Compiler, Integrator.
1 /*
2 * Common Relation Construction Routines
3 * Version: $Revision: 1.4 $
4 * Version control file: $RCSfile: rel_common.h,v $
5 * Date last modified: $Date: 1997/07/18 12:33:09 $
6 * Last modified by: $Author: mthomas $
7 *
8 * This file is part of the Ascend Language Interpreter.
9 *
10 * Copyright (C) 1997 Carnegie Mellon University
11 *
12 * The Ascend Language Interpreter is free software; you can redistribute
13 * it and/or modify it under the terms of the GNU General Public License as
14 * published by the Free Software Foundation; either version 2 of the
15 * License, or (at your option) any later version.
16 *
17 * The Ascend Language Interpreter is distributed in hope that it will be
18 * useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 * General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License along
23 * with the program; if not, write to the Free Software Foundation, Inc., 675
24 * Mass Ave, Cambridge, MA 02139 USA. Check the file named COPYING.
25 */
26
27 /** @file
28 * Common Relation Construction Routines.
29 * <pre>
30 * When #including rel_common.h, make sure these files are #included first:
31 * #include "utilities/ascConfig.h"
32 * #include "expr_types.h"
33 * </pre>
34 */
35
36 #ifndef ASC_REL_COMMON_H
37 #define ASC_REL_COMMON_H
38
39 /** addtogroup compiler Compiler
40 @{
41 */
42
43 extern int CmpP(CONST char *c1, CONST char *c2);
44 /**<
45 * Compare two character pointers.
46 */
47
48 extern void Swap(unsigned long int *p1, unsigned long int *p2);
49 /**<
50 * Exchange the value of pointers p1 and p2
51 */
52
53 extern CONST struct Expr *FindLastExpr(register CONST struct Expr *ex);
54 /**<
55 * Return the next pointer in a link of expressions
56 */
57
58 /* @} */
59
60 #endif /* ASC_REL_COMMON_H */
61

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