mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Core: export free_picture()
Export the free_picture() function from dive.c. The parser may need this in case of truncated files to free its temporary resources. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
45f4dac70a
commit
46bf8bf2fa
2 changed files with 3 additions and 3 deletions
|
|
@ -375,6 +375,7 @@ struct picture {
|
|||
for (struct picture *picture = (_divestruct).picture_list; picture; picture = picture->next)
|
||||
|
||||
extern struct picture *alloc_picture();
|
||||
extern void free_picture(struct picture *picture);
|
||||
extern bool dive_check_picture_time(const struct dive *d, int shift_time, timestamp_t timestamp);
|
||||
extern void dive_create_picture(struct dive *d, const char *filename, int shift_time, bool match_all);
|
||||
extern void dive_add_picture(struct dive *d, struct picture *newpic);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue