2023-05-22 18:17:52 +01:00
|
|
|
// ignore-tidy-linelength
|
|
|
|
|
|
|
|
// @is "$.index[*][?(@.name=='FnPointer')].inner.typedef.type.function_pointer.header.unsafe" false
|
|
|
|
// @is "$.index[*][?(@.name=='FnPointer')].inner.typedef.type.function_pointer.header.const" false
|
|
|
|
// @is "$.index[*][?(@.name=='FnPointer')].inner.typedef.type.function_pointer.header.async" false
|
2022-02-18 23:32:37 +00:00
|
|
|
pub type FnPointer = fn();
|
|
|
|
|
2023-05-22 18:17:52 +01:00
|
|
|
// @is "$.index[*][?(@.name=='UnsafePointer')].inner.typedef.type.function_pointer.header.unsafe" true
|
|
|
|
// @is "$.index[*][?(@.name=='UnsafePointer')].inner.typedef.type.function_pointer.header.const" false
|
|
|
|
// @is "$.index[*][?(@.name=='UnsafePointer')].inner.typedef.type.function_pointer.header.async" false
|
2022-02-18 23:32:37 +00:00
|
|
|
pub type UnsafePointer = unsafe fn();
|