Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /branches/vis12/src/lib/common/dyn-seq.c
ViewVC logotype

Diff of /branches/vis12/src/lib/common/dyn-seq.c

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

revision 1905, Sun Jun 3 05:43:43 2012 UTC revision 1906, Sun Jun 3 07:01:19 2012 UTC
# Line 32  Line 32 
32          seq->data = newData;          seq->data = newData;
33      }      }
34      unsigned int i = (seq->base + seq->nElems) % seq->size;      unsigned int i = (seq->base + seq->nElems) % seq->size;
35      seq->size++;      seq->nElems++;
36      memcpy(ElemAddr(seq->data, elemSz, i), item, elemSz);      memcpy(ElemAddr(seq->data, elemSz, i), item, elemSz);
37      return seq;      return seq;
38  }  }

Legend:
Removed from v.1905  
changed lines
  Added in v.1906

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0