X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Fregistrar.cpp;h=c4e2f931fb9db75308677947c5c017252e08f803;hp=369b89420527a9d3773acbf0fefa090dee571ae1;hb=75eb4d8abee66a844c9d1b23f1e001c860e8de7d;hpb=7d870583a6bf21a2ffb7b6f051b702064623892e diff --git a/ginac/registrar.cpp b/ginac/registrar.cpp index 369b8942..c4e2f931 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-2008 Johannes Gutenberg University Mainz, Germany + * GiNaC Copyright (C) 1999-2016 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