OpenCores
URL https://opencores.org/ocsvn/1664/1664/trunk

Subversion Repositories 1664

[/] [1664/] [trunk/] [c/] [lista/] [lista_repone__datos.c] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 mrdmkg
#include "lista.h"
2
 
3
void lista_replace__datos(struct lista *esta,n1 *datos,nN cuantia,nN indise)
4
{
5
 
6
 if (indise<esta->contador)
7
 {
8
  if (esta->contador<(indise+cuantia)) lista_crese(esta,(indise+cuantia)-esta->contador);
9
  memoria_copia((P)(esta->datos+indise),(P)datos,cuantia);
10
 }
11
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.