Ignore:
Timestamp:
Apr 28, 2014, 8:49:00 PM (9 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
Children:
c7d29b194535c9015230fc587b2ae178c075ef3e
Parents:
92992c08c2f387188f53d5f874a342fb60dccc06
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2014-04-28 20:49:00+02:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2014-05-07 04:41:46+02:00
Message:
introduced SchreyerSyzygyComputationFlags for storing and passing ring attributes within SchreyerSyzygyComputatio

chg: renamed internal functions to avoid name conflicts
chg: better namespace handling
File:
1 edited

Legend:

Unmodified
Added
Removed
  • dyn_modules/syzextra/singularxx_defs.h

    r92992c r4eba3ad  
    2323#define SINGULAR_singular_defs_h_
    2424
     25
     26#ifdef HAVE_NAMESPACES
     27
    2528#define BEGIN_NAMESPACE(a) namespace a {
    2629#define END_NAMESPACE }
     30
    2731#define USING_NAMESPACE(a) using namespace a;
     32#define FROM_NAMESPACE(a, s) a :: s
     33
     34#else
     35
     36#define BEGIN_NAMESPACE(a)
     37#define END_NAMESPACE
     38
     39#define USING_NAMESPACE(a)
     40#define FROM_NAMESPACE(a, s) s
     41
     42#endif
     43
    2844
    2945#define SINGULARXXNAME Singular
     
    3147#define BEGIN_NAMESPACE_SINGULARXX BEGIN_NAMESPACE(SINGULARXXNAME)
    3248#define END_NAMESPACE_SINGULARXX END_NAMESPACE
     49
    3350#define USING_NAMESPACE_SINGULARXX USING_NAMESPACE(SINGULARXXNAME)
    34 
    35 #define FROM_NAMESPACE_SINGULARXXNAME(s) SINGULARXXNAME :: s
     51#define FROM_NAMESPACE_SINGULARXXNAME(s) FROM_NAMESPACE(SINGULARXXNAME, s)
    3652
    3753#define BEGIN_NAMESPACE_NONAME BEGIN_NAMESPACE()
Note: See TracChangeset for help on using the changeset viewer.