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

SCM Repository

[diderot] Diff of /branches/pure-cfg/src/include/Diderot/diderot.h
ViewVC logotype

Diff of /branches/pure-cfg/src/include/Diderot/diderot.h

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

revision 570, Mon Feb 28 20:56:02 2011 UTC revision 571, Mon Feb 28 21:36:12 2011 UTC
# Line 117  Line 117 
117                                  // (m inverse transpose)                                  // (m inverse transpose)
118  } Diderot_image3D_t;  } Diderot_image3D_t;
119    
120    typedef StrandStatus_t (*strand_init_t)(void *, int, int);
121    typedef StrandStatus_t (*update_method_t)(void *, void *);
122    
123    /* hooks generated by compiler for runtime */
124    typedef struct {
125        char                *name;          // name of strand
126        size_t              stateSzb;       // sze of strand state
127        strand_init_t       init;           // initialization
128        update_method_t     update;         // update method
129    } Strand_t;
130    
131    extern int Diderot_NumStrands;          // the number of strands in the program
132    extern Strand_t Diderot_Strands[];      // array of NumStrands strand descriptors
133    
134    extern void Diderot_InitGlobals ();
135    
136  /* Diderot library functions */  /* Diderot library functions */
137    
138    // strand allocation (no initializtion)
139    void *Diderot_AllocStrand (Strand_t *strand);
140    
141  /* load image data from Nrrd files */  /* load image data from Nrrd files */
142  extern Status_t Diderot_LoadImage1D (Diderot_string_t name, Diderot_image1D_t **img);  extern Status_t Diderot_LoadImage1D (Diderot_string_t name, Diderot_image1D_t **img);
143  extern Status_t Diderot_LoadImage2D (Diderot_string_t name, Diderot_image2D_t **img);  extern Status_t Diderot_LoadImage2D (Diderot_string_t name, Diderot_image2D_t **img);

Legend:
Removed from v.570  
changed lines
  Added in v.571

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