commit 5c1c133d1f31bd37eafdac868a8e7be47536631c parent 5b64cfdab945014ce0dd7b802b8dd133e778b3dc Author: Christophe Coustet <christophe.coustet@meso-star.com> Date: Fri, 28 Oct 2022 17:29:15 +0200 Add missing file Diffstat:
| A | src/cg.h | | | 26 | ++++++++++++++++++++++++++ |
1 file changed, 26 insertions(+), 0 deletions(-)
diff --git a/src/cg.h b/src/cg.h @@ -0,0 +1,26 @@ +/* Copyright (C) 2022 Université de Pau et des Pays de l'Adour UPPA + * Copyright (C) 2022 CNRS + * Copyright (C) 2022 Sorbonne Université + * Copyright (C) 2022 Université Paul Sabatier + * Copyright (C) 2022 |Meso|Star> (contact@meso-star.com) + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ + +#ifndef CG_H +#define CG_H + +#define ERR(Expr) if((res = (Expr)) != RES_OK) goto error; else (void)0 + +#endif /*CG_H*/ +