From: Richard Kreckel Date: Thu, 1 Nov 2001 17:32:37 +0000 (+0000) Subject: * Remove obsolete macros. X-Git-Tag: release_1-0-0~12 X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=commitdiff_plain;h=a9b901dcd0aa4b21a0fefdc34539f3b4b60b03e1 * Remove obsolete macros. --- diff --git a/ginac/function.pl b/ginac/function.pl index 962b17ef..47cc5492 100755 --- a/ginac/function.pl +++ b/ginac/function.pl @@ -200,28 +200,6 @@ $declare_function_macro const unsigned function_index_##NAME= \\ GiNaC::function::register_new(GiNaC::function_options(#NAME).OPT); -// The TYPECHECK-macros were used inside the _evalf() functions. They are -// considered obsolete now: (FIXME: remove them) - -#define BEGIN_TYPECHECK \\ -bool automatic_typecheck=true; - -#define TYPECHECK(VAR,TYPE) \\ -if (!is_exactly_a(VAR)) { \\ - automatic_typecheck=false; \\ -} else - -#define TYPECHECK_INTEGER(VAR) \\ -if (!(VAR).info(GiNaC::info_flags::integer)) { \\ - automatic_typecheck=false; \\ -} else - -#define END_TYPECHECK(RV) \\ -{} \\ -if (!automatic_typecheck) { \\ - return RV.hold(); \\ -} - namespace GiNaC { class function;