X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Fassertion.h;h=b24760c39a03d277691fab2a7809840988bbc2b5;hp=b208b8474b61fa3327dc1050740fb12598cdf4e7;hb=c4da34c70ce1b9e3803317ebfe48b162cf9d3408;hpb=24fe247f9ed16114a765a01c593fec5c4a2f591c diff --git a/ginac/assertion.h b/ginac/assertion.h index b208b847..b24760c3 100644 --- a/ginac/assertion.h +++ b/ginac/assertion.h @@ -3,7 +3,7 @@ * Assertion macro definition. */ /* - * GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany + * GiNaC Copyright (C) 1999-2010 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 @@ -17,20 +17,21 @@ * * 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__ - -#include +#ifndef GINAC_ASSERTION_H +#define GINAC_ASSERTION_H #if !defined(GINAC_ASSERT) #if defined(DO_GINAC_ASSERT) +#include +/** 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