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
13 lines
288 B
C
13 lines
288 B
C
#define xFN(TYPE,NAME) TYPE ## _ ## NAME
|
|
#define FN(TYPE,NAME) xFN(TYPE,NAME)
|
|
|
|
/* Does "obj" have a single reference?
|
|
* That is, can "obj" be changed inplace?
|
|
*/
|
|
isl_bool FN(TYPE,has_single_reference)(__isl_keep TYPE *obj)
|
|
{
|
|
if (!obj)
|
|
return isl_bool_error;
|
|
return obj->ref == 1;
|
|
}
|