Skip to content

Commit

Permalink
compile heifio subs with C linkage
Browse files Browse the repository at this point in the history
  • Loading branch information
farindk committed Sep 22, 2024
1 parent 11bf5c7 commit a0cf9c4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions heifio/stubs.cc
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
#include "libheif/heif.h"
#include "decoder.h"

extern "C" {

#if !HAVE_LIBJPEG
heif_error loadJPEG(const char *filename, InputImage *input_image)
Expand Down Expand Up @@ -62,3 +63,5 @@ heif_error loadTIFF(const char *filename, InputImage *input_image)
return err;
}
#endif

}

0 comments on commit a0cf9c4

Please sign in to comment.