]> www.ginac.de Git - cln.git/blobdiff - src/integer/hash/cl_I_hash_gcobject.cc
Finalize CLN 1.3.7 release.
[cln.git] / src / integer / hash / cl_I_hash_gcobject.cc
index 31e4d70dd8fa78192dd7a0f8eaabd9fa1fe0cd04..1d2b03ab64f9bab5592906270c8ced93a01fd61e 100644 (file)
@@ -1,24 +1,22 @@
 // class cl_ht_from_integer_to_gcobject.
 
 // General includes.
-#include "cl_sysdep.h"
+#include "base/cl_sysdep.h"
 
 // Specification.
-#include "cl_I_hash_gcobject.h"
+#include "integer/hash/cl_I_hash_gcobject.h"
 
 
 // Implementation.
 
-#include "cl_I.h"
-#include "cl_hash1.h"
+#include "integer/cl_I.h"
+#include "base/hash/cl_hash1.h"
+
+namespace cln {
 
 static void cl_hashtable_from_integer_to_gcobject_destructor (cl_heap* pointer)
 {
-#if (defined(__mips__) || defined(__mips64__)) && !defined(__GNUC__) // workaround SGI CC bug
-       (*(cl_heap_hashtable_from_integer_to_gcobject*)pointer).~cl_heap_hashtable_1();
-#else
        (*(cl_heap_hashtable_from_integer_to_gcobject*)pointer).~cl_heap_hashtable_from_integer_to_gcobject();
-#endif
 }
 
 cl_class cl_class_hashtable_from_integer_to_gcobject = {
@@ -46,3 +44,4 @@ void cl_ht_from_integer_to_gcobject::put (const cl_I& x, const cl_gcobject& y) c
        ((cl_heap_hashtable_from_integer_to_gcobject*)pointer)->put(x,y);
 }
 
+}  // namespace cln