]> www.ginac.de Git - cln.git/blob - include/cl_number_io.h
Initial revision
[cln.git] / include / cl_number_io.h
1 // I/O of numbers.
2
3 #ifndef _CL_NUMBER_IO_H
4 #define _CL_NUMBER_IO_H
5
6 #include "cl_io.h"
7 #include "cl_number.h"
8
9 // Input.
10
11 // Finish with bad syntax.
12 #ifdef _CL_MACROS_H
13 nonreturning_function(extern, read_number_bad_syntax, (const char * string, const char * string_limit));
14 #else
15 extern void read_number_bad_syntax (const char * string, const char * string_limit);
16 #endif
17
18 // Finish with junk after the number.
19 #ifdef _CL_MACROS_H
20 nonreturning_function(extern, read_number_junk, (const char * string_rest, const char * string, const char * string_limit));
21 #else
22 extern void read_number_junk (const char * string_rest, const char * string, const char * string_limit);
23 #endif
24
25 // Finish with EOF.
26 #ifdef _CL_MACROS_H
27 nonreturning_function(extern, read_number_eof, (void));
28 #else
29 extern void read_number_eof (void);
30 #endif
31
32 struct cl_read_flags;
33
34 #endif /* _CL_NUMBER_IO_H */