Changes between Version 4 and Version 5 of Library_IR
- Timestamp:
- 12/10/15 17:21:38 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Library_IR
v4 v5 31 31 The header `pointer.cvh` declares functions taking pointers as the arguments for different purposes, including: 32 32 33 * `fun[lib=" civlc"] $set_default(obj: Pointer)`33 * `fun[lib="pointer"] $set_default(obj: Pointer)` 34 34 * sets the leaf nodes of a variable to be the default value of zero 35 * `fun[lib=" civlc"] $apply(obj1: Pointer, op: Operation, obj2: Pointer, result: Pointer)`35 * `fun[lib="pointer"] $apply(obj1: Pointer, op: Operation, obj2: Pointer, result: Pointer)` 36 36 * applies a binary operator `op` to two objects 37 37 * `fun[lib="pointer"] $equals(x: Pointer, y: Pointer): Bool` 38 * `fun[lib="pointer"] $assert_equals(x: Pointer, y: Pointer, ...)` 39 * asserts that two objects are equal to each other 40 * takes additional arguments for error message if the assertion is violated 38 41 * equality checking 39 42 * this function returns true iff the objects pointed to by the pointers `x` and `y` have the same type and value.
