Skip to content

Commit

Permalink
mark type abbreviations inline_for_extraction
Browse files Browse the repository at this point in the history
  • Loading branch information
tahina-pro committed Nov 25, 2024
1 parent a517db7 commit 11817ca
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/cbor/pulse/CBOR.Pulse.API.Det.Type.fsti
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
module CBOR.Pulse.API.Det.Type

inline_for_extraction
noextract [@@noextract_to "krml"]
val cbor_det_t: Type0
inline_for_extraction
noextract [@@noextract_to "krml"]
val cbor_det_map_entry_t: Type0
inline_for_extraction
noextract [@@noextract_to "krml"]
val cbor_det_array_iterator_t: Type0
inline_for_extraction
noextract [@@noextract_to "krml"]
val cbor_det_map_iterator_t: Type0
2 changes: 2 additions & 0 deletions src/cbor/pulse/CBOR.Pulse.Type.fst
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,11 @@ type cbor_raw_iterator (elt: Type0) =
| CBOR_Raw_Iterator_Serialized of cbor_raw_serialized_iterator

inline_for_extraction
noextract [@@noextract_to "krml"]
let cbor_array_iterator
= cbor_raw_iterator cbor_raw

inline_for_extraction
noextract [@@noextract_to "krml"]
let cbor_map_iterator
= cbor_raw_iterator cbor_map_entry

0 comments on commit 11817ca

Please sign in to comment.