move pic_std* prototypes to picrin.h
This commit is contained in:
parent
0fe6e3dc7b
commit
2d8535ae6a
|
@ -216,6 +216,10 @@ static inline void pic_warn(pic_state *pic, const char *msg)
|
||||||
|
|
||||||
const char *pic_errmsg(pic_state *);
|
const char *pic_errmsg(pic_state *);
|
||||||
|
|
||||||
|
struct pic_port *pic_stdin(pic_state *);
|
||||||
|
struct pic_port *pic_stdout(pic_state *);
|
||||||
|
struct pic_port *pic_stderr(pic_state *);
|
||||||
|
|
||||||
pic_value pic_write(pic_state *, pic_value); /* returns given obj */
|
pic_value pic_write(pic_state *, pic_value); /* returns given obj */
|
||||||
pic_value pic_fwrite(pic_state *, pic_value, xFILE *);
|
pic_value pic_fwrite(pic_state *, pic_value, xFILE *);
|
||||||
void pic_printf(pic_state *, const char *, ...);
|
void pic_printf(pic_state *, const char *, ...);
|
||||||
|
|
|
@ -33,10 +33,6 @@ struct pic_port {
|
||||||
|
|
||||||
pic_value pic_eof_object();
|
pic_value pic_eof_object();
|
||||||
|
|
||||||
struct pic_port *pic_stdin(pic_state *);
|
|
||||||
struct pic_port *pic_stdout(pic_state *);
|
|
||||||
struct pic_port *pic_stderr(pic_state *);
|
|
||||||
|
|
||||||
struct pic_port *pic_open_input_string(pic_state *, const char *);
|
struct pic_port *pic_open_input_string(pic_state *, const char *);
|
||||||
struct pic_port *pic_open_output_string(pic_state *);
|
struct pic_port *pic_open_output_string(pic_state *);
|
||||||
struct pic_string *pic_get_output_string(pic_state *, struct pic_port *);
|
struct pic_string *pic_get_output_string(pic_state *, struct pic_port *);
|
||||||
|
|
Loading…
Reference in New Issue