summaryrefslogtreecommitdiff
path: root/tests/lean/misc-external/External/Opaque.lean
blob: d641912b65c4234875153da17607d23b10edb70d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
-- THIS FILE WAS AUTOMATICALLY GENERATED BY AENEAS
-- [external]: opaque function definitions
import Base.Primitives
import External.Types

structure OpaqueDefs where
  
  /- [core::mem::swap] -/
  core_mem_swap_fwd (T : Type) : T -> T -> State -> Result (State × Unit)
  
  /- [core::mem::swap] -/
  core_mem_swap_back0
    (T : Type) : T -> T -> State -> State -> Result (State × T)
  
  /- [core::mem::swap] -/
  core_mem_swap_back1
    (T : Type) : T -> T -> State -> State -> Result (State × T)
  
  /- [core::num::nonzero::NonZeroU32::{14}::new] -/
  core_num_nonzero_non_zero_u32_new_fwd
    :
    U32 -> State -> Result (State × (Option core_num_nonzero_non_zero_u32_t))
  
  /- [core::option::Option::{0}::unwrap] -/
  core_option_option_unwrap_fwd
    (T : Type) : Option T -> State -> Result (State × T)