Levente Bogár
unread,Feb 20, 2022, 12:32:28 PM2/20/22Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to v8-dev
Hello, everyone.
This question might be a little weird, but I just cannot get resources about how the v8 API handles modules. Up until now, I used information from the d8 source when I got stuck, but now even that doesn't help me.
I want to call a function that's defined in a module(not exported) from the c++ side, if that makes sense. Achieving this with scripts is really easy, because the defined functions are contained in the global object of the current context. However, it seems like that's not the case when it comes to modules. I tried everything I possibly could, but it seems like I just can't solve this issue myself.
If anyone could give me some resources, or even a project that implemented this feature, please let me know.
Thanks!