isl_union_*_n_*: return isl_size
commitdaf07f5bef526b5836a05e9fad2f448e121e21f8
authorSven Verdoolaege <sven.verdoolaege@gmail.com>
Tue, 7 Aug 2018 10:09:42 +0000 (7 12:09 +0200)
committerSven Verdoolaege <sven.verdoolaege@gmail.com>
Thu, 6 Sep 2018 15:01:48 +0000 (6 17:01 +0200)
treed1409852728b4e29157d09af3e99c44cb0f9d5d2
parentcaa0ae5ea7ab9d41c3eafe0c16154d92f7d6af1c
isl_union_*_n_*: return isl_size

This improves consistency and fixes error handling.
In particular, the callers were assuming that these functions
return a negative value in case of error, but they did not.

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
doc/user.pod
include/isl/aff.h
include/isl/polynomial.h
isl_union_multi.c
isl_union_single.c
isl_union_templ.c