Mercurial > libpst
comparison 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 |
comparison
equal
deleted
inserted
replaced
383:2379a4d8d9c7 | 384:58149891ea7b |
---|---|
9 | 9 |
10 #ifndef __PST_LIBPST_H | 10 #ifndef __PST_LIBPST_H |
11 #define __PST_LIBPST_H | 11 #define __PST_LIBPST_H |
12 | 12 |
13 #include "common.h" | 13 #include "common.h" |
14 | |
15 | |
16 #ifdef __cplusplus | |
17 extern "C" { | |
18 #endif | |
14 | 19 |
15 | 20 |
16 // switch to maximal packing for all structures in the libpst interface | 21 // switch to maximal packing for all structures in the libpst interface |
17 // this is reverted at the end of this file | 22 // this is reverted at the end of this file |
18 #ifdef _MSC_VER | 23 #ifdef _MSC_VER |
1161 #pragma pack() | 1166 #pragma pack() |
1162 #endif | 1167 #endif |
1163 | 1168 |
1164 | 1169 |
1165 | 1170 |
1171 #ifdef __cplusplus | |
1172 } | |
1166 #endif | 1173 #endif |
1174 | |
1175 | |
1176 | |
1177 #endif |