blob: 6ff307624df2c354a1f85388bfdb95f3d6ab238a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
(***********************************************************************)
(* *)
(* OCaml *)
(* *)
(* Alain Frisch, LexiFi *)
(* *)
(* Copyright 2007 Institut National de Recherche en Informatique et *)
(* en Automatique. All rights reserved. This file is distributed *)
(* under the terms of the Q Public License version 1.0. *)
(* *)
(***********************************************************************)
external stub1: unit -> string = "stub1"
let f x = print_string "This is Plug1.f\n"; x + 1
let () = Registry.register f
let () = print_endline (stub1 ())
|