add pic_open_file

This commit is contained in:
Yuichi Nishiwaki
2015-06-19 05:00:36 +09:00
parent fa3073892f
commit a0d6c5800c
7 changed files with 110 additions and 110 deletions
-1
View File
@@ -64,7 +64,6 @@ enum _flags {
/* resource aquisition */
xFILE *xfunopen(pic_state *, void *cookie, int (*read)(pic_state *, void *, char *, int), int (*write)(pic_state *, void *, const char *, int), long (*seek)(pic_state *, void *, long, int), int (*close)(pic_state *, void *));
xFILE *xfopen(pic_state *, const char *, const char *);
int xfclose(pic_state *, xFILE *);
/* buffer management */
+1
View File
@@ -32,6 +32,7 @@ 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 *);
struct pic_port *pic_open_file(pic_state *, const char *, int);
void pic_close_port(pic_state *pic, struct pic_port *);
#if defined(__cplusplus)