]> www.ginac.de Git - cln.git/blobdiff - src/integer/hash/cl_I_hash_rcobject.h
* All Files have been modified for inclusion of namespace cln;
[cln.git] / src / integer / hash / cl_I_hash_rcobject.h
index e8c34caed2a4c653f278694db1b64ea9bdf7f060..b6c385ad4ddbe8d58919c5c1c3aec2e503bd951e 100644 (file)
@@ -3,17 +3,11 @@
 #ifndef _CL_I_HASH_RCOBJECT_H
 #define _CL_I_HASH_RCOBJECT_H
 
-#include "cl_number.h"
-#include "cl_integer.h"
-
-// For the sake of gcc-2.7.x, this declaration must come before cl_hash1.h.
-extern unsigned long hashcode (const cl_I& x);
-
+#include "cln/number.h"
+#include "cln/integer.h"
 #include "cl_hash1.h"
 
-// Equality.
-static inline bool equal (const cl_I& x, const cl_I& y)
-{ return (bool)cl_equal(x,y); }
+namespace cln {
 
 typedef cl_htentry1<cl_I,cl_rcobject> cl_htentry_from_integer_to_rcobject;
 
@@ -36,4 +30,6 @@ struct cl_ht_from_integer_to_rcobject : public cl_gcpointer {
        void put (const cl_I& x, const cl_rcobject& y) const;
 };
 
+}  // namespace cln
+
 #endif /* _CL_I_HASH_RCOBJECT_H */