diff options
author | Ingo Weinhold <ingo_weinhold@gmx.de> | 2013-03-30 12:02:13 +0000 |
---|---|---|
committer | Ingo Weinhold <ingo_weinhold@gmx.de> | 2013-04-02 12:39:22 +0000 |
commit | 0470c81c6861ed3dca39051588805bde4bec0c31 (patch) | |
tree | 581ca1d879fb89aa3b7a4f6d6326750ca16c5292 /src/poolvendor.h | |
parent | 9fc09488ea869798c2a08d301bea5de45076f21a (diff) | |
download | libsolv-0470c81c6861ed3dca39051588805bde4bec0c31.tar.gz libsolv-0470c81c6861ed3dca39051588805bde4bec0c31.tar.bz2 libsolv-0470c81c6861ed3dca39051588805bde4bec0c31.zip |
Make all public libsolv headers C++ safe
A few headers already included 'export "C"' blocks, also wrapping
other #include's. This patch cleanly wraps the contents of all public
headers instead.
Diffstat (limited to 'src/poolvendor.h')
-rw-r--r-- | src/poolvendor.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/poolvendor.h b/src/poolvendor.h index 2e14450..873e090 100644 --- a/src/poolvendor.h +++ b/src/poolvendor.h @@ -10,8 +10,16 @@ #include "pool.h" +#ifdef __cplusplus +extern "C" { +#endif + Id pool_vendor2mask(Pool *pool, Id vendor); void pool_setvendorclasses(Pool *pool, const char **vendorclasses); void pool_addvendorclass(Pool *pool, const char **vendorclass); +#ifdef __cplusplus +} +#endif + #endif /* LIBSOLV_POOLVENDOR_H */ |