diff options
author | Max Kellermann <max@duempel.org> | 2013-01-15 18:58:02 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-15 20:20:51 +0100 |
commit | 5822daa63de641419dcecd19e81f1c4190bd1cce (patch) | |
tree | 3ffff03daf39eba93262d20a9c29696167c93a3b /src/page.h | |
parent | 4808c7ef394ff130400a1a0be42f26efa8e953eb (diff) | |
download | mpd-5822daa63de641419dcecd19e81f1c4190bd1cce.tar.gz mpd-5822daa63de641419dcecd19e81f1c4190bd1cce.tar.xz mpd-5822daa63de641419dcecd19e81f1c4190bd1cce.zip |
output_internal, ...: add extern "C"
Diffstat (limited to 'src/page.h')
-rw-r--r-- | src/page.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/page.h b/src/page.h index 8a3aaf396..8629298cd 100644 --- a/src/page.h +++ b/src/page.h @@ -53,6 +53,10 @@ struct page { unsigned char data[sizeof(long)]; }; +#ifdef __cplusplus +extern "C" { +#endif + /** * Creates a new #page object, and copies data from the specified * buffer. It is initialized with a reference count of 1. @@ -91,4 +95,8 @@ page_ref(struct page *page); bool page_unref(struct page *page); +#ifdef __cplusplus +} +#endif + #endif |