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

SCM Repository

[diderot] View of /branches/vis12/src/include/Diderot/strands.h
ViewVC logotype

View of /branches/vis12/src/include/Diderot/strands.h

Parent Directory Parent Directory | Revision Log Revision Log

Revision 1978 - (download) (as text) (annotate)
Sat Jul 21 16:19:40 2012 UTC (9 years ago) by jhr
File size: 1132 byte(s)
  Working on sequence loading
/*! \file strands.h
 * \author John Reppy

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


#  include "Diderot/types.h"
#  include "Diderot/world.h"

typedef StrandStatus_t (*update_method_t)(void *glob, void *inSt, void *outSt);
typedef void (*stabilize_method_t)(void *glob, void *inSt, void *outSt);
typedef void (*convert_method_t)(void *st, void *); 

/* hooks generated by the compiler for the runtime */
struct struct_strand {
    char                *name;          //!< name of strand
    size_t              stateSzb;       //!< size of strand state in bytes
#if defined(DIDEROT_TARGET_CL)
    size_t              shadowStrandSzb; //!< shadow strand size
    update_method_t     update;         //!< update method
    stabilize_method_t  stabilize;      //!< stabilize method
#if defined(DIDEROT_TARGET_CL)
    convert_method_t    strandCopy;     //!< method for copying 

#endif /* !_DIDEROT_STRANDS_H_ */

ViewVC Help
Powered by ViewVC 1.0.0