GRASS GIS 7 Programmer's Manual  7.0.3(2016)-r00000
forget.c
Go to the documentation of this file.
1 
14 #include <grass/rowio.h>
15 
22 void Rowio_forget(ROWIO * R, int row)
23 {
24  int i;
25 
26  if (row < 0)
27  return;
28 
29  for (i = 0; i < R->nrows; i++)
30  if (row == R->rcb[i].row) {
31  R->rcb[i].row = -1; /* no longer in memory */
32  break;
33  }
34 }
void Rowio_forget(ROWIO *R, int row)
Release row from memory.
Definition: forget.c:22