2022-02-18 17:32:37 -06:00
|
|
|
// ignore-tidy-linelength
|
|
|
|
|
|
|
|
#![feature(abi_vectorcall)]
|
|
|
|
|
2023-05-22 12:17:52 -05:00
|
|
|
// @is "$.index[*][?(@.name=='AbiRust')].inner.typedef.type.function_pointer.header.abi" \"Rust\"
|
2022-02-18 17:32:37 -06:00
|
|
|
pub type AbiRust = fn();
|
|
|
|
|
2023-05-22 12:17:52 -05:00
|
|
|
// @is "$.index[*][?(@.name=='AbiC')].inner.typedef.type.function_pointer.header.abi" '{"C": {"unwind": false}}'
|
2022-02-18 17:32:37 -06:00
|
|
|
pub type AbiC = extern "C" fn();
|
|
|
|
|
2023-05-22 12:17:52 -05:00
|
|
|
// @is "$.index[*][?(@.name=='AbiSystem')].inner.typedef.type.function_pointer.header.abi" '{"System": {"unwind": false}}'
|
2022-02-18 17:32:37 -06:00
|
|
|
pub type AbiSystem = extern "system" fn();
|
|
|
|
|
2023-05-22 12:17:52 -05:00
|
|
|
// @is "$.index[*][?(@.name=='AbiCUnwind')].inner.typedef.type.function_pointer.header.abi" '{"C": {"unwind": true}}'
|
2022-02-18 17:32:37 -06:00
|
|
|
pub type AbiCUnwind = extern "C-unwind" fn();
|
|
|
|
|
2023-05-22 12:17:52 -05:00
|
|
|
// @is "$.index[*][?(@.name=='AbiSystemUnwind')].inner.typedef.type.function_pointer.header.abi" '{"System": {"unwind": true}}'
|
2022-02-18 17:32:37 -06:00
|
|
|
pub type AbiSystemUnwind = extern "system-unwind" fn();
|
|
|
|
|
2023-05-22 12:17:52 -05:00
|
|
|
// @is "$.index[*][?(@.name=='AbiVecorcall')].inner.typedef.type.function_pointer.header.abi.Other" '"\"vectorcall\""'
|
2022-02-18 17:32:37 -06:00
|
|
|
pub type AbiVecorcall = extern "vectorcall" fn();
|
|
|
|
|
2023-05-22 12:17:52 -05:00
|
|
|
// @is "$.index[*][?(@.name=='AbiVecorcallUnwind')].inner.typedef.type.function_pointer.header.abi.Other" '"\"vectorcall-unwind\""'
|
2022-02-18 17:32:37 -06:00
|
|
|
pub type AbiVecorcallUnwind = extern "vectorcall-unwind" fn();
|