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

SCM Repository

[diderot] Diff of /branches/vis12/src/include/Diderot/diderot.h
ViewVC logotype

Diff of /branches/vis12/src/include/Diderot/diderot.h

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

revision 1717, Sat Mar 10 19:44:29 2012 UTC revision 1718, Sat Mar 10 23:03:02 2012 UTC
# Line 92  Line 92 
92  #define NEW(ty)         (ty *)CheckedAlloc(sizeof(ty))  #define NEW(ty)         (ty *)CheckedAlloc(sizeof(ty))
93  #define NEWVEC(ty,n)    (ty *)CheckedAlloc(sizeof(ty) * (n))  #define NEWVEC(ty,n)    (ty *)CheckedAlloc(sizeof(ty) * (n))
94  #define NEWSTR(s)       strcpy((char *)CheckedAlloc(strlen(s)+1), s)  #define NEWSTR(s)       strcpy((char *)CheckedAlloc(strlen(s)+1), s)
95    #define FREE(p)         do { if (p != 0) free(p); } while(0)
96    
97  /* dynamic sequences */  /* dynamic sequences */
98  #include "dyn-seq.h"  #include "dyn-seq.h"

Legend:
Removed from v.1717  
changed lines
  Added in v.1718

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