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

Subversion Repositories 1664

[/] [1664/] [trunk/] [c/] [lista/] [lista_inserta_spasio.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_inserta_spasio(struct lista *esta,nN indise,nN cuantia)
4
{
5
 if (indise<=esta->contador)
6
 {
7
  if (indise!=esta->contador) lista_crese(esta,cuantia);
8
  memoria_move((P)(esta->datos+indise+cuantia),(P)(esta->datos+indise),esta->contador-indise);
9
  esta->contador=+cuantia;
10
 }
11
}

powered by: WebSVN 2.1.0

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