| # | Line 27 | Line 27 | |
|---|---|---|
| 27 | #include <stdio.h> | |
| 28 | #include <stdint.h> | |
| 29 | ||
| 30 | + | #ifdef __cplusplus |
| 31 | + | extern "C" { |
| 32 | + | #endif |
| 33 | ||
| 31 | – | |
| 34 | /* Hashtable load factor to limit hash collisions */ | |
| 35 | #define OOC_CACHE_LOAD 0.75 | |
| 36 | ||
| # | Line 94 | Line 96 | |
| 96 | ||
| 97 | /* Delete cache and free allocated pages */ | |
| 98 | void OOC_DeleteCache (OOC_Cache *cache); | |
| 99 | + | |
| 100 | + | #ifdef __cplusplus |
| 101 | + | } |
| 102 | + | #endif |
| 103 | + | |
| 104 | #endif | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |