]> www.ginac.de Git - ginac.git/blobdiff - ginac/assertion.h
Add support for Texinfo-5.0.
[ginac.git] / ginac / assertion.h
index ad07c9b67cf6cc8371ef2e02399dfdfc8175d0cf..f4a4fca33c757794d59e6cdf808abba9977462cd 100644 (file)
@@ -3,7 +3,7 @@
  *  Assertion macro definition. */
 
 /*
- *  GiNaC Copyright (C) 1999-2000 Johannes Gutenberg University Mainz, Germany
+ *  GiNaC Copyright (C) 1999-2011 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
  *
  *  You should have received a copy of the GNU General Public License
  *  along with this program; if not, write to the Free Software
- *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
-#ifndef __GINAC_ASSERTION_H__
-#define __GINAC_ASSERTION_H__
-
-extern "C" {
-#include <assert.h>
-}
+#ifndef GINAC_ASSERTION_H
+#define GINAC_ASSERTION_H
 
 #if !defined(GINAC_ASSERT)
 #if defined(DO_GINAC_ASSERT)
+#include <cassert>
+/** Assertion macro for checking invariances. */
 #define GINAC_ASSERT(X) assert(X)
 #else
+/** Assertion macro for checking invariances. */
 #define GINAC_ASSERT(X) ((void)0)
 #endif
 #endif
 
-#endif // ndef __GINAC_ASSERTION_H__
+#endif // ndef GINAC_ASSERTION_H