> On Feb 24, 2020, at 16:01, Gabriel Cuvillier <[email protected]> 
> wrote:
> 
> ...
> 
> The best for your use case would be to create a new class "TranscodedImage", 
> containing the std::vector dst, and exposed using Embind.  That class will 
> hold responsibility of the vector, and exposing the class using Embind will 
> allow you to call .delete() on it later on.

Thank you for your very helpful response.

Regards

    -Mark

-- 
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/774AC8E7-AF8C-4AF2-9AF5-AFBDC58DE178%40callow.im.

Attachment: signature.asc
Description: Message signed with OpenPGP

Reply via email to