]> www.ginac.de Git - ginac.git/blobdiff - ginac/assertion.h
documentation update
[ginac.git] / ginac / assertion.h
index ad07c9b67cf6cc8371ef2e02399dfdfc8175d0cf..536a18a45efd127c28ca1b486f238c0af91098bc 100644 (file)
@@ -3,7 +3,7 @@
  *  Assertion macro definition. */
 
 /*
- *  GiNaC Copyright (C) 1999-2000 Johannes Gutenberg University Mainz, Germany
+ *  GiNaC Copyright (C) 1999-2001 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_ASSERTION_H__
 #define __GINAC_ASSERTION_H__
 
-extern "C" {
-#include <assert.h>
-}
+#include <cassert>
 
 #if !defined(GINAC_ASSERT)
 #if defined(DO_GINAC_ASSERT)
+/** 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