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/lib-interface-head.in
ViewVC logotype

View of /branches/vis12/src/compiler/c-util/fragments/lib-interface-head.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1824 - (download) (annotate)
Wed Apr 11 15:49:51 2012 UTC (8 years, 6 months ago) by jhr
File size: 822 byte(s)
  Cleaning up the header files; support C++ as application language.
/*! \file @HDRFILE@
 *
 * Interface to library generated from @SRCFILE@.
 */

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

#ifndef @HDR_DEFINE@
#define @HDR_DEFINE@

#define @DIDEROT_FLOAT_PRECISION@
#define @DIDEROT_INT_PRECISION@
#define @DIDEROT_TARGET@

#if defined(HAVE_STDBOOL_H)
#  include <stdbool.h>
#elif !defined(__bool_true_false_are_defined)
#  ifndef HAVE__BOOL
#    ifdef __cplusplus
       typedef bool _Bool;
#    else
#      define _Bool signed char
#    endif
#  endif
#  define bool _Bool
#  define false 0
#  define true 1
#  define __bool_true_false_are_defined 1
#endif

#include <stdint.h>
#include <string.h>
#include "teem/nrrd.h"

#ifdef __cplusplus
extern "C" {
#endif

typedef struct @PREFIX@struct_world @PREFIX@World_t;

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