summaryrefslogtreecommitdiff
path: root/src/pdarun.c
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@colm.net>2018-07-09 10:07:28 +0800
committerAdrian Thurston <thurston@colm.net>2018-07-09 10:07:28 +0800
commiteda3bb6d45772bfe1d979d415568c515b896006c (patch)
treeee14ba32051d4262b89ee06e4a3610d7f27d718c /src/pdarun.c
parentfca843990f60312d6e6c1b8774988cc624364d42 (diff)
downloadcolm-eda3bb6d45772bfe1d979d415568c515b896006c.tar.gz
some more separation of stream_t and input_t
Diffstat (limited to 'src/pdarun.c')
-rw-r--r--src/pdarun.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pdarun.c b/src/pdarun.c
index 883ef5c1..93c0aeee 100644
--- a/src/pdarun.c
+++ b/src/pdarun.c
@@ -102,7 +102,7 @@ void colm_decrement_steps( struct pda_run *pda_run )
}
head_t *colm_stream_pull( program_t *prg, tree_t **sp, struct pda_run *pda_run,
- struct stream_impl *is, long length )
+ struct input_impl *is, long length )
{
if ( pda_run != 0 ) {
struct run_buf *run_buf = pda_run->consume_buf;
@@ -141,17 +141,17 @@ head_t *colm_stream_pull( program_t *prg, tree_t **sp, struct pda_run *pda_run,
}
}
-void colm_stream_push_text( struct colm_program *prg, struct stream_impl *is, const char *data, long length )
+void colm_stream_push_text( struct colm_program *prg, struct input_impl *is, const char *data, long length )
{
is->funcs->prepend_data( prg, is, data, length );
}
-void colm_stream_push_tree( struct colm_program *prg, struct stream_impl *is, tree_t *tree, int ignore )
+void colm_stream_push_tree( struct colm_program *prg, struct input_impl *is, tree_t *tree, int ignore )
{
is->funcs->prepend_tree( prg, is, tree, ignore );
}
-void colm_stream_push_stream( struct colm_program *prg, struct stream_impl *is, stream_t *stream )
+void colm_stream_push_stream( struct colm_program *prg, struct input_impl *is, stream_t *stream )
{
is->funcs->prepend_stream( prg, is, stream );
}