summaryrefslogtreecommitdiff
path: root/isl_scan.h
blob: 8e5ad74a85a20a97cb2ff83342c4bb1493616e7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 * Copyright 2008-2009 Katholieke Universiteit Leuven
 *
 * Use of this software is governed by the GNU LGPLv2.1 license
 *
 * Written by Sven Verdoolaege, K.U.Leuven, Departement
 * Computerwetenschappen, Celestijnenlaan 200A, B-3001 Leuven, Belgium
 */

#ifndef ISL_SCAN_H
#define ISL_SCAN_H

#include <isl/set.h>
#include <isl/vec.h>

struct isl_scan_callback {
	int (*add)(struct isl_scan_callback *cb, __isl_take isl_vec *sample);
};

int isl_basic_set_scan(struct isl_basic_set *bset,
	struct isl_scan_callback *callback);
int isl_set_scan(__isl_take isl_set *set, struct isl_scan_callback *callback);

#endif