]> www.ginac.de Git - ginac.git/blobdiff - ginac/structure.h
#ifndef around namespace GiNaC { }
[ginac.git] / ginac / structure.h
index cbe44758c0e6910b0334b90c7c79dbacd8479d59..abde78d7f0d11f00ef4053ac7b07c3069e52226f 100644 (file)
@@ -1,7 +1,8 @@
 /** @file structure.h
  *
- *  Interface to 'abstract' class structure.
- *
+ *  Interface to 'abstract' class structure. */
+
+/*
  *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
  *
  *  This program is free software; you can redistribute it and/or modify
 
 #include <ginac/basic.h>
 
+#ifndef NO_GINAC_NAMESPACE
+namespace GiNaC {
+#endif // ndef NO_GINAC_NAMESPACE
+
 struct registered_structure_info {
     char const * name;
 };
@@ -81,5 +86,8 @@ public:
 extern const structure some_structure;
 extern type_info const & typeid_structure;
 
-#endif // ndef __GINAC_STRUCTURE_H__
+#ifndef NO_GINAC_NAMESPACE
+} // namespace GiNaC
+#endif // ndef NO_GINAC_NAMESPACE
 
+#endif // ndef __GINAC_STRUCTURE_H__