Skip to content

Commit 89446d1

Browse files
committed
Add some doc for node port refactor.
1 parent 33a6f08 commit 89446d1

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

source/ports/node_port/source/node_port.cpp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,15 @@
2424
#include <metacall/metacall.h>
2525
#include <cstring>
2626

27+
/* TODO:
28+
This port is going to be refactored eventually, here is the first step through the next approach:
29+
https://github.com/metacall/core/blob/cb5372609c9acdc7fc3cf6b3ebb4c8e799c57f23/source/ports/node_port/source/node_port.cpp
30+
31+
Here is information about how to do the refactor including loader:
32+
https://github.com/metacall/core/blob/cb5372609c9acdc7fc3cf6b3ebb4c8e799c57f23/source/loaders/node_loader/include/node_loader/node_loader_impl_port.h#L26
33+
*/
34+
35+
/* TODO: Remove this */
2736
#define napi_call(env, call) \
2837
do { \
2938
napi_status status = (call); \

0 commit comments

Comments
 (0)