1 |
|
#ifndef UTILS_PHYSMEM_H |
2 |
|
#define UTILS_PHYSMEM_H |
3 |
|
|
4 |
+ |
#ifdef __cplusplus |
5 |
|
extern "C" { |
6 |
< |
/** Return the total amount of physical memory. */ |
6 |
< |
double physmem_total (); |
6 |
> |
#endif |
7 |
|
|
8 |
< |
/** Return the amount of physical memory available. */ |
9 |
< |
double physmem_available (); |
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 |