Commit b9ec2cad authored by Michael Beck's avatar Michael Beck
Browse files

- add tarval_top and tarval_bottom as alias for tarval_undefined and tarval_bad

[r20459]
parent 22900a93
......@@ -274,7 +274,7 @@ int tarval_is_all_one(tarval *tv);
/** The 'bad' tarval. */
extern tarval *tarval_bad;
/** Returns the 'bad tarval. */
/** Returns the 'bad' tarval. */
tarval *get_tarval_bad(void);
/** The 'undefined' tarval. */
......@@ -293,6 +293,16 @@ extern tarval *tarval_b_true;
/** Returns the mode_b tarval 'true'. */
tarval *get_tarval_b_true(void);
/** The 'top' tarval. This is just another name for the 'undefined' tarval. */
#define tarval_top tarval_undefined
/** Returns the 'top' tarval. */
#define get_tarval_top() get_tarval_undefined()
/** The 'bottom' tarval. This is just another name for the 'bad' tarval. */
#define tarval_bottom tarval_bad
/** Returns the 'bottom' tarval. */
#define get_tarval_bottom() get_tarval_bad()
/* These functions calculate and return a tarval representing the requested
* value.
* The functions get_mode_{Max,Min,...} return tarvals retrieved from these
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment