Fix misleading comment (current generator sets LTYPE always).

This commit is contained in:
Petteri Aimonen
2013-01-21 21:18:38 +02:00
parent eab4151a99
commit 2392d25574

4
pb.h
View File

@@ -100,8 +100,8 @@ typedef enum {
/* Works for all required/optional/repeated fields. /* Works for all required/optional/repeated fields.
* data_offset points to pb_callback_t structure. * data_offset points to pb_callback_t structure.
* LTYPE should be 0 (it is ignored, but sometimes * LTYPE should be valid or 0 (it is ignored, but
* used to speculatively index an array). */ * sometimes used to speculatively index an array). */
PB_HTYPE_CALLBACK = 0x30, PB_HTYPE_CALLBACK = 0x30,
PB_HTYPE_MASK = 0xF0 PB_HTYPE_MASK = 0xF0