X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=isl_seq.c;h=42e6b63a78f2dcb911913d9a509ec248f812fcc9;hb=de51a9bc4da5dd3f1f9f57c2362da6f9752c44e0;hp=fa8a6294207d5bdb1f0d962bd49a5c35f826b150;hpb=04eeddb3c9af356174ab099a61b5863a648594d9;p=platform%2Fupstream%2Fisl.git diff --git a/isl_seq.c b/isl_seq.c index fa8a629..42e6b63 100644 --- a/isl_seq.c +++ b/isl_seq.c @@ -1,7 +1,7 @@ /* * Copyright 2008-2009 Katholieke Universiteit Leuven * - * Use of this software is governed by the GNU LGPLv2.1 license + * Use of this software is governed by the MIT license * * Written by Sven Verdoolaege, K.U.Leuven, Departement * Computerwetenschappen, Celestijnenlaan 200A, B-3001 Leuven, Belgium @@ -307,3 +307,15 @@ uint32_t isl_seq_get_hash_bits(isl_int *p, unsigned len, unsigned bits) hash = isl_seq_get_hash(p, len); return isl_hash_bits(hash, bits); } + +void isl_seq_dump(isl_int *p, unsigned len) +{ + int i; + + for (i = 0; i < len; ++i) { + if (i) + fprintf(stderr, " "); + isl_int_print(stderr, p[i], 0); + } + fprintf(stderr, "\n"); +}