]> www.ginac.de Git - ginac.git/blobdiff - ginac/coloridx.cpp
some changes to allow GiNaC to cooperate with cint:
[ginac.git] / ginac / coloridx.cpp
index ff4a5f45bc223569a246ab08f200ccf60e52055a..383e8bb0d7fc755a4ef093e85459b62db8347d53 100644 (file)
@@ -1,7 +1,8 @@
 /** @file coloridx.cpp
  *
- *  Implementation of GiNaC's color indices.
- *
+ *  Implementation of GiNaC's color indices. */
+
+/*
  *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
  *
  *  This program is free software; you can redistribute it and/or modify
 
 #include "coloridx.h"
 #include "utils.h"
+#include "debugmsg.h"
+
+#ifndef NO_GINAC_NAMESPACE
+namespace GiNaC {
+#endif // ndef NO_GINAC_NAMESPACE
 
 //////////
 // default constructor, destructor, copy constructor assignment operator and helpers
@@ -209,5 +215,6 @@ bool coloridx::info(unsigned inf) const
 const coloridx some_coloridx;
 type_info const & typeid_coloridx=typeid(some_coloridx);
 
-
-
+#ifndef NO_GINAC_NAMESPACE
+} // namespace GiNaC
+#endif // ndef NO_GINAC_NAMESPACE