X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?a=blobdiff_plain;f=ginac%2Fregistrar.cpp;h=3c8a1f4cb12e9bc1096ac51afa50c14ed0377e3a;hb=eccdca0011fc44bc14cfcb7ffd82dbcb653e19a5;hp=e51a706f62528cb98c1d74e749377c2ecc019cf4;hpb=3ac17e18ada69428fe170c10abcc5f33a30f0676;p=ginac.git diff --git a/ginac/registrar.cpp b/ginac/registrar.cpp index e51a706f..3c8a1f4c 100644 --- a/ginac/registrar.cpp +++ b/ginac/registrar.cpp @@ -3,7 +3,7 @@ * GiNaC's class registrar (for class basic and all classes derived from it). */ /* - * GiNaC Copyright (C) 1999-2005 Johannes Gutenberg University Mainz, Germany + * GiNaC Copyright (C) 1999-2010 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 @@ -20,22 +20,12 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#include +#include "registrar.h" + #include #include - -#include "registrar.h" +#include namespace GiNaC { -tinfo_t find_tinfo_key(const std::string &class_name) -{ - return registered_class_info::find(class_name)->options.get_id(); -} - -unarch_func find_unarch_func(const std::string &class_name) -{ - return registered_class_info::find(class_name)->options.get_unarch_func(); -} - } // namespace GiNaC