/*! \file world.h * * \author John Reppy */ /* * COPYRIGHT (c) 2011 The Diderot Project (http://diderot-language.cs.uchicago.edu) * All rights reserved. */ #ifndef _DIDEROT_WORLD_H_ #define _DIDEROT_WORLD_H_ #ifndef _DIDEROT_TYPES_H_ #include "types.h" #endif //! the integer typed used to represent the strand status array. #if defined(DIDEROT_TARGET_CL) typedef uint32_t StatusInt_t; #else typedef uint8_t StatusInt_t; #endif /* The World_t structure type varies across targets, but all targets share the same prefix. */ #define STRUCT_WORLD_PREFIX \ const char *name; /*!< the program name */ \ biffMsg *errors; /*!< holds error messages (if any) */ \ bool verboseFlg; /*!< true if running in verbose mode */ \ bool isArray; /*!< are the strands in an array or collection? */ \ uint32_t nStrandTys; /*!< number of strand types in the program. */ \ Strand_t *strandDesc; /*!< nStrandTys array of strand descriptors */ \ uint32_t nAxes; /*!< depth of iteration nesting */ \ uint32_t *base; /*!< nAxes array of base indices */ \ uint32_t *size; /*!< nAxes array of iteration sizes */ \ uint32_t numStrands; /*!< number of strands in the world */ /*! \brief a structure type for accessing the common fields of a world. */ typedef struct { STRUCT_WORLD_PREFIX } WorldPrefix_t; #endif /* !_DIDEROT_WORLD_H_ */
Click to toggle
does not end with </html> tag
does not end with </body> tag
The output has ended thus: world. */ typedef struct { STRUCT_WORLD_PREFIX } WorldPrefix_t; #endif /* !_DIDEROT_WORLD_H_ */