2 ** Copyright (C) University of Virginia, Massachusetts Institue of Technology 1994-2003.
3 ** See ../LICENSE for license information.
13 immut_typedef
int fileId
;
15 /*@constant fileId fileId_invalid; @*/
16 # define fileId_invalid -1
18 extern bool fileId_isValid (fileId
) /*@*/ ;
19 # define fileId_isValid(f) ((f) > fileId_invalid)
21 extern bool fileId_isInvalid (fileId
) /*@*/ ;
22 # define fileId_isInvalid(f) ((f) == fileId_invalid)
24 extern bool fileId_equal (fileId p_t1
, fileId p_t2
) /*@*/ ;
25 # define fileId_equal(p_t1, p_t2) (fileTable_sameBase (context_fileTable (), p_t1, p_t2))
26 /* evs 2000-07-27: was
27 # define fileId_equal(t1,t2) ((t1) == (t2))
30 /* fileId_baseEqual moved to fileTable.h */
32 extern /*@unused@*/ int
33 fileId_compare (/*@sef@*/ fileId p_t1
, /*@sef@*/ fileId p_t2
) /*@*/ ;
34 # define fileId_compare(t1,t2) (int_compare (t1, t2))
37 # error "Multiple include"