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

SCM Repository

[diderot] View of /branches/vis12/src/compiler/c-target/fragments/init.in
ViewVC logotype

View of /branches/vis12/src/compiler/c-target/fragments/init.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1727 - (download) (annotate)
Mon Mar 12 22:35:18 2012 UTC (8 years, 2 months ago) by jhr
File size: 403 byte(s)
  Working on library support
//! Create and allocate the program's world
@PREFIX@World_t *@PREFIX@Init ()
{
    @PREFIX@World_t *wrld = NEW(@PREFIX@World_t);
    if (wrld == 0)
	return 0;

    wrld->name		= ProgramName;
    wrld->err		= 0;
    wrld->verboseFlg	= false;
    wrld->nStrandTys	= 1;  /* FIXME */
    wrld->strandDesc	= &Strand_@STRAND@;

  // initialize the input defaults
    InitDefaults (wrld);

    return wrld;

}

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