// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. #ifndef REAL_COMMON_ARGC_ARGV_H #define REAL_COMMON_ARGC_ARGV_H #include #include #include "macro_utils/macro_utils.h" #define R2(X) REGISTER_GLOBAL_MOCK_HOOK(X, real_##X); #define REGISTER_COMMON_ARGC_ARGV_GLOBAL_MOCK_HOOK() \ MU_FOR_EACH_1(R2, \ ARGC_ARGV_free, \ ARGC_ARGV_KEYWORDS_LIST, \ ARGC_ARGV_concat \ ) #include "sf_c_util/common_argc_argv.h" void real_ARGC_ARGV_free(int argc, char** argv); const char* real_ARGC_ARGV_KEYWORDS_LIST[]; int real_ARGC_ARGV_concat(int* argc_dest, char*** argv_dest, int argc_source, char** argv_source); #endif //REAL_COMMON_ARGC_ARGV_H