view src/impl/PipeRead.h @ 138:e3dd8f96c2fb

add impl file read interface
author anatofuz
date Thu, 12 Dec 2019 14:13:51 +0900
parents 9bfc4fbb5502
children 819537a244ee dec1fa964271
line wrap: on
line source

typedef struct PipeRead<Type, Isa> impl SysRead {
  struct pipe* p;
  int i;
  int n;
  __code cbc_piperead1(Type* sys_read, struct pipe* p, __code next(...));
  __code cbc_piperead2(Type* sys_read, int i, int n,struct pipe* p, __code next(...));
  __code cbc_piperead3(Type* sys_read, struct pipe* p, int i, __code next(...));
  __code next(...);
} PipeRead;

/*
 __code cbc_piperead1(Impl* sys_read, struct pipe* p);
 __code cbc_piperead2(Impl* sys_read, int i, int n,struct pipe* p);
 __code cbc_piperead3(Impl* sys_read, struct pipe* p, int i);
*/