mirror of
https://review.haiku-os.org/buildtools
synced 2025-02-12 08:47:41 +01:00
27 lines
554 B
C
27 lines
554 B
C
|
/*
|
||
|
* 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]);
|
||
|
}
|