Skip to content

Commit

Permalink
Add some doc for node port refactor.
Browse files Browse the repository at this point in the history
  • Loading branch information
viferga committed Dec 3, 2019
1 parent 33a6f08 commit 89446d1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions source/ports/node_port/source/node_port.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,15 @@
#include <metacall/metacall.h>
#include <cstring>

/* TODO:
This port is going to be refactored eventually, here is the first step through the next approach:
https://github.com/metacall/core/blob/cb5372609c9acdc7fc3cf6b3ebb4c8e799c57f23/source/ports/node_port/source/node_port.cpp
Here is information about how to do the refactor including loader:
https://github.com/metacall/core/blob/cb5372609c9acdc7fc3cf6b3ebb4c8e799c57f23/source/loaders/node_loader/include/node_loader/node_loader_impl_port.h#L26
*/

/* TODO: Remove this */
#define napi_call(env, call) \
do { \
napi_status status = (call); \
Expand Down

0 comments on commit 89446d1

Please sign in to comment.