mirror of
https://review.haiku-os.org/buildtools
synced 2024-11-23 15:29:11 +01:00
c8db99d323
GCC had a horrible .gitignore, untracked files were not applied
22 lines
489 B
C
22 lines
489 B
C
/*
|
|
* Use of this software is governed by the MIT license
|
|
*
|
|
* Written by Sven Verdoolaege
|
|
*/
|
|
|
|
#define xFN(TYPE,NAME) TYPE ## _ ## NAME
|
|
#define FN(TYPE,NAME) xFN(TYPE,NAME)
|
|
|
|
/* Project out all parameters from "obj" by existentially quantifying
|
|
* over them.
|
|
*/
|
|
__isl_give TYPE *FN(TYPE,project_out_all_params)(__isl_take TYPE *obj)
|
|
{
|
|
isl_size n;
|
|
|
|
n = FN(TYPE,dim)(obj, isl_dim_param);
|
|
if (n < 0)
|
|
return FN(TYPE,free)(obj);
|
|
return FN(TYPE,project_out)(obj, isl_dim_param, 0, n);
|
|
}
|