aboutsummaryrefslogtreecommitdiff
path: root/objectivec/GPBRootObject.h
diff options
context:
space:
mode:
authorThomas Van Lenten <thomasvl@google.com>2015-06-16 16:45:14 -0400
committerThomas Van Lenten <thomasvl@google.com>2015-06-16 17:04:50 -0400
commit8c88957ef375f3b739b6e72ea5c2fb71b12e1fc2 (patch)
tree31b4561aae2a11b1a9b4b7010dc9df10c52a4d72 /objectivec/GPBRootObject.h
parent4cbb612299eaf8259db25f5dcda46022fbd1db54 (diff)
downloadprotobuf-8c88957ef375f3b739b6e72ea5c2fb71b12e1fc2.tar.gz
protobuf-8c88957ef375f3b739b6e72ea5c2fb71b12e1fc2.tar.bz2
protobuf-8c88957ef375f3b739b6e72ea5c2fb71b12e1fc2.zip
Add nonnil markup to ObjC library.
Add the clang annotations to the objc library and generated code to help with Swift bridging and compiler checks.
Diffstat (limited to 'objectivec/GPBRootObject.h')
-rw-r--r--objectivec/GPBRootObject.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/objectivec/GPBRootObject.h b/objectivec/GPBRootObject.h
index 2904162e..e2af5d97 100644
--- a/objectivec/GPBRootObject.h
+++ b/objectivec/GPBRootObject.h
@@ -32,6 +32,8 @@
@class GPBExtensionRegistry;
+NS_ASSUME_NONNULL_BEGIN
+
// All Root Objects derive from GPBRootObject. It supplies a registry
// for derived classes to register their extensions to.
@interface GPBRootObject : NSObject
@@ -40,3 +42,5 @@
+ (GPBExtensionRegistry *)extensionRegistry;
@end
+
+NS_ASSUME_NONNULL_END