comparison src/impl/PipeRead.cbc @ 105:f1be2d5abc8a

fix camel2snake
author anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
date Thu, 21 Nov 2019 14:45:01 +0900
parents 9bfc4fbb5502
children 547c20b052dc
comparison
equal deleted inserted replaced
104:9bfc4fbb5502 105:f1be2d5abc8a
9 // } PipeRead; 9 // } PipeRead;
10 // ---- 10 // ----
11 11
12 SysRead* createPipeRead(struct Context* cbc_context) { 12 SysRead* createPipeRead(struct Context* cbc_context) {
13 struct SysRead* sys_read = new SysRead(); 13 struct SysRead* sys_read = new SysRead();
14 struct PipeRead* pipeRead = new PipeRead(); 14 struct PipeRead* pipe_read = new PipeRead();
15 sys_read->sys_read = (union Data*)pipeRead; 15 sys_read->sys_read = (union Data*)pipe_read;
16 pipeRead->num = NULL; 16 pipe_read->num = NULL;
17 sys_read->read = C_readPipeRead; 17 sys_read->read = C_readPipeRead;
18 sys_read->ret = C_retPipeRead; 18 sys_read->ret = C_retPipeRead;
19 sys_read->next = C_nextPipeRead; 19 sys_read->next = C_nextPipeRead;
20 return sys_read; 20 return sys_read;
21 } 21 }