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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 33 by ben.allan, Sun Dec 26 20:06:01 2004 UTC revision 272 by johnpye, Sun Feb 5 06:43:19 2006 UTC
# Line 1  Line 1 
1  /**<  /*
2   *  Common Relation Construction Routines   *  Common Relation Construction Routines
3   *  Version: $Revision: 1.4 $   *  Version: $Revision: 1.4 $
4   *  Version control file: $RCSfile: rel_common.h,v $   *  Version control file: $RCSfile: rel_common.h,v $
# Line 24  Line 24 
24   *  Mass Ave, Cambridge, MA 02139 USA.  Check the file named COPYING.   *  Mass Ave, Cambridge, MA 02139 USA.  Check the file named COPYING.
25   */   */
26    
27  #ifndef __REL_COMMON_H_SEEN__  /** @file
28  #define __REL_COMMON_H_SEEN__   *  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 "types.h"
33     *  </pre>
34     */
35    
36    #ifndef ASC_REL_COMMON_H
37    #define ASC_REL_COMMON_H
38    
39  extern int CmpP(CONST char *, CONST char *);  extern int CmpP(CONST char *c1, CONST char *c2);
40  /**<  /**<
  *  int CmpP(c1,c2)  
  *  CONST char *c1;  
  *  CONST char *c2;  
41   *  Compare two character pointers.   *  Compare two character pointers.
42   */   */
43    
44  extern void Swap(unsigned long int *, unsigned long int *);  extern void Swap(unsigned long int *p1, unsigned long int *p2);
45  /**<  /**<
  *  void Swap(p1,p2)  
  *  unsigned long int *p1  
  *  unsigned long int *p2  
  *  unsigned long temp  
46   *  Exchange the value of pointers p1 and p2   *  Exchange the value of pointers p1 and p2
47   */   */
48    
49  extern CONST struct Expr *FindLastExpr(register CONST struct Expr *);  extern CONST struct Expr *FindLastExpr(register CONST struct Expr *ex);
50  /**<  /**<
  *  CONST struct Expr *FindLastExpr(ex)  
  *  register CONST struct Expr *ex  
51   *  Return the next pointer in a link of expressions   *  Return the next pointer in a link of expressions
52   */   */
53    
54    #endif  /* ASC_REL_COMMON_H */
55    
 #endif /*__ REL_COMMON_H_SEEN__  */  

Legend:
Removed from v.33  
changed lines
  Added in v.272

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