/* * Copyright (c) 2021, Andreas Kling * Copyright (c) 2022, the SerenityOS developers. * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include #include namespace Main { struct Arguments { int argc {}; char** argv {}; Span strings; }; int return_code_for_errors(); void set_return_code_for_errors(int); } ErrorOr serenity_main(Main::Arguments);