subsurface/core/picture.h
Berthold Stoeger 282041e228 core: make picture.h compatible with C++
The "extern C {" guards were missing.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2020-05-06 13:58:09 -07:00

26 lines
441 B
C

// SPDX-License-Identifier: GPL-2.0
#ifndef PICTURE_H
#define PICTURE_H
// picture (more precisely media) related strutures and functions
#include "units.h"
#ifdef __cplusplus
extern "C" {
#endif
struct picture {
char *filename;
offset_t offset;
location_t location;
struct picture *next;
};
extern struct picture *alloc_picture();
extern void free_picture(struct picture *picture);
#ifdef __cplusplus
}
#endif
#endif // PICTURE_H