xref: /netbsd-src/external/mit/isl/dist/isl_pw_neg_templ.c (revision 5971e316fdea024efff6be8f03536623db06833e)
1 /*
2  * Copyright 2010      INRIA Saclay
3  *
4  * Use of this software is governed by the MIT license
5  *
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  */
10 
11 #include <isl_pw_macro.h>
12 
FN(PW,neg)13 __isl_give PW *FN(PW,neg)(__isl_take PW *pw)
14 {
15 	S(PW,un_op_control) control = { .fn_base = &FN(EL,neg) };
16 	return FN(PW,un_op)(pw, &control);
17 }
18