add isl_pw_*_get_dim_id
[isl.git] / print_templ.c
blob9dd9b862ceb8d87388994db9a6928128217671da
1 #define xCAT(A,B) A ## B
2 #define CAT(A,B) xCAT(A,B)
3 #undef TYPE
4 #define TYPE CAT(isl_,BASE)
5 #define xFN(TYPE,NAME) TYPE ## _ ## NAME
6 #define FN(TYPE,NAME) xFN(TYPE,NAME)
8 void FN(TYPE,dump)(__isl_keep TYPE *obj)
10 isl_printer *p;
12 if (!obj)
13 return;
14 p = isl_printer_to_file(FN(TYPE,get_ctx)(obj), stderr);
15 p = FN(isl_printer_print,BASE)(p, obj);
16 p = isl_printer_end_line(p);
17 isl_printer_free(p);