extract out shared isl_qpolynomial_{take,restore}_local
[isl.git] / isl_pw_neg_templ.c
blob0f5b52178782216634836aaf8905a70d8b4c5a1f
1 /*
2 * Copyright 2010 INRIA Saclay
4 * Use of this software is governed by the MIT license
6 * Written by Sven Verdoolaege, INRIA Saclay - Ile-de-France,
7 * Parc Club Orsay Universite, ZAC des vignes, 4 rue Jacques Monod,
8 * 91893 Orsay, France
9 */
11 #include <isl_pw_macro.h>
13 __isl_give PW *FN(PW,neg)(__isl_take PW *pw)
15 S(PW,un_op_control) control = { .fn_base = &FN(EL,neg) };
16 return FN(PW,un_op)(pw, &control);