Mercurial > libpst
changeset 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 | 2379a4d8d9c7 |
children | 0917d53d78b3 |
files | AUTHORS src/libpst.h |
diffstat | 2 files changed, 12 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/AUTHORS Thu Jul 25 07:43:49 2019 -0700 +++ b/AUTHORS Tue Dec 10 09:07:12 2019 -0800 @@ -45,6 +45,7 @@ Vitaliy Didik <ariman@inbox.ru> Alfredo Esteban <aedelatorre@gmail.com> Tim Dufrane <tim.dufrane@gmail.com> + Paul Wise <pabs3@bonedaddy.net> Testing team: Mac OSX - Michael Watson <mike@mikeandgayle.com>
--- 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