| ceed-register.c (fdf20d1507041ae081eb23cdb7397fbed40ecb8b) | ceed-register.c (ca94c3ddc8f82b7d93a79f9e4812e99b8be840ff) |
|---|---|
| 1// Copyright (c) 2017-2022, Lawrence Livermore National Security, LLC and other CEED contributors. 2// All Rights Reserved. See the top-level LICENSE and NOTICE files for details. 3// 4// SPDX-License-Identifier: BSD-2-Clause 5// 6// This file is part of CEED: http://github.com/ceed 7 8#include <ceed.h> --- 4 unchanged lines hidden (view full) --- 13 14#define CEED_BACKEND(name, ...) CEED_INTERN int name(void); 15#include "../backends/ceed-backend-list.h" 16#undef CEED_BACKEND 17 18/** 19 @brief Register all pre-configured backends. 20 | 1// Copyright (c) 2017-2022, Lawrence Livermore National Security, LLC and other CEED contributors. 2// All Rights Reserved. See the top-level LICENSE and NOTICE files for details. 3// 4// SPDX-License-Identifier: BSD-2-Clause 5// 6// This file is part of CEED: http://github.com/ceed 7 8#include <ceed.h> --- 4 unchanged lines hidden (view full) --- 13 14#define CEED_BACKEND(name, ...) CEED_INTERN int name(void); 15#include "../backends/ceed-backend-list.h" 16#undef CEED_BACKEND 17 18/** 19 @brief Register all pre-configured backends. 20 |
| 21 This is called automatically by CeedInit() and thus normally need not be called by users. 22 Users can call CeedRegister() to register additional backends. | 21 This is called automatically by @ref CeedInit() and thus normally need not be called by users. 22 Users can call @ref CeedRegister() to register additional backends. |
| 23 24 @return An error code: 0 - success, otherwise - failure 25 26 @sa CeedRegister() 27 28 @ref User 29**/ 30int CeedRegisterAll() { --- 14 unchanged lines hidden --- | 23 24 @return An error code: 0 - success, otherwise - failure 25 26 @sa CeedRegister() 27 28 @ref User 29**/ 30int CeedRegisterAll() { --- 14 unchanged lines hidden --- |