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

SCM Repository

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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2786 - (download) (annotate)
Tue Oct 14 19:39:27 2014 UTC (6 years ago) by jhr
File size: 819 byte(s)
  merging some changes from the vis12-cl branch
/*! \file @CFILE@
 *
 * Generated from @SRCFILE@.
 */

/*
 * COPYRIGHT (c) 2012 The Diderot Project (http://diderot-language.cs.uchicago.edu)
 * All rights reserved.
 */

#define DIDEROT_STANDALONE_EXEC
#define @DIDEROT_FLOAT_PRECISION@
#define @DIDEROT_INT_PRECISION@
#define @DIDEROT_TARGET@
#include "Diderot/diderot.h"

static char *ProgramName = "@PROG_NAME@";

typedef struct @PREFIX@struct_world @PREFIX@World_t;
typedef struct @PREFIX@struct_@STRAND@ Strand_@STRAND@_t;

/* stages of execution of a program */
typedef enum {
  POST_NEW = 0,		/* world allocated, but not initialized */
  POST_INIT = 1,	/* Init function has been called */
  POST_INITIALLY = 2,	/* globals and strands have been initialized */
  RUNNING = 3,		/* program is running */
  DONE = 4		/* program has terminated */
} ExecutionState_t;


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