// Copyright (c) 2017-2022, Lawrence Livermore National Security, LLC and other CEED contributors. // All Rights Reserved. See the top-level LICENSE and NOTICE files for details. // // SPDX-License-Identifier: BSD-2-Clause // // This file is part of CEED: http://github.com/ceed #include #include // This function provides a debug target for weak symbols // LCOV_EXCL_START static int CeedQFunctionRegister_Weak(const char *name) { CeedDebugEnv("** Weak Register: %s", name); return CEED_ERROR_SUCCESS; } // LCOV_EXCL_STOP #define CEED_GALLERY_QFUNCTION(name) \ CEED_INTERN int name(void) __attribute__((weak)); \ int name(void) { return CeedQFunctionRegister_Weak(__func__); } #include "ceed-gallery-list.h" #undef CEED_GALLERY_QFUNCTION