> 
> I’m trying to do this now but I’m getting the error
> 
> /Users/mark/Projects/github/KTX-Software/interface/js_binding/transcoder_wrapper.cpp:39:19:
>  error:
>       no viable conversion from returned value of type 'memory_view<unsigned
>       char>' to function return type 'emscripten::val'
>            return typed_memory_view(image.size(), image.data())
>                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Never mind. Changing it to

    return val(typed_memory_view(image.size(), image.data())); fixed the 
problem.



-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/emscripten-discuss/55A07CF4-B1B6-4BB6-8E07-2F75ED75FD01%40callow.im.

Attachment: signature.asc
Description: Message signed with OpenPGP

Reply via email to