| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent de78da7 commit 4385b0b
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -33,10 +33,6 @@ struct uv_loop_s; // Forward declaration. | |||
| 33 | 33 | #define NAPI_NO_RETURN | |
| 34 | 34 | #endif | |
| 35 | 35 | ||
| 36 | - typedef napi_value(NAPI_CDECL* napi_addon_register_func)(napi_env env, | ||
| 37 | - napi_value exports); | ||
| 38 | - typedef int32_t(NAPI_CDECL* node_api_addon_get_api_version_func)(void); | ||
| 39 | - | ||
| 40 | 36 | // Used by deprecated registration method napi_module_register. | |
| 41 | 37 | typedef struct napi_module { | |
| 42 | 38 | int nm_version; | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,6 +3,10 @@ | |||
| 3 | 3 | ||
| 4 | 4 | #include "js_native_api_types.h" | |
| 5 | 5 | ||
| 6 | + typedef napi_value(NAPI_CDECL* napi_addon_register_func)(napi_env env, | ||
| 7 | + napi_value exports); | ||
| 8 | + typedef int32_t(NAPI_CDECL* node_api_addon_get_api_version_func)(void); | ||
| 9 | + | ||
| 6 | 10 | typedef struct napi_callback_scope__* napi_callback_scope; | |
| 7 | 11 | typedef struct napi_async_context__* napi_async_context; | |
| 8 | 12 | typedef struct napi_async_work__* napi_async_work; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments