| 1130 | } |
| 1131 | |
| 1132 | inline bool GetRepeatedMessage(const char *pszFieldName, int index, const protobuf::Message **message) |
| 1133 | { |
| 1134 | GETCHECK_FIELD(); |
| 1135 | CHECK_FIELD_TYPE(MESSAGE); |
| 1136 | CHECK_FIELD_REPEATED(); |
| 1137 | CHECK_REPEATED_ELEMENT(index); |
| 1138 | |
| 1139 | const protobuf::Message *m = &msg->GetReflection()->GetRepeatedMessage(*msg, field, index); |
| 1140 | *message = m; |
| 1141 | |
| 1142 | return true; |
| 1143 | } |
| 1144 | |
| 1145 | inline bool AddMessage(const char *pszFieldName, protobuf::Message **message) |
| 1146 | { |
no outgoing calls
no test coverage detected