summaryrefslogtreecommitdiff
path: root/tests/lean/misc/external/External/Opaque.lean
blob: 40ccc3138d640cb9b095bba5a9ca8ba73b1b9e20 (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
28
-- 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
    :
    UInt32 -> 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)