summaryrefslogtreecommitdiff
path: root/cloog-0.16.3/isl/isl_piplib.c
blob: e33b9812046a4f7a238a5e9f49ec21497b73c943 (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
25
26
/*
 * 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
 */

#include "isl_piplib.h"

void isl_seq_cpy_to_pip(Entier *dst, isl_int *src, unsigned len)
{
	int i;

	for (i = 0; i < len; ++i)
		entier_assign(dst[i], src[i]);
}

void isl_seq_cpy_from_pip(isl_int *dst, Entier *src, unsigned len)
{
	int i;

	for (i = 0; i < len; ++i)
		entier_assign(dst[i], src[i]);
}