]> www.ginac.de Git - cln.git/blobdiff - src/base/cl_N.h
Use paths relative the `src' directory in the #include directives.
[cln.git] / src / base / cl_N.h
index 7969961cbc771b7fb620f97d5432b8204465a1a2..d94606234801f305fb7863e3a553b5cb084609b1 100644 (file)
@@ -3,11 +3,10 @@
 #ifndef _CL_N_H
 #define _CL_N_H
 
-#include "cl_number.h"
-#include "cl_macros.h"
+#include "cln/number.h"
+#include "base/cl_macros.h"
 
-nonreturning_function(extern, cl_error_division_by_0, (void));
-nonreturning_function(extern, cl_as_error, (const cl_number& obj, const char * typestring, const char * filename, int line));
+namespace cln {
 
 // For the equal-invariant hashcode, we take a mixture of exponent, length
 // and the most significant 32 bits. To ensure that equal(x,y) implies
@@ -18,4 +17,6 @@ nonreturning_function(extern, cl_as_error, (const cl_number& obj, const char * t
     (((((uint32)(msd) << 7) | ((uint32)(msd) >> 25)) ^ ((sint32)(sign) << 30)) + (uintL)(exp))
   #define equal_hashcode_one  equal_hashcode_low(bit(31),1,0)
 
+}  // namespace cln
+
 #endif /* _CL_N_H */