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/strands.h
ViewVC logotype

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

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

revision 1448, Tue Jul 12 13:25:08 2011 UTC revision 1449, Mon Jul 18 15:26:21 2011 UTC
# Line 18  Line 18 
18  typedef StrandStatus_t (*update_method_t)(void *, void *);  typedef StrandStatus_t (*update_method_t)(void *, void *);
19  typedef void (*stabilize_method_t)(void *, void *);  typedef void (*stabilize_method_t)(void *, void *);
20  typedef void (*print_method_t)(FILE *, void *);  typedef void (*print_method_t)(FILE *, void *);
21    typedef void (*out_method_t)(void *, void *);
22    
23  /* hooks generated by the compiler for the runtime */  /* hooks generated by the compiler for the runtime */
24  typedef struct {  typedef struct {
25      char                *name;          //!< name of strand      char                *name;          //!< name of strand
26      size_t              stateSzb;       //!< size of strand state in bytes      size_t              stateSzb;       //!< size of strand state in bytes
27        size_t              outputSzb;      // sze of strand output
28        int                 nrrdType;       // nrrdType enum for output
29      update_method_t     update;         //!< update method      update_method_t     update;         //!< update method
30      stabilize_method_t  stabilize;      //!< stabilize method      stabilize_method_t  stabilize;      //!< stabilize method
31      print_method_t      print;          //!< function for printing output state      print_method_t      print;          //!< function for printing output state
32        out_method_t        out;            // function for outputing output state
33  } Strand_t;  } Strand_t;
34    
35  extern int Diderot_NumStrands;          //!< the number of strands in the program  extern int Diderot_NumStrands;          //!< the number of strands in the program

Legend:
Removed from v.1448  
changed lines
  Added in v.1449

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