summaryrefslogtreecommitdiff
path: root/isl_piplib.c
blob: ffca54d021bd05b0fb45567e68a93f75960a012f (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 MIT 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]);
}