MUSE Pipeline Reference Manual
0.18.5
Main Page
Modules
Data Structures
Files
File List
muse
muclipm_priv_error.h
1
/* -*- Mode: C; tab-width: 8; -*- */
2
/* vim:set ts=8: */
3
/*
4
* This file is part of the MUSE Instrument Pipeline
5
* Copyright (C) 2008-2014 European Southern Observatory
6
*
7
* This program is free software; you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation; either version 2 of the License, or
10
* (at your option) any later version.
11
*
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
16
*
17
* You should have received a copy of the GNU General Public License
18
* along with this program; if not, write to the Free Software
19
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20
*/
21
/* temporary definitions to be able to run the muclipm module *
22
* outside instrument workstation without modifying the code */
23
#define MUCLIPM_TRY if (1)
24
#define MUCLIPM_CATCH else
25
#define MUCLIPM_ERROR_GET_NEW_SINCE_TRY() CPL_ERROR_NONE
26
#define MUCLIPM_TRY_CHECK(a,b,c,d) if (!(a)) { printf("Error:%d - %s %s\n",b,c,d); \
27
return(b); }
28
#define MUCLIPM_TRY_EXIT_WITH_ERROR_MSG(b,c,d) printf("Error:%d - %s %s\n",b,c,d)
29
Generated on Fri Nov 21 2014 08:59:57 for MUSE Pipeline Reference Manual by
1.8.6