X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Ffail.h;h=292bf797ebce6ff376c597976c0f84256caf6b18;hp=40897e2e74417d601ba559453e1152eb1802e718;hb=afdd7fa8c6c0a587f7c80789198551383e8beb7b;hpb=66c0f31c678e6c1938d637636b230ea376c157c1 diff --git a/ginac/fail.h b/ginac/fail.h index 40897e2e..292bf797 100644 --- a/ginac/fail.h +++ b/ginac/fail.h @@ -1,8 +1,9 @@ /** @file fail.h * * Interface to class signaling failure of operation. Considered obsolete all - * this stuff ought to be replaced by exceptions. - * + * this stuff ought to be replaced by exceptions. */ + +/* * GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany * * This program is free software; you can redistribute it and/or modify @@ -25,6 +26,10 @@ #include +#ifndef NO_GINAC_NAMESPACE +namespace GiNaC { +#endif // ndef NO_GINAC_NAMESPACE + class fail : public basic { // member functions @@ -66,6 +71,8 @@ protected: extern const fail some_fail; extern type_info const & typeid_fail; -#endif // ndef __GINAC_FAIL_H__ - +#ifndef NO_GINAC_NAMESPACE +} // namespace GiNaC +#endif // ndef NO_GINAC_NAMESPACE +#endif // ndef __GINAC_FAIL_H__