* class.h (mono_class_has_parent): add parens to expansion
so you can ! this.
svn path=/trunk/mono/; revision=22895
+2004-02-08 Bernie Solomon <bernard@ugsolutions.com>
+
+ * class.h (mono_class_has_parent): add parens to expansion
+ so you can ! this.
+
2004-02-08 Martin Baulig <martin@ximian.com>
* image.h (MonoImage): Removed `generics_cache'.
MonoClass** constraints; /* NULL means end of list */
};
-#define mono_class_has_parent(klass,parent) ((klass)->idepth >= (parent)->idepth) && ((klass)->supertypes [(parent)->idepth - 1] == (parent))
+#define mono_class_has_parent(klass,parent) (((klass)->idepth >= (parent)->idepth) && ((klass)->supertypes [(parent)->idepth - 1] == (parent)))
typedef struct {
gulong new_object_count;