30static
void die(const
char *msg)
32 fprintf(stderr,
"%s\n", msg);
40 file = fopen(filename,
"r");
42 fprintf(stderr,
"Unable to open %s\n", filename);
60int main(
int argc,
char **argv)
65 FILE *input1, *input2;
68 options = options_new_with_defaults();
104 if (more < 0 || more2 < 0)
108 return EXIT_FAILURE);
110 umap1 = read_union_map(s1);
111 umap2 = read_union_map(s2);
118 die(
"field not equal");
#define ISL_ARG_DEF(prefix, st, args)
#define ISL_ARG_ARG(st, f, a, d)
#define ISL_ARG_CHILD(st, f, l, c, h)
#define ISL_ARGS_START(s, name)
isl_ctx * isl_ctx_alloc_with_options(struct isl_args *args, __isl_take void *opt)
#define isl_die(ctx, errno, msg, code)
void isl_ctx_free(isl_ctx *ctx)
static FILE * open_or_die(const char *filename)
These are automatically generated checked C++ bindings for isl.
isl_bool isl_stream_yaml_next(__isl_keep isl_stream *s)
isl_stat isl_stream_yaml_read_start_mapping(__isl_keep isl_stream *s)
int isl_stream_eat(__isl_keep isl_stream *s, int type)
__isl_give isl_stream * isl_stream_new_file(isl_ctx *ctx, FILE *file)
isl_stat isl_stream_yaml_read_end_mapping(__isl_keep isl_stream *s)
void isl_stream_free(__isl_take isl_stream *s)
__isl_null isl_union_map * isl_union_map_free(__isl_take isl_union_map *umap)
__isl_export isl_bool isl_union_map_is_equal(__isl_keep isl_union_map *umap1, __isl_keep isl_union_map *umap2)