X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2FTypeInfo.cc;h=98b39f52bd96e029776d3113d21c5d655b6d620e;hb=51044eb18f034c1a059ffe2fb109a422c1cbe251;hp=9f0bd6a471230a175d187d19d582cb49533767a4;hpb=ac6a813d9d99f7add4e13aff7a4bcd314d5604a6;p=senf.git diff --git a/Utils/TypeInfo.cc b/Utils/TypeInfo.cc index 9f0bd6a..98b39f5 100644 --- a/Utils/TypeInfo.cc +++ b/Utils/TypeInfo.cc @@ -1,9 +1,9 @@ // $Id$ // -// Copyright (C) 2006 -// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) -// Kompetenzzentrum fuer Satelitenkommunikation (SatCom) -// Stefan Bund +// Copyright (C) 2006 +// Fraunhofer Institute for Open Communication Systems (FOKUS) +// Competence Center NETwork research (NET), St. Augustin, GERMANY +// Stefan Bund // // 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,7 +20,8 @@ // Free Software Foundation, Inc., // 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -// Definition of non-inline non-template functions +/** \file + \brief TypeInfo non-inline non-template implementation */ #include "TypeInfo.hh" //#include "TypeInfo.ih" @@ -37,8 +38,8 @@ ///////////////////////////////cc.p//////////////////////////////////////// -// WARNING: This is completely g++ and libiberty dependent. The demangling -// interface isn't even explicitly exportet from libiberty. However, it is +// WARNING: This is completely g++ and libiberty dependent. The demangling +// interface isn't even explicitly exportet from libiberty. However, it is // *EXTREMELY* helpful for debugging ... prefix_ std::string senf::prettyName(std::type_info const & type) @@ -46,7 +47,7 @@ prefix_ std::string senf::prettyName(std::type_info const & type) char const * mangled = type.name(); char * demangled = ::cplus_demangle(mangled,DMGL_TYPES|DMGL_AUTO); std::string name (demangled ? demangled : mangled); - if (demangled) + if (demangled) ::free(demangled); return name; } @@ -58,5 +59,10 @@ prefix_ std::string senf::prettyName(std::type_info const & type) // Local Variables: // mode: c++ +// fill-column: 100 // c-file-style: "senf" +// indent-tabs-mode: nil +// ispell-local-dictionary: "american" +// compile-command: "scons -u test" +// comment-column: 40 // End: