| 1124 | } pb_OneofEntry; |
| 1125 | |
| 1126 | PB_API void pb_init(pb_State *S) { |
| 1127 | memset(S, 0, sizeof(pb_State)); |
| 1128 | S->types.entry_size = sizeof(pb_TypeEntry); |
| 1129 | pb_initpool(&S->typepool, sizeof(pb_Type)); |
| 1130 | pb_initpool(&S->fieldpool, sizeof(pb_Field)); |
| 1131 | } |
| 1132 | |
| 1133 | PB_API void pb_free(pb_State *S) { |
| 1134 | const pb_TypeEntry *te = NULL; |
no test coverage detected