AST printing callbacks: pass isl_ast_print_options
commitdc4255aed9aa1b0adc656216612031c68d9f1214
authorSven Verdoolaege <skimo@kotnet.org>
Thu, 22 Nov 2012 12:29:31 +0000 (22 13:29 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Thu, 22 Nov 2012 12:29:31 +0000 (22 13:29 +0100)
tree43c1a934a65200dd948e7916f6f1c7766c4cf627
parentf4239b04cb69b825e6a8e6756015d8f974d48bae
AST printing callbacks: pass isl_ast_print_options

The callback may want to pass control back to isl_ast_node_*_print,
for which it needs an isl_ast_print_options object.  Since the
caller of the callback already has a reference to such an object,
we might as well pass it along to the callback.

Since the callback may want to modifiy the isl_ast_print_options
object, we turn it into a properly reference counted isl object.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
doc/user.pod
include/isl/ast.h
isl_ast.c
isl_ast_private.h