]> www.ginac.de Git - ginac.git/blobdiff - ginac/structure.h
- made nops() return unsigned instead of int
[ginac.git] / ginac / structure.h
index ead2670fb1e67880f09f5f992140c23c32f9cb79..a0fe9b7dfb5e26d58087482a54958a15583717b5 100644 (file)
@@ -1,8 +1,9 @@
 /** @file structure.h
  *
- *  Interface to 'abstract' class structure.
- *
- *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *  Interface to 'abstract' class structure. */
+
+/*
+ *  GiNaC Copyright (C) 1999-2000 Johannes Gutenberg University Mainz, Germany
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
 #ifndef __GINAC_STRUCTURE_H__
 #define __GINAC_STRUCTURE_H__
 
+#include <ginac/basic.h>
+
+#ifndef NO_GINAC_NAMESPACE
+namespace GiNaC {
+#endif // ndef NO_GINAC_NAMESPACE
+
 struct registered_structure_info {
     char const * name;
 };
@@ -79,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__