| # | Line 22 | Line 22 | |
|---|---|---|
| 22 | ||
| 23 | #include "pmapdata.h" | |
| 24 | ||
| 25 | + | #ifdef __cplusplus |
| 26 | + | extern "C" { |
| 27 | + | #endif |
| 28 | ||
| 29 | /* File format version with feature suffix */ | |
| 30 | #define PMAP_FILEVER_MAJ "3.1" | |
| # | Line 67 | Line 70 | |
| 70 | /* Load portable photon map from specified filename, and return photon | |
| 71 | * map type as identified from file header. */ | |
| 72 | ||
| 73 | + | #ifdef __cplusplus |
| 74 | + | } |
| 75 | #endif | |
| 76 | ||
| 77 | + | #endif |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |