Skip to content

Commit

Permalink
WIP add heif_items API to emscripten
Browse files Browse the repository at this point in the history
  • Loading branch information
dukesook committed Feb 19, 2025
1 parent 47d92fc commit 51f2924
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libheif/api/libheif/heif_emscripten.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#include <cassert>

#include "heif.h"
#include "heif_items.h"

static std::string _heif_get_version()
{
Expand Down Expand Up @@ -314,6 +315,7 @@ EMSCRIPTEN_BINDINGS(libheif) {
EXPORT_HEIF_FUNCTION(heif_image_handle_get_height);
EXPORT_HEIF_FUNCTION(heif_image_handle_is_primary_image);
EXPORT_HEIF_FUNCTION(heif_image_release);
EXPORT_HEIF_FUNCTION(heif_context_get_number_of_items);

emscripten::enum_<heif_error_code>("heif_error_code")
.value("heif_error_Ok", heif_error_Ok)
Expand Down

0 comments on commit 51f2924

Please sign in to comment.