aboutsummaryrefslogtreecommitdiff
path: root/objectivec/GPBWireFormat.h
diff options
context:
space:
mode:
Diffstat (limited to 'objectivec/GPBWireFormat.h')
-rw-r--r--objectivec/GPBWireFormat.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/objectivec/GPBWireFormat.h b/objectivec/GPBWireFormat.h
index 55f2edfc..29cf2f0b 100644
--- a/objectivec/GPBWireFormat.h
+++ b/objectivec/GPBWireFormat.h
@@ -28,10 +28,12 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#import "GPBTypes.h"
+#import "GPBRuntimeTypes.h"
CF_EXTERN_C_BEGIN
+NS_ASSUME_NONNULL_BEGIN
+
typedef enum {
GPBWireFormatVarint = 0,
GPBWireFormatFixed64 = 1,
@@ -52,7 +54,7 @@ uint32_t GPBWireFormatMakeTag(uint32_t fieldNumber, GPBWireFormat wireType)
GPBWireFormat GPBWireFormatGetTagWireType(uint32_t tag) __attribute__((const));
uint32_t GPBWireFormatGetTagFieldNumber(uint32_t tag) __attribute__((const));
-GPBWireFormat GPBWireFormatForType(GPBType type, BOOL isPacked)
+GPBWireFormat GPBWireFormatForType(GPBDataType dataType, BOOL isPacked)
__attribute__((const));
#define GPBWireFormatMessageSetItemTag \
@@ -65,4 +67,6 @@ GPBWireFormat GPBWireFormatForType(GPBType type, BOOL isPacked)
(GPBWireFormatMakeTag(GPBWireFormatMessageSetMessage, \
GPBWireFormatLengthDelimited))
+NS_ASSUME_NONNULL_END
+
CF_EXTERN_C_END