Skip to content
Permalink
Browse files

n-api: clean up thread-safe function

* Move class `TsFn` to name space `v8impl` and rename it to
  `ThreadSafeFunction`
* Remove `NAPI_EXTERN` from API declarations, because it's only needed
  in the header file.

Backport-PR-URL: #25002
PR-URL: #22259
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Kyle Farnung <kfarnung@microsoft.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
  • Loading branch information...
gabrielschulhof authored and rvagg committed Aug 11, 2018
1 parent 09b88aa commit 902b07959f491e80d2f9cfc6f3ce92916f8e0cd4
Showing with 592 additions and 587 deletions.
  1. +592 −587 src/node_api.cc

0 comments on commit 902b079

Please sign in to comment.
You can’t perform that action at this time.