From 2d8535ae6adc66005809ecda8d87e07a3a2e0f2d Mon Sep 17 00:00:00 2001 From: Yuichi Nishiwaki Date: Sun, 14 Sep 2014 18:16:02 +0900 Subject: [PATCH] move pic_std* prototypes to picrin.h --- include/picrin.h | 4 ++++ include/picrin/port.h | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/picrin.h b/include/picrin.h index a1428268..3007db00 100644 --- a/include/picrin.h +++ b/include/picrin.h @@ -216,6 +216,10 @@ static inline void pic_warn(pic_state *pic, const char *msg) 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_fwrite(pic_state *, pic_value, xFILE *); void pic_printf(pic_state *, const char *, ...); diff --git a/include/picrin/port.h b/include/picrin/port.h index 334746cb..4f763902 100644 --- a/include/picrin/port.h +++ b/include/picrin/port.h @@ -33,10 +33,6 @@ struct pic_port { 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_output_string(pic_state *); struct pic_string *pic_get_output_string(pic_state *, struct pic_port *);