]> www.ginac.de Git - cln.git/blob - src/integer/input/cl_I_from_string.cc
Use paths relative the `src' directory in the #include directives.
[cln.git] / src / integer / input / cl_I_from_string.cc
1 // cl_I (const char *) constructor.
2
3 // General includes.
4 #include "base/cl_sysdep.h"
5
6 // Specification.
7 #include "cln/integer_class.h"
8
9
10 // Implementation.
11
12 #include "cln/input.h"
13 #include "cln/integer_io.h"
14
15 namespace cln {
16
17 cl_read_flags cl_I_read_flags = {
18         syntax_integer,
19         lsyntax_all,
20         10,
21         { float_format_ffloat, float_format_lfloat_min, true }
22 };
23
24 cl_I::cl_I (const char * string)
25 {
26         pointer = as_cl_private_thing(
27                 read_integer(cl_I_read_flags,string,NULL,NULL));
28 }
29
30 }  // namespace cln