File tree Expand file tree Collapse file tree 11 files changed +28
-14
lines changed Expand file tree Collapse file tree 11 files changed +28
-14
lines changed Original file line number Diff line number Diff line change @@ -197,6 +197,7 @@ caml_build_symbols
197197caml_is_printable
198198caml_maybe_print_stats
199199caml_register_global
200+ caml_unregister_named_value
200201
201202From +str.js:
202203caml_str_initialize
Original file line number Diff line number Diff line change @@ -150,6 +150,7 @@ caml_build_symbols
150150caml_is_printable
151151caml_maybe_print_stats
152152caml_register_global
153+ caml_unregister_named_value
153154
154155From +str.js:
155156caml_str_initialize
Original file line number Diff line number Diff line change @@ -306,6 +306,7 @@ caml_build_symbols
306306caml_is_printable
307307caml_maybe_print_stats
308308caml_register_global
309+ caml_unregister_named_value
309310
310311From +str.js:
311312caml_str_initialize
Original file line number Diff line number Diff line change @@ -261,6 +261,7 @@ caml_build_symbols
261261caml_is_printable
262262caml_maybe_print_stats
263263caml_register_global
264+ caml_unregister_named_value
264265
265266From +str.js:
266267caml_str_initialize
Original file line number Diff line number Diff line change @@ -271,6 +271,7 @@ caml_build_symbols
271271caml_is_printable
272272caml_maybe_print_stats
273273caml_register_global
274+ caml_unregister_named_value
274275
275276From +str.js:
276277caml_str_initialize
Original file line number Diff line number Diff line change @@ -227,6 +227,7 @@ caml_build_symbols
227227caml_is_printable
228228caml_maybe_print_stats
229229caml_register_global
230+ caml_unregister_named_value
230231
231232From +str.js:
232233caml_str_initialize
Original file line number Diff line number Diff line change 11(executables
22 (names error1 error2 error3)
3- (modes byte js))
3+ (modes byte js)
4+ (libraries js_of_ocaml))
45
56(rule
67 (target error1.actual)
Original file line number Diff line number Diff line change 1+ external unregister : string -> unit = " caml_unregister_named_value"
2+
13let () =
24 match Array. to_list Sys. argv with
3- | _ :: "unregister" :: _ ->
4- let null = Array. unsafe_get [| 1 |] 1 in
5- Callback. register " Printexc.handle_uncaught_exception" null
5+ | _ :: "unregister" :: _ -> unregister " Printexc.handle_uncaught_exception"
66 | _ -> ()
77
88exception D of int * string * Int64. t
Original file line number Diff line number Diff line change 1+ external unregister : string -> unit = " caml_unregister_named_value"
2+
13let () =
24 (* Make sure Printexc is linked *)
35 let _ = Printexc. to_string Not_found in
46 match Array. to_list Sys. argv with
5- | _ :: "unregister" :: _ ->
6- let null = Array. unsafe_get [| 1 |] 1 in
7- Callback. register " Printexc.handle_uncaught_exception" null
7+ | _ :: "unregister" :: _ -> unregister " Printexc.handle_uncaught_exception"
88 | _ -> ()
99
1010[@@@ ocaml.warning " -8" ]
Original file line number Diff line number Diff line change 1+ external unregister : string -> unit = " caml_unregister_named_value"
2+
13let () =
24 match Array. to_list Sys. argv with
3- | _ :: "unregister" :: _ ->
4- let null = Array. unsafe_get [| 1 |] 1 in
5- Callback. register " Printexc.handle_uncaught_exception" null
5+ | _ :: "unregister" :: _ -> unregister " Printexc.handle_uncaught_exception"
66 | _ -> ()
77
8- let null : _ -> _ -> _ = Array. unsafe_get [||] 0
9-
10- let _ = null 1 2
8+ let _ = (Obj. magic Js_of_ocaml.Js. null : int -> int -> unit ) 1 2
You can’t perform that action at this time.
0 commit comments