comparison src/context.h @ 106:547c20b052dc

tweak
author anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
date Thu, 21 Nov 2019 14:49:52 +0900
parents d5c4016c65b8
children 4f9d95dc4efd
comparison
equal deleted inserted replaced
105:f1be2d5abc8a 106:547c20b052dc
470 short value; 470 short value;
471 } Short; 471 } Short;
472 struct String { 472 struct String {
473 char* string; 473 char* string;
474 } String; 474 } String;
475 struct SysRead {
476 union Data* sys_read;
477 struct UInteger* num;
478 struct String* str;
479 enum Code next;
480 enum Code read;
481 enum Code ret;
482 } SysRead;
483 struct SysFileRead { 475 struct SysFileRead {
484 struct file *f; 476 struct file *f;
485 } SysFileRead; 477 } SysFileRead;
486 struct CbCPipe { 478 struct CbCPipe {
487 struct pipe *p; 479 struct pipe *p;
489 struct PipeRead { 481 struct PipeRead {
490 struct CbCPipe *pipe; 482 struct CbCPipe *pipe;
491 struct String *addr; 483 struct String *addr;
492 struct Integer* i; 484 struct Integer* i;
493 } PipeRead; 485 } PipeRead;
486 struct SysRead {
487 union Data* sys_read;
488 struct UInteger* num;
489 int n;
490 struct String *p;
491 enum Code read;
492 enum Code next;
493 } SysRead;
494 }; // union Data end this is necessary for cbc_context generator 494 }; // union Data end this is necessary for cbc_context generator
495 495
496 /* 496 /*
497 struct cbc_console_arg { 497 struct cbc_console_arg {
498 int n; 498 int n;