remove pic->xSTDXX

This commit is contained in:
Yuichi Nishiwaki
2015-06-18 22:59:22 +09:00
parent 0fe4df3c15
commit 61ff69b968
4 changed files with 8 additions and 28 deletions
+1 -4
View File
@@ -143,12 +143,9 @@ typedef struct {
size_t arena_size, arena_idx;
struct pic_reg *regs;
struct pic_port *xSTDIN, *xSTDOUT, *xSTDERR;
pic_value err;
pic_code *iseq; /* for pic_apply_trampoline */
char *native_stack_start;
} pic_state;
@@ -257,7 +254,7 @@ pic_value pic_display(pic_state *, pic_value);
pic_value pic_fdisplay(pic_state *, pic_value, xFILE *);
#if DEBUG
# define pic_debug(pic,obj) pic_fwrite(pic,obj,pic->xSTDERR->file)
# define pic_debug(pic,obj) pic_fwrite(pic,obj,xstderr)
# define pic_fdebug(pic,obj,file) pic_fwrite(pic,obj,file)
#endif