| # | Line 2 | Line 2 | |
|---|---|---|
| 2 | /* | |
| 3 | * Structures for line segment output to raster files | |
| 4 | */ | |
| 5 | + | #ifndef _RAD_RAST_H_ |
| 6 | + | #define _RAD_RAST_H_ |
| 7 | ||
| 8 | + | #ifdef __cplusplus |
| 9 | + | extern "C" { |
| 10 | + | #endif |
| 11 | + | |
| 12 | #define NUMSCANS 16 /* number of scanlines per block */ | |
| 13 | ||
| 14 | typedef struct { /* raster scanline block */ | |
| # | Line 40 | Line 46 | extern SCANBLOCK outblock; /* output span */ | |
| 46 | somebelow(p,outblock.ytop+1)) | |
| 47 | #define innext(p) (ydown ? somebelow(p,outblock.ybot) : \ | |
| 48 | someabove(p,outblock.ytop)) | |
| 49 | + | |
| 50 | + | #ifdef __cplusplus |
| 51 | + | } |
| 52 | + | #endif |
| 53 | + | #endif /* _RAD_RAST_H_ */ |
| 54 | + | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |