--- ray/src/meta/rast.h 2003/02/22 02:07:26 1.1 +++ ray/src/meta/rast.h 2003/07/14 22:24:00 1.2 @@ -1,8 +1,14 @@ -/* RCSid: $Id: rast.h,v 1.1 2003/02/22 02:07:26 greg Exp $ */ +/* RCSid: $Id: rast.h,v 1.2 2003/07/14 22:24:00 schorsch Exp $ */ /* * Structures for line segment output to raster files */ +#ifndef _RAD_RAST_H_ +#define _RAD_RAST_H_ +#ifdef __cplusplus +extern "C" { +#endif + #define NUMSCANS 16 /* number of scanlines per block */ typedef struct { /* raster scanline block */ @@ -40,3 +46,9 @@ extern SCANBLOCK outblock; /* output span */ somebelow(p,outblock.ytop+1)) #define innext(p) (ydown ? somebelow(p,outblock.ybot) : \ someabove(p,outblock.ytop)) + +#ifdef __cplusplus +} +#endif +#endif /* _RAD_RAST_H_ */ +