isl_basic_map_from_constraint: only return copy of bmap on equality constraints
[isl.git] / isl_scan.h
blob21a2499124b50f6372509d15999c6eb684d7c845
1 /*
2 * Copyright 2008-2009 Katholieke Universiteit Leuven
4 * Use of this software is governed by the GNU LGPLv2.1 license
6 * Written by Sven Verdoolaege, K.U.Leuven, Departement
7 * Computerwetenschappen, Celestijnenlaan 200A, B-3001 Leuven, Belgium
8 */
10 #ifndef ISL_SCAN_H
11 #define ISL_SCAN_H
13 #include "isl_set.h"
14 #include "isl_vec.h"
16 struct isl_scan_callback {
17 int (*add)(struct isl_scan_callback *cb, __isl_take isl_vec *sample);
20 int isl_basic_set_scan(struct isl_basic_set *bset,
21 struct isl_scan_callback *callback);
22 int isl_set_scan(__isl_take isl_set *set, struct isl_scan_callback *callback);
24 #endif