1.23
2.0
acw/focus-triggers
main
test-branch
| Line | |
|---|
| 1 | /* This header file contains the core definitions of the CIVL-C language,
|
|---|
| 2 | * including standard types and function prototypes.
|
|---|
| 3 | */
|
|---|
| 4 |
|
|---|
| 5 | #ifndef __CIVLC_CIVL__
|
|---|
| 6 | #define __CIVLC_CIVL__
|
|---|
| 7 |
|
|---|
| 8 | #include <civlc.cvh>
|
|---|
| 9 | //#include <domain.cvh>
|
|---|
| 10 |
|
|---|
| 11 | /* Completes the declaration of this type in civlc.cvh */
|
|---|
| 12 | struct $int_iter {
|
|---|
| 13 | int size;
|
|---|
| 14 | int content[];
|
|---|
| 15 | int index; //initialized as 0
|
|---|
| 16 | };
|
|---|
| 17 |
|
|---|
| 18 |
|
|---|
| 19 | /*void $elaborate(int x) {
|
|---|
| 20 | if(!$is_concrete_int(x))
|
|---|
| 21 | for(int i=0; i<x; i++);
|
|---|
| 22 | }*/
|
|---|
| 23 |
|
|---|
| 24 | /*
|
|---|
| 25 | void $elaborate_rectangular_domain($domain domain){
|
|---|
| 26 | if(!$is_rectangular_domain(domain))
|
|---|
| 27 | return;
|
|---|
| 28 | for(int i=0; i<$dimension_of(domain); i++){
|
|---|
| 29 | $range range=$range_of_rectangular_domain(domain, i);
|
|---|
| 30 |
|
|---|
| 31 | if(!($is_regular_range(range)))
|
|---|
| 32 | continue;
|
|---|
| 33 |
|
|---|
| 34 | int high=$high_of_regular_range(range);
|
|---|
| 35 | int low=$low_of_regular_range(range);
|
|---|
| 36 |
|
|---|
| 37 | if(!$is_concrete_int(high))
|
|---|
| 38 | $elaborate(high);
|
|---|
| 39 | if(!$is_concrete_int(low))
|
|---|
| 40 | $elaborate(low);
|
|---|
| 41 | }
|
|---|
| 42 | }*/
|
|---|
| 43 |
|
|---|
| 44 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.