/[escript]/temp_trunk_copy/finley/src/IndexList.c
ViewVC logotype

Diff of /temp_trunk_copy/finley/src/IndexList.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 201 by jgs, Wed Nov 23 04:10:21 2005 UTC revision 416 by gross, Wed Jan 4 05:38:35 2006 UTC
# Line 112  dim_t Finley_IndexList_count(Finley_Inde Line 112  dim_t Finley_IndexList_count(Finley_Inde
112  void Finley_IndexList_toArray(Finley_IndexList* in, index_t* array) {  void Finley_IndexList_toArray(Finley_IndexList* in, index_t* array) {
113    dim_t i;    dim_t i;
114    if (in!=NULL) {    if (in!=NULL) {
115      for (i=0;i<in->n;i++) array[i]=in->index[i]+INDEX_OFFSET;      for (i=0;i<in->n;i++) array[i]=in->index[i];
116      Finley_IndexList_toArray(in->extension,&(array[in->n]));      Finley_IndexList_toArray(in->extension,&(array[in->n]));
117    }    }
118  }  }

Legend:
Removed from v.201  
changed lines
  Added in v.416

  ViewVC Help
Powered by ViewVC 1.1.26