X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Ffail.cpp;h=1fa24e29a88a1d9094af3ccc98f65bcea76ca378;hp=da00eece6a516dd5d21e021b8146a58a968e41fa;hb=09f0415b7442714ea9adae30872d151452185962;hpb=fbdd5eefb7188778ca9c04b5bee08223609b880f diff --git a/ginac/fail.cpp b/ginac/fail.cpp index da00eece..1fa24e29 100644 --- a/ginac/fail.cpp +++ b/ginac/fail.cpp @@ -4,7 +4,7 @@ * somewhat obsolete (most of this can be replaced by exceptions). */ /* - * GiNaC Copyright (C) 1999-2001 Johannes Gutenberg University Mainz, Germany + * GiNaC Copyright (C) 1999-2004 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 @@ -24,19 +24,20 @@ #include #include "fail.h" -#include "print.h" #include "archive.h" #include "utils.h" namespace GiNaC { -GINAC_IMPLEMENT_REGISTERED_CLASS(fail, basic) +GINAC_IMPLEMENT_REGISTERED_CLASS_OPT(fail, basic, + print_func(&fail::do_print). + print_func(&fail::do_print_tree)) ////////// -// default ctor, dtor, copy ctor, assignment operator and helpers +// default constructor ////////// -DEFAULT_CTORS(fail) +DEFAULT_CTOR(fail) ////////// // archiving