doc: add missing n-api version indicator · nodejs/node@9b859f5 (original) (raw)

Original file line number Diff line number Diff line change
@@ -4602,6 +4602,7 @@ prevent the event loop from exiting. The APIs `napi_ref_threadsafe_function` and
4602 4602
4603 4603 <!-- YAML
4604 4604 added: v10.6.0
4605 +napiVersion: 4
4605 4606 -->
4606 4607 ```C
4607 4608 NAPI_EXTERN napi_status
@@ -4645,6 +4646,7 @@ parameters and with `undefined` as its `this` value.
4645 4646
4646 4647 <!-- YAML
4647 4648 added: v10.6.0
4649 +napiVersion: 4
4648 4650 -->
4649 4651 ```C
4650 4652 NAPI_EXTERN napi_status
@@ -4663,6 +4665,7 @@ This API may be called from any thread which makes use of `func`.
4663 4665
4664 4666 <!-- YAML
4665 4667 added: v10.6.0
4668 +napiVersion: 4
4666 4669 -->
4667 4670 ```C
4668 4671 NAPI_EXTERN napi_status
@@ -4691,6 +4694,7 @@ This API may be called from any thread which makes use of `func`.
4691 4694
4692 4695 <!-- YAML
4693 4696 added: v10.6.0
4697 +napiVersion: 4
4694 4698 -->
4695 4699 ```C
4696 4700 NAPI_EXTERN napi_status
@@ -4713,6 +4717,7 @@ This API may be called from any thread which will start making use of `func`.
4713 4717
4714 4718 <!-- YAML
4715 4719 added: v10.6.0
4720 +napiVersion: 4
4716 4721 -->
4717 4722 ```C
4718 4723 NAPI_EXTERN napi_status
@@ -4741,6 +4746,7 @@ This API may be called from any thread which will stop making use of `func`.
4741 4746
4742 4747 <!-- YAML
4743 4748 added: v10.6.0
4749 +napiVersion: 4
4744 4750 -->
4745 4751 ```C
4746 4752 NAPI_EXTERN napi_status
@@ -4762,6 +4768,7 @@ This API may only be called from the main thread.
4762 4768
4763 4769 <!-- YAML
4764 4770 added: v10.6.0
4771 +napiVersion: 4
4765 4772 -->
4766 4773 ```C
4767 4774 NAPI_EXTERN napi_status