forked from grain-lang/binaryen.ml
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmodule.mli
More file actions
51 lines (48 loc) · 1.23 KB
/
module.mli
File metadata and controls
51 lines (48 loc) · 1.23 KB
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
type t
module Feature : sig
type t
val mvp : t
val atomics : t
val mutable_globals : t
val nontrapping_fp_to_int : t
val simd128 : t
val bulk_memory : t
val sign_ext : t
val exception_handling : t
val tail_call : t
val reference_types : t
val multivalue : t
val gc : t
val memory64 : t
val relaxed_simd : t
val extended_const : t
val strings : t
val multi_memory : t
val stack_switching : t
val shared_everything : t
val fp16 : t
val bulk_memory_opt : t
val call_indirect_overlong : t
val relaxed_atomics : t
val all : t
end
val create : unit -> t
val dispose : t -> unit
val add_custom_section : t -> string -> string -> unit
val parse : string -> t
val print : t -> unit
val print_asmjs : t -> unit
val print_stack_ir : t -> unit
val validate : t -> int
val optimize : t -> unit
val get_features : t -> Feature.t list
val set_features : t -> Feature.t list -> unit
val run_passes : t -> Passes.t list -> unit
val write : t -> string option -> bytes * string option
val write_text : t -> string
val write_stack_ir : t -> string
val read : bytes -> t
val interpret : t -> unit
val add_debug_info_filename : t -> string -> int
val get_debug_info_filename : t -> int -> string
val update_maps : t -> unit