]> www.ginac.de Git - cln.git/blobdiff - src/base/cl_free.cc
Fix compilation error on MSVC.
[cln.git] / src / base / cl_free.cc
index a7d49c42f3684eb994014e22adf11ffa7282c056..4952b00953278f6c2037be4b25bf55023e570a8b 100644 (file)
@@ -1,15 +1,17 @@
 // cl_free_heap_object().
 
 // General includes.
-#include "cl_sysdep.h"
+#include "base/cl_sysdep.h"
 
 // Specification.
-#include "cl_object.h"
+#include "cln/object.h"
 
 
 // Implementation.
 
-#include "cl_malloc.h"
+#include "cln/malloc.h"
+
+namespace cln {
 
 void cl_free_heap_object (cl_heap* pointer)
 {
@@ -17,7 +19,7 @@ void cl_free_heap_object (cl_heap* pointer)
        var const cl_class* type = pointer->type;
        if (type->destruct)
                type->destruct(pointer);
-       cl_free_hook(pointer);
+       free_hook(pointer);
 }
 
 
@@ -31,7 +33,9 @@ void cl_free_heap_object (cl_heap* pointer)
 
 static const char * copyright_notice[] = {
   "                                                                    \n"
-  "Copyright (c) Bruno Haible 1988-1999                                \n"
+  "Copyright (c)      Bruno Haible 1988-2008                           \n"
+  "Copyright (c)   Richard Kreckel 2000-2014                           \n"
+  "Copyright (c) Alexei Sheplyakov 2008-2010                           \n"
   "                                                                    \n"
   "This program is free software; you can redistribute it and/or modify\n"
   "it under the terms of the GNU General Public License as published by\n"
@@ -45,7 +49,10 @@ static const char * copyright_notice[] = {
   "                                                                    \n"
   "You should have received a copy of the GNU General Public License   \n"
   "along with this program; if not, write to the Free Software         \n"
-  "Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n"
+  "Foundation, 51 Franklin Street, Fifth Floor, Boston, MA             \n"
+  "02110-1301, USA.\n"
   "                                                                    ",
   (const char *) &copyright_notice
 };
+
+}  // namespace cln