Polly 20.0.0git
has_single_reference_templ.c
Go to the documentation of this file.
1#define xFN(TYPE,NAME) TYPE ## _ ## NAME
2#define FN(TYPE,NAME) xFN(TYPE,NAME)
3
4/* Does "obj" have a single reference?
5 * That is, can "obj" be changed inplace?
6 */
7isl_bool FN(TYPE,has_single_reference)(__isl_keep TYPE *obj)
8{
9 if (!obj)
10 return isl_bool_error;
11 return obj->ref == 1;
12}
#define TYPE
#define __isl_keep
Definition: ctx.h:25
isl_bool
Definition: ctx.h:89
@ isl_bool_error
Definition: ctx.h:90
#define FN(TYPE, NAME)
const char * obj
Definition: isl_test.c:3316