mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-12-29 13:06:06 +03:00
Don't document descriptor functions
They aren't part of any public API, and are just an implementation detail of wasm-bindgen.
This commit is contained in:
parent
161fce9d50
commit
d9cac3bd90
@ -266,6 +266,7 @@ impl ToTokens for ast::StructField {
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
#[doc(hidden)]
|
||||
pub extern fn #desc() {
|
||||
use wasm_bindgen::describe::*;
|
||||
<#ty as WasmDescribe>::describe();
|
||||
@ -445,6 +446,7 @@ impl ToTokens for ast::Export {
|
||||
// binary along with anything it references.
|
||||
#[no_mangle]
|
||||
#[cfg(all(target_arch = "wasm32", not(target_os = "emscripten")))]
|
||||
#[doc(hidden)]
|
||||
pub extern fn #descriptor_name() {
|
||||
use wasm_bindgen::describe::*;
|
||||
inform(FUNCTION);
|
||||
@ -726,6 +728,7 @@ impl<'a> ToTokens for DescribeImport<'a> {
|
||||
(quote! {
|
||||
#[no_mangle]
|
||||
#[allow(non_snake_case)]
|
||||
#[doc(hidden)]
|
||||
pub extern fn #describe_name() {
|
||||
use wasm_bindgen::describe::*;
|
||||
inform(FUNCTION);
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user