From bdd6c309a03c08eab935e4da97ebdda5ce8d32f7 Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Tue, 28 Jun 2016 15:03:25 +0200 Subject: [PATCH] expose isl_ast_node_to_str Signed-off-by: Sven Verdoolaege --- doc/user.pod | 2 ++ include/isl/ast.h | 1 + 2 files changed, 3 insertions(+) diff --git a/doc/user.pod b/doc/user.pod index 73cfec0a..968728df 100644 --- a/doc/user.pod +++ b/doc/user.pod @@ -9726,6 +9726,8 @@ Basic printing can be performed using the following functions. __isl_keep isl_ast_node *node); __isl_give char *isl_ast_expr_to_str( __isl_keep isl_ast_expr *expr); + __isl_give char *isl_ast_node_to_str( + __isl_keep isl_ast_node *node); __isl_give char *isl_ast_expr_to_C_str( __isl_keep isl_ast_expr *expr); __isl_give char *isl_ast_node_to_C_str( diff --git a/include/isl/ast.h b/include/isl/ast.h index c47c02df..aef070f6 100644 --- a/include/isl/ast.h +++ b/include/isl/ast.h @@ -133,6 +133,7 @@ isl_stat isl_ast_node_foreach_descendant_top_down( __isl_give isl_printer *isl_printer_print_ast_node(__isl_take isl_printer *p, __isl_keep isl_ast_node *node); void isl_ast_node_dump(__isl_keep isl_ast_node *node); +__isl_give char *isl_ast_node_to_str(__isl_keep isl_ast_node *node); __isl_give isl_ast_print_options *isl_ast_print_options_alloc(isl_ctx *ctx); __isl_give isl_ast_print_options *isl_ast_print_options_copy( -- 2.11.4.GIT