diff options
author | Adrian Thurston <thurston@colm.net> | 2018-06-18 09:44:55 +0700 |
---|---|---|
committer | Adrian Thurston <thurston@colm.net> | 2018-06-18 09:44:55 +0700 |
commit | c932e9374df3be4e91723ef7584a6693157e1e26 (patch) | |
tree | e4f4fbe217c5bcbe7fce1c9a34580275202a8bd1 /src/input.h | |
parent | 03b8cafb389ae61e6895140024f9c261d9d074fc (diff) | |
download | colm-c932e9374df3be4e91723ef7584a6693157e1e26.tar.gz |
removed unused prg and sp args from consume_data stream func
Diffstat (limited to 'src/input.h')
-rw-r--r-- | src/input.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/input.h b/src/input.h index 3f6e254c..496b962f 100644 --- a/src/input.h +++ b/src/input.h @@ -81,8 +81,7 @@ typedef int (*get_parse_block_t)( struct stream_impl *si, int skip, char **pdp, typedef int (*get_data_t)( struct stream_impl *si, char *dest, int length ); /* Consuming data. */ -typedef int (*consume_data_t)( struct colm_program *prg, struct colm_tree **sp, - struct stream_impl *si, int length, struct colm_location *loc ); +typedef int (*consume_data_t)( struct stream_impl *si, int length, struct colm_location *loc ); typedef int (*undo_consume_data_t)( struct stream_impl *si, const char *data, int length ); /* Consuming trees. */ @@ -127,8 +126,7 @@ struct stream_funcs int (*get_data)( struct stream_impl *si, char *dest, int length ); - int (*consume_data)( struct colm_program *prg, struct colm_tree **sp, - struct stream_impl *si, int length, struct colm_location *loc ); + int (*consume_data)( struct stream_impl *si, int length, struct colm_location *loc ); int (*undo_consume_data)( struct stream_impl *si, const char *data, int length ); struct colm_tree *(*consume_tree)( struct stream_impl *si ); |