source: CIVL/src/include/civl/civlc.cvl@ 96f1f4c

1.23 2.0 acw/focus-triggers main test-branch
Last change on this file since 96f1f4c was 3015b4e, checked in by Yihao Yan <yihaoyan1@…>, 10 years ago

minor changes

git-svn-id: svn://vsl.cis.udel.edu/civl/trunk@3217 fb995dde-84ed-4084-dfe6-e5aef3e2452c

  • Property mode set to 100644
File size: 934 bytes
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 */
12struct $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/*
25void $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.