mirror of
https://github.com/johnkerl/miller.git
synced 2026-08-02 20:42:52 +00:00
zcat iterate
This commit is contained in:
parent
74369ffb32
commit
c463c99f9e
19 changed files with 35 additions and 32 deletions
|
|
@ -10,7 +10,7 @@ typedef struct _string_byte_reader_state_t {
|
|||
|
||||
static int string_byte_reader_open_func(struct _byte_reader_t* pbr, char* prepipe, char* backing);
|
||||
static int string_byte_reader_read_func(struct _byte_reader_t* pbr);
|
||||
static void string_byte_reader_close_func(struct _byte_reader_t* pbr);
|
||||
static void string_byte_reader_close_func(struct _byte_reader_t* pbr, char* prepipe);
|
||||
|
||||
// ----------------------------------------------------------------
|
||||
byte_reader_t* string_byte_reader_alloc() {
|
||||
|
|
@ -48,6 +48,6 @@ static int string_byte_reader_read_func(struct _byte_reader_t* pbr) {
|
|||
}
|
||||
}
|
||||
|
||||
static void string_byte_reader_close_func(struct _byte_reader_t* pbr) {
|
||||
static void string_byte_reader_close_func(struct _byte_reader_t* pbr, char* prepipe) {
|
||||
pbr->pvstate = NULL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue