[quickjs-devel] Merge patch to access module exports from native code

  • From: Maik Riechert <maik.riechert@xxxxxxxx>
  • To: quickjs-devel@xxxxxxxxxxxxx
  • Date: Thu, 10 Sep 2020 18:07:05 +0100

Hi,

Last year a user (Geequ Lim) contributed a patch that allows to access a JS module's exports from native code:

https://www.freelists.org/post/quickjs-devel/Patch-Add-some-informations-to-get-more-informations-from-compiled-modules

This patch is very useful and is used in a Microsoft project called CCF:

https://github.com/microsoft/CCF/blob/0808eb1541bf4e62f7abd6ee1d9494aadf4128a1/3rdparty/quickjs/quickjs-exports.c

It would be great if this patch could be merged into the mainline code. Are there any concerns with the patch? If there is any work to do on that patch please let us know. We're happy to help out.

Thanks
Maik

Other related posts:

  • » [quickjs-devel] Merge patch to access module exports from native code - Maik Riechert