# | Line 1 | Line 1 | |
---|---|---|
1 | #ifndef UTILS_PHYSMEM_H | |
2 | #define UTILS_PHYSMEM_H | |
3 | ||
4 | + | #ifdef __cplusplus |
5 | + | extern "C" { |
6 | + | #endif |
7 | + | |
8 | /** Return the total amount of physical memory. */ | |
9 | double physmem_total (); | |
10 | ||
11 | /** Return the amount of physical memory available. */ | |
12 | double physmem_available (); | |
13 | ||
14 | + | #ifdef __cplusplus |
15 | + | } |
16 | #endif | |
17 | + | |
18 | + | #endif |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |