diff options
Diffstat (limited to 'libbuild2/utility.hxx')
-rw-r--r-- | libbuild2/utility.hxx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libbuild2/utility.hxx b/libbuild2/utility.hxx index 9598208..c251b64 100644 --- a/libbuild2/utility.hxx +++ b/libbuild2/utility.hxx @@ -119,13 +119,19 @@ namespace build2 // Default values are for unit tests. // LIBBUILD2_SYMEXPORT void - init (const char* argv0, + init (void (*terminate) (bool), + const char* argv0, bool keep_going = false, bool dry_run = false, optional<bool> mtime_check = nullopt, optional<path> config_sub = nullopt, optional<path> config_guess = nullopt); + // Terminate function. If trace is false, then printing of the stack trace, + // if any, should be omitted. + // + LIBBUILD2_SYMEXPORT extern void (*terminate) (bool trace); + // Build system driver process path (argv0.initial is argv[0]). // LIBBUILD2_SYMEXPORT extern process_path argv0; |