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

SCM Repository

[diderot] Annotation of /branches/vis12-cl/src/include/Diderot/strands.h
ViewVC logotype

Annotation of /branches/vis12-cl/src/include/Diderot/strands.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3349 - (view) (download) (as text)

1 : jhr 1115 /*! \file strands.h
2 :     *
3 :     * \author John Reppy
4 :     */
5 :    
6 :     /*
7 : jhr 3349 * This code is part of the Diderot Project (http://diderot-language.cs.uchicago.edu)
8 :     *
9 :     * COPYRIGHT (c) 2015 The University of Chicago
10 : jhr 1115 * All rights reserved.
11 :     */
12 :    
13 :     #ifndef _DIDEROT_STRANDS_H_
14 :     #define _DIDEROT_STRANDS_H_
15 :    
16 :     #ifndef _DIDEROT_TYPES_H_
17 : jhr 1640 # include "Diderot/types.h"
18 : jhr 1115 #endif
19 : jhr 1640 #ifndef _DIDEROT_WORLD_H_
20 :     # include "Diderot/world.h"
21 :     #endif
22 : jhr 1115
23 : jhr 1806 typedef StrandStatus_t (*update_method_t)(void *glob, void *inSt, void *outSt);
24 :     typedef void (*stabilize_method_t)(void *glob, void *inSt, void *outSt);
25 : jhr 1714 typedef void (*convert_method_t)(void *st, void *);
26 : jhr 1115
27 :     /* hooks generated by the compiler for the runtime */
28 : jhr 1716 struct struct_strand {
29 : jhr 1640 char *name; //!< name of strand
30 :     size_t stateSzb; //!< size of strand state in bytes
31 :     update_method_t update; //!< update method
32 :     stabilize_method_t stabilize; //!< stabilize method
33 : jhr 1716 };
34 : jhr 1115
35 :     #endif /* !_DIDEROT_STRANDS_H_ */

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