]> www.ginac.de Git - ginac.git/blobdiff - ginac/exprseq.h
- building GiNaC will no longer bomb if Doxygen is not present
[ginac.git] / ginac / exprseq.h
index 16d99bd38847aafbdc56ca1cdcd234a7a52747d5..59f6821f2a1b6f0c93521774e9b3956f88c7c67a 100644 (file)
@@ -1,6 +1,8 @@
 /** @file exprseq.h
  *
- *  Definition of GiNaC's exprseq. 
+ *  Definition of GiNaC's exprseq. */
+
+/*
  *  This file was generated automatically by container.pl.
  *  Please do not modify it directly, edit the perl script instead!
  *  container.pl options: $CONTAINER=exprseq
 #define __GINAC_EXPRSEQ_H__
 
 #include <vector>
-#include <ginac/ginac.h>
+#include <ginac/basic.h>
+#include <ginac/ex.h>
+
+namespace GiNaC {
 
 typedef vector<ex> exvector;
 
@@ -123,9 +128,13 @@ protected:
 extern const exprseq some_exprseq;
 extern type_info const & typeid_exprseq;
 
-// macros
+// utility functions
+inline const exprseq &ex_to_exprseq(const ex &e)
+{
+    return static_cast<const exprseq &>(*e.bp);
+}
 
-#define ex_to_exprseq(X) (static_cast<exprseq const &>(*(X).bp))
+} // namespace GiNaC
 
 #endif // ndef __GINAC_EXPRSEQ_H__