mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
282041e228
The "extern C {" guards were missing. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
26 lines
441 B
C
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
|