Mercurial > libpst
diff src/libpst.h @ 384:58149891ea7b
Paul Wise - add extern "C" to header for use with C++ code
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Tue, 10 Dec 2019 09:07:12 -0800 |
parents | 0ccc746c8079 |
children | 5c0ce43c7532 |
line wrap: on
line diff
--- a/src/libpst.h Thu Jul 25 07:43:49 2019 -0700 +++ b/src/libpst.h Tue Dec 10 09:07:12 2019 -0800 @@ -13,6 +13,11 @@ #include "common.h" +#ifdef __cplusplus +extern "C" { +#endif + + // switch to maximal packing for all structures in the libpst interface // this is reverted at the end of this file #ifdef _MSC_VER @@ -1163,4 +1168,10 @@ +#ifdef __cplusplus +} #endif + + + +#endif