• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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  */
FN(TYPE,has_single_reference)7 isl_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 }
13