You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
496 B

25 years ago
25 years ago
25 years ago
25 years ago
  1. // cl_I (const char *) constructor.
  2. // General includes.
  3. #include "cl_sysdep.h"
  4. // Specification.
  5. #include "cln/integer_class.h"
  6. // Implementation.
  7. #include "cln/input.h"
  8. #include "cln/integer_io.h"
  9. namespace cln {
  10. cl_read_flags cl_I_read_flags = {
  11. syntax_integer,
  12. lsyntax_all,
  13. 10,
  14. { float_format_ffloat, float_format_lfloat_min, cl_true }
  15. };
  16. cl_I::cl_I (const char * string)
  17. {
  18. pointer = as_cl_private_thing(
  19. read_integer(cl_I_read_flags,string,NULL,NULL));
  20. }
  21. } // namespace cln