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

SCM Repository

[diderot] Annotation of /branches/vis12/src/compiler/c-util/fragments/exec-hdr.in
ViewVC logotype

Annotation of /branches/vis12/src/compiler/c-util/fragments/exec-hdr.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2786 - (view) (download)

1 : jhr 1773 /*! \file @CFILE@
2 :     *
3 :     * Generated from @SRCFILE@.
4 :     */
5 :    
6 :     /*
7 :     * COPYRIGHT (c) 2012 The Diderot Project (http://diderot-language.cs.uchicago.edu)
8 :     * All rights reserved.
9 :     */
10 :    
11 : jhr 2048 #define DIDEROT_STANDALONE_EXEC
12 : jhr 1773 #define @DIDEROT_FLOAT_PRECISION@
13 :     #define @DIDEROT_INT_PRECISION@
14 :     #define @DIDEROT_TARGET@
15 :     #include "Diderot/diderot.h"
16 :    
17 : jhr 2786 static char *ProgramName = "@PROG_NAME@";
18 : jhr 1773
19 : jhr 1831 typedef struct @PREFIX@struct_world @PREFIX@World_t;
20 : jhr 1773 typedef struct @PREFIX@struct_@STRAND@ Strand_@STRAND@_t;
21 : jhr 2786
22 :     /* stages of execution of a program */
23 :     typedef enum {
24 :     POST_NEW = 0, /* world allocated, but not initialized */
25 :     POST_INIT = 1, /* Init function has been called */
26 :     POST_INITIALLY = 2, /* globals and strands have been initialized */
27 :     RUNNING = 3, /* program is running */
28 :     DONE = 4 /* program has terminated */
29 :     } ExecutionState_t;
30 :    

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