zapashcanon
4 years ago
7 changed files with 24 additions and 10 deletions
@ -1,3 +1,14 @@ |
|||
(executable |
|||
(name print_code) |
|||
(libraries exit)) |
|||
(name print_code) |
|||
(modules print_code) |
|||
(libraries exit)) |
|||
|
|||
(executable |
|||
(name exit_failure) |
|||
(modules exit_failure) |
|||
(libraries exit)) |
|||
|
|||
(executable |
|||
(name exit_success) |
|||
(modules exit_success) |
|||
(libraries exit)) |
|||
|
@ -0,0 +1 @@ |
|||
let () = Exit.failure () |
@ -0,0 +1 @@ |
|||
let () = Exit.success () |
@ -1,8 +1,10 @@ |
|||
(library |
|||
(public_name exit) |
|||
(modules exit external) |
|||
(private_modules external) |
|||
(wrapped false) |
|||
(preprocess |
|||
(pps bisect_ppx -conditional)) |
|||
(pps bisect_ppx -- --conditional)) |
|||
(foreign_stubs |
|||
(language c) |
|||
(names exit_stubs))) |
|||
|
@ -0,0 +1,3 @@ |
|||
external failure_code : unit -> int = "get_failure_code" |
|||
|
|||
external success_code : unit -> int = "get_success_code" |
Loading…
Reference in new issue