From 3a27521f5769a128ba9e624c595d23bc8c8b285c Mon Sep 17 00:00:00 2001 From: theraven Date: Thu, 7 Jul 2011 09:45:34 +0000 Subject: [PATCH] Add flag for identifying modules that use ARC. --- gc_ops.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gc_ops.h b/gc_ops.h index 2f84153..45ce0f0 100644 --- a/gc_ops.h +++ b/gc_ops.h @@ -48,7 +48,13 @@ enum objc_gc_mode /** * This module expects garbage collection and will break without it. */ - GC_Required = 2 + GC_Required = 2, + /** + * This module was compiled with automatic reference counting. This + * guarantees the use of the non-fragile ABI and means that we could + * potentially support GC, although we don't currently. + */ + GC_ARC = 3 }; /**