#include "cl_sysdep.h"
// Specification.
-#include "cl_float_io.h"
+#include "cln/float_io.h"
// Implementation.
-#include "cl_input.h"
-#include "cl_io.h"
+#include "cln/input.h"
+#include "cln/io.h"
#include "cl_spushstring.h"
+namespace cln {
+
// We read an entire token (or even more, if it begins with #C) into a
// buffer and then call read_float() on the buffer.
}
}
-const cl_F read_float (cl_istream stream, const cl_read_flags& flags)
+const cl_F read_float (std::istream& stream, const cl_read_flags& flags)
{
// One pre-allocated buffer. This reduces the allocation/free cost.
static pushstring_hack buffer;
// Handle premature EOF.
eof: read_number_eof();
}
+
+} // namespace cln