My Project  debian-1:4.1.2-p1+ds-2
singularxx_defs.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 //*****************************************************************************
3 /** @file singularxx_defs.h
4  *
5  * @author Alexander Dreyer
6  * @date 2009-06-15
7  *
8  * This file includes some basic definitions for the SINGULAR++ interface.
9  *
10  * @par Copyright:
11  * (c) 2009 by The SINGULAR Team, see LICENSE file
12  *
13 **/
14 //*****************************************************************************
15 
16 // Note: inclusion of CSINGULARTypes.h at the end
17 
18 
19 // Get configuration
20 // #include "singular_config.h"
21 
22 #ifndef SINGULAR_singular_defs_h_
23 #define SINGULAR_singular_defs_h_
24 
25 
26 #define FROM_NAMESPACE(a, s) s
27 
28 #ifndef HAVE_THROW
29 # define SINGULARXX_THROW(type) throw type();
30 #else
31 # define SINGULARXX_THROW(type) WerrorS(type().what());
32 #endif
33 
34 #endif /* SINGULAR_singular_defs_h_ */