Skip to content

lib: modify NativeModule to use compileFunction

Modify the NativeModule class to use compileFunction instead of manually wrapping the string source code and then compiling it.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

/cc @devsnek @bcoe

Merge request reports

Loading