# | Line 23 | Line 23 | |
---|---|---|
23 | ||
24 | #include "pmaptype.h" | |
25 | ||
26 | < | |
26 | > | #ifdef __cplusplus |
27 | > | extern "C" { |
28 | > | #endif |
29 | > | |
30 | /* Struct for passing params per photon map from rpict/rtrace/rvu */ | |
31 | typedef struct { | |
32 | char *fileName; /* Photon map file */ | |
# | Line 76 | Line 79 | |
79 | unsigned long parseMultiplier (const char *num); | |
80 | /* Evaluate numeric parameter string with optional multiplier suffix | |
81 | (G = 10^9, M = 10^6, K = 10^3). Returns 0 if parsing fails. */ | |
82 | + | |
83 | + | #ifdef __cplusplus |
84 | + | } |
85 | + | #endif |
86 | + | |
87 | #endif |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |