mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
core: make picture.h compatible with C++
The "extern C {" guards were missing. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
2c4975f2ed
commit
282041e228
1 changed files with 8 additions and 0 deletions
|
@ -5,6 +5,10 @@
|
|||
// picture (more precisely media) related strutures and functions
|
||||
#include "units.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
struct picture {
|
||||
char *filename;
|
||||
offset_t offset;
|
||||
|
@ -15,4 +19,8 @@ struct picture {
|
|||
extern struct picture *alloc_picture();
|
||||
extern void free_picture(struct picture *picture);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // PICTURE_H
|
||||
|
|
Loading…
Add table
Reference in a new issue