2023-01-02 16:00:42 -05:00
|
|
|
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
|
2022-10-05 10:06:44 -04:00
|
|
|
|
|
|
|
#![allow(unused_mut)]
|
|
|
|
#![allow(non_camel_case_types)]
|
|
|
|
#![allow(clippy::undocumented_unsafe_blocks)]
|
|
|
|
|
|
|
|
//! Symbols to be exported are now defined in this JSON file.
|
|
|
|
//! The `#[napi_sym]` macro checks for missing entries and panics.
|
|
|
|
//!
|
2022-10-15 11:21:04 -04:00
|
|
|
//! `./tools/napi/generate_symbols_list.js` is used to generate the LINK `cli/exports.def` on Windows,
|
2022-10-05 10:06:44 -04:00
|
|
|
//! which is also checked into git.
|
|
|
|
//!
|
|
|
|
//! To add a new napi function:
|
|
|
|
//! 1. Place `#[napi_sym]` on top of your implementation.
|
|
|
|
//! 2. Add the function's identifier to this JSON list.
|
2022-11-25 18:49:02 -05:00
|
|
|
//! 3. Finally, run `tools/napi/generate_symbols_list.js` to update `cli/napi/generated_symbol_exports_list_*.def`.
|
2022-10-05 10:06:44 -04:00
|
|
|
|
|
|
|
pub mod r#async;
|
|
|
|
pub mod env;
|
|
|
|
pub mod js_native_api;
|
|
|
|
pub mod threadsafe_functions;
|
|
|
|
pub mod util;
|