summaryrefslogtreecommitdiff
path: root/src/colm.h
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@colm.net>2016-08-01 14:24:09 -0400
committerAdrian Thurston <thurston@colm.net>2016-08-01 14:24:09 -0400
commit8e24b1816296f2897001fc3f699e067135222f99 (patch)
treec8f2ffde453f211414779075683aee8f4361877e /src/colm.h
parent63d638351a99b65ae50a75fe9bc3f9669a447990 (diff)
downloadcolm-8e24b1816296f2897001fc3f699e067135222f99.tar.gz
added a function for retrieving the reducer context
Diffstat (limited to 'src/colm.h')
-rw-r--r--src/colm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/colm.h b/src/colm.h
index 2240fe45..0110ef2d 100644
--- a/src/colm.h
+++ b/src/colm.h
@@ -104,6 +104,7 @@ struct colm_tree *colm_run_func( struct colm_program *prg, int frame_id,
int colm_delete_program( struct colm_program *prg );
/* Set the pointer to the reduce struct used. */
+void *colm_get_reduce_ctx( struct colm_program *prg );
void colm_set_reduce_ctx( struct colm_program *prg, void *ctx );
const char **colm_extract_fns( struct colm_program *prg );