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