annotate src/interface/File.h @ 88:f38d8d39d617

add file interface
author tobaru
date Wed, 16 Oct 2019 19:40:37 +0900
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
88
f38d8d39d617 add file interface
tobaru
parents:
diff changeset
1 typedef struct File<Type, Impl>{
f38d8d39d617 add file interface
tobaru
parents:
diff changeset
2 union Data* file;
f38d8d39d617 add file interface
tobaru
parents:
diff changeset
3 struct file *f;
f38d8d39d617 add file interface
tobaru
parents:
diff changeset
4 int n;
f38d8d39d617 add file interface
tobaru
parents:
diff changeset
5 char *p;
f38d8d39d617 add file interface
tobaru
parents:
diff changeset
6 __code file_read(__code, next(...));
f38d8d39d617 add file interface
tobaru
parents:
diff changeset
7 __code next(...);
f38d8d39d617 add file interface
tobaru
parents:
diff changeset
8 } File;