comparison src/file.cbc @ 111:239bd73abac6

add gen context.h at generate_context.pl
author anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
date Thu, 28 Nov 2019 12:17:05 +0900
parents 4f9d95dc4efd
children ef44d384ad9d
comparison
equal deleted inserted replaced
110:8c7c1ea49f21 111:239bd73abac6
126 iunlock(f->ip); 126 iunlock(f->ip);
127 goto next(r); 127 goto next(r);
128 } 128 }
129 129
130 130
131 // Skip: generate_context
131 __code cbc_fileread(struct file *f, char *addr, int n, __code next(int ret, ...)) 132 __code cbc_fileread(struct file *f, char *addr, int n, __code next(int ret, ...))
132 { 133 {
133 if (f->readable == 0) { 134 if (f->readable == 0) {
134 goto next(-1); 135 goto next(-1);
135 } 136 }