X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Fassertion.h;h=f4a4fca33c757794d59e6cdf808abba9977462cd;hp=451257f5a2b1bbd7fbbb61838a9ba1fcf0ae398a;hb=99901bd5c74203caece07e3e2948780887a0e822;hpb=15d4b353c85f8815a95d97ab977c9ca48e155574 diff --git a/ginac/assertion.h b/ginac/assertion.h index 451257f5..f4a4fca3 100644 --- a/ginac/assertion.h +++ b/ginac/assertion.h @@ -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 @@ -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