~npalix/coccinelle/upstream

« back to all changes in this revision

Viewing changes to bundles/stdcompat/stdcompat-8/stdcompat__spacetime.ml.in

  • Committer: Thierry Martinez
  • Date: 2019-08-20 13:37:04 UTC
  • Revision ID: git-v1:0214afad4a32c95349c2c5a38e37cea407c455d0
Update bundles

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
@BEGIN_FROM_4_04_0@
2
 
include Spacetime
3
 
 
4
 
@BEGIN_BEFORE_4_05_0@
5
 
let enabled = false
6
 
@END_BEFORE_4_05_0@
7
 
@END_FROM_4_04_0@
8
 
@BEGIN_BEFORE_4_04_0@
9
 
let not_implemented () =
10
 
  failwith "Stdcompat.Spacetime is not implemented yet. Please fill an issue: https://github.com/thierry-martinez/stdcompat/issues ."
11
 
 
12
 
let enabled = false
13
 
 
14
 
module Series = struct
15
 
  type t
16
 
  let create ~path = not_implemented ()
17
 
  let save_event ?time _ ~event_name = not_implemented ()
18
 
  let save_and_close ?time _ = not_implemented ()
19
 
end
20
 
 
21
 
module Snapshot = struct
22
 
  let take ?time _ = not_implemented ()
23
 
end
24
 
 
25
 
let save_event_for_automatic_snapshots ~event_name = not_implemented ()
26
 
@END_BEFORE_4_04_0@