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 653, Mon Mar 21 00:31:29 2011 UTC revision 654, Mon Mar 21 17:10:54 2011 UTC
# Line 31  Line 31 
31  #include <stdbool.h>  #include <stdbool.h>
32  #include <stdlib.h>  #include <stdlib.h>
33  #include <math.h>  #include <math.h>
34    #include <stdio.h>  // for printing output
35    
36  /* library-call status */  /* library-call status */
37  typedef enum { DIDEROT_OK = 0, DIDEROT_FAIL = -1 } Status_t;  typedef enum { DIDEROT_OK = 0, DIDEROT_FAIL = -1 } Status_t;
# Line 140  Line 141 
141  } Diderot_image3D_t;  } Diderot_image3D_t;
142    
143  typedef StrandStatus_t (*update_method_t)(void *, void *);  typedef StrandStatus_t (*update_method_t)(void *, void *);
144    typedef void (*print_method_t)(FILE *, void *);
145    
146  /* hooks generated by the compiler for the runtime */  /* hooks generated by the compiler for the runtime */
147  typedef struct {  typedef struct {
148      char                *name;          // name of strand      char                *name;          // name of strand
149      size_t              stateSzb;       // sze of strand state      size_t              stateSzb;       // sze of strand state
150      update_method_t     update;         // update method      update_method_t     update;         // update method
151        print_method_t      print;          // function for printing output state
152  } Strand_t;  } Strand_t;
153    
154  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.653  
changed lines
  Added in v.654

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