| # | Line 28 | Line 28 | |
|---|---|---|
| 28 | #include "pmapparm.h" | |
| 29 | #include "pmapdata.h" | |
| 30 | ||
| 31 | + | #ifdef __cplusplus |
| 32 | + | extern "C" { |
| 33 | + | #endif |
| 34 | ||
| 35 | #ifndef min | |
| 36 | #define min(a, b) ((a) < (b) ? (a) : (b)) | |
| # | Line 87 | Line 90 | |
| 90 | ||
| 91 | void colorNorm (COLOR); | |
| 92 | /* Normalise colour channels to average of 1 */ | |
| 93 | + | |
| 94 | + | #ifdef __cplusplus |
| 95 | + | } |
| 96 | + | #endif |
| 97 | ||
| 98 | #endif | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |