]> www.ginac.de Git - cln.git/blobdiff - src/integer/output/cl_I_dprint.cc
* */*: cl_istream -> std::istream, cl_ostream -> std::ostream.
[cln.git] / src / integer / output / cl_I_dprint.cc
index 82d6c0c956d47a04a419a69fcdd206a4ad472b9f..e79f62e7a1e85067e0a8987541a0379b63476916 100644 (file)
@@ -4,14 +4,16 @@
 #include "cl_sysdep.h"
 
 // Specification.
-#include "cl_integer_io.h"
+#include "cln/integer_io.h"
 
 
 // Implementation.
 
-#include "cl_output.h"
+#include "cln/output.h"
 
-void print_integer (cl_ostream stream, const cl_print_rational_flags& flags, const cl_I& z)
+namespace cln {
+
+void print_integer (std::ostream& stream, const cl_print_rational_flags& flags, const cl_I& z)
 {
        var unsigned int base = flags.rational_base;
        if (flags.rational_readably)
@@ -45,3 +47,5 @@ void print_integer (cl_ostream stream, const cl_print_rational_flags& flags, con
        // Integer in Basis base ausgeben:
        print_integer(stream,base,z);
 }
+
+}  // namespace cln