* Remove obsolete macros.
authorRichard Kreckel <Richard.Kreckel@uni-mainz.de>
Thu, 1 Nov 2001 17:32:37 +0000 (17:32 +0000)
committerRichard Kreckel <Richard.Kreckel@uni-mainz.de>
Thu, 1 Nov 2001 17:32:37 +0000 (17:32 +0000)
ginac/function.pl

index 962b17e..47cc549 100755 (executable)
@@ -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<TYPE>(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;