@@ -329,8 +329,8 @@ pb_descriptor_extension(const pb_descriptor_t *descriptor) {
329329 * \param[in] descriptor Descriptor
330330 * \return Descriptor iterator
331331 */
332- PB_WARN_UNUSED_RESULT
333- PB_INLINE pb_descriptor_iter_t
332+ PB_INLINE PB_WARN_UNUSED_RESULT
333+ pb_descriptor_iter_t
334334pb_descriptor_iter_create (const pb_descriptor_t * descriptor ) {
335335 assert (descriptor );
336336 pb_descriptor_iter_t it = {
@@ -356,8 +356,8 @@ pb_descriptor_iter_destroy(pb_descriptor_iter_t *it) {
356356 * \param[in,out] it Descriptor iterator
357357 * \return Test result
358358 */
359- PB_WARN_UNUSED_RESULT
360- PB_INLINE int
359+ PB_INLINE PB_WARN_UNUSED_RESULT
360+ int
361361pb_descriptor_iter_begin (pb_descriptor_iter_t * it ) {
362362 assert (it );
363363 return !pb_descriptor_empty (it -> descriptor )
@@ -371,8 +371,8 @@ pb_descriptor_iter_begin(pb_descriptor_iter_t *it) {
371371 * \param[in,out] it Descriptor iterator
372372 * \return Test result
373373 */
374- PB_WARN_UNUSED_RESULT
375- PB_INLINE int
374+ PB_INLINE PB_WARN_UNUSED_RESULT
375+ int
376376pb_descriptor_iter_end (pb_descriptor_iter_t * it ) {
377377 assert (it );
378378 return !pb_descriptor_empty (it -> descriptor )
@@ -386,8 +386,8 @@ pb_descriptor_iter_end(pb_descriptor_iter_t *it) {
386386 * \param[in,out] it Descriptor iterator
387387 * \return Test result
388388 */
389- PB_WARN_UNUSED_RESULT
390- PB_INLINE int
389+ PB_INLINE PB_WARN_UNUSED_RESULT
390+ int
391391pb_descriptor_iter_prev (pb_descriptor_iter_t * it ) {
392392 assert (it && it -> pos != SIZE_MAX );
393393 assert (!pb_descriptor_empty (it -> descriptor ));
@@ -402,8 +402,8 @@ pb_descriptor_iter_prev(pb_descriptor_iter_t *it) {
402402 * \param[in,out] it Descriptor iterator
403403 * \return Test result
404404 */
405- PB_WARN_UNUSED_RESULT
406- PB_INLINE int
405+ PB_INLINE PB_WARN_UNUSED_RESULT
406+ int
407407pb_descriptor_iter_next (pb_descriptor_iter_t * it ) {
408408 assert (it && it -> pos != SIZE_MAX );
409409 assert (!pb_descriptor_empty (it -> descriptor ));
@@ -496,8 +496,8 @@ pb_enum_descriptor_empty(const pb_enum_descriptor_t *descriptor) {
496496 * \param[in] descriptor Enum descriptor
497497 * \return Enum descriptor iterator
498498 */
499- PB_WARN_UNUSED_RESULT
500- PB_INLINE pb_enum_descriptor_iter_t
499+ PB_INLINE PB_WARN_UNUSED_RESULT
500+ pb_enum_descriptor_iter_t
501501pb_enum_descriptor_iter_create (const pb_enum_descriptor_t * descriptor ) {
502502 assert (descriptor );
503503 pb_enum_descriptor_iter_t it = {
@@ -523,8 +523,8 @@ pb_enum_descriptor_iter_destroy(pb_enum_descriptor_iter_t *it) {
523523 * \param[in,out] it Enum descriptor iterator
524524 * \return Test result
525525 */
526- PB_WARN_UNUSED_RESULT
527- PB_INLINE int
526+ PB_INLINE PB_WARN_UNUSED_RESULT
527+ int
528528pb_enum_descriptor_iter_begin (pb_enum_descriptor_iter_t * it ) {
529529 assert (it );
530530 return !pb_enum_descriptor_empty (it -> descriptor )
@@ -538,8 +538,8 @@ pb_enum_descriptor_iter_begin(pb_enum_descriptor_iter_t *it) {
538538 * \param[in,out] it Enum descriptor iterator
539539 * \return Test result
540540 */
541- PB_WARN_UNUSED_RESULT
542- PB_INLINE int
541+ PB_INLINE PB_WARN_UNUSED_RESULT
542+ int
543543pb_enum_descriptor_iter_end (pb_enum_descriptor_iter_t * it ) {
544544 assert (it );
545545 return !pb_enum_descriptor_empty (it -> descriptor )
@@ -553,8 +553,8 @@ pb_enum_descriptor_iter_end(pb_enum_descriptor_iter_t *it) {
553553 * \param[in,out] it Enum descriptor iterator
554554 * \return Test result
555555 */
556- PB_WARN_UNUSED_RESULT
557- PB_INLINE int
556+ PB_INLINE PB_WARN_UNUSED_RESULT
557+ int
558558pb_enum_descriptor_iter_prev (pb_enum_descriptor_iter_t * it ) {
559559 assert (it && it -> pos != SIZE_MAX );
560560 assert (!pb_enum_descriptor_empty (it -> descriptor ));
@@ -569,8 +569,8 @@ pb_enum_descriptor_iter_prev(pb_enum_descriptor_iter_t *it) {
569569 * \param[in,out] it Enum descriptor iterator
570570 * \return Test result
571571 */
572- PB_WARN_UNUSED_RESULT
573- PB_INLINE int
572+ PB_INLINE PB_WARN_UNUSED_RESULT
573+ int
574574pb_enum_descriptor_iter_next (pb_enum_descriptor_iter_t * it ) {
575575 assert (it && it -> pos != SIZE_MAX );
576576 assert (!pb_enum_descriptor_empty (it -> descriptor ));
@@ -637,8 +637,8 @@ pb_oneof_descriptor_empty(const pb_oneof_descriptor_t *descriptor) {
637637 * \param[in] descriptor Oneof descriptor
638638 * \return Oneof descriptor iterator
639639 */
640- PB_WARN_UNUSED_RESULT
641- PB_INLINE pb_oneof_descriptor_iter_t
640+ PB_INLINE PB_WARN_UNUSED_RESULT
641+ pb_oneof_descriptor_iter_t
642642pb_oneof_descriptor_iter_create (const pb_oneof_descriptor_t * descriptor ) {
643643 assert (descriptor );
644644 pb_oneof_descriptor_iter_t it = {
@@ -664,8 +664,8 @@ pb_oneof_descriptor_iter_destroy(pb_oneof_descriptor_iter_t *it) {
664664 * \param[in,out] it Oneof descriptor iterator
665665 * \return Test result
666666 */
667- PB_WARN_UNUSED_RESULT
668- PB_INLINE int
667+ PB_INLINE PB_WARN_UNUSED_RESULT
668+ int
669669pb_oneof_descriptor_iter_begin (pb_oneof_descriptor_iter_t * it ) {
670670 assert (it );
671671 return !pb_oneof_descriptor_empty (it -> descriptor )
@@ -679,8 +679,8 @@ pb_oneof_descriptor_iter_begin(pb_oneof_descriptor_iter_t *it) {
679679 * \param[in,out] it Oneof descriptor iterator
680680 * \return Test result
681681 */
682- PB_WARN_UNUSED_RESULT
683- PB_INLINE int
682+ PB_INLINE PB_WARN_UNUSED_RESULT
683+ int
684684pb_oneof_descriptor_iter_end (pb_oneof_descriptor_iter_t * it ) {
685685 assert (it );
686686 return !pb_oneof_descriptor_empty (it -> descriptor )
@@ -694,8 +694,8 @@ pb_oneof_descriptor_iter_end(pb_oneof_descriptor_iter_t *it) {
694694 * \param[in,out] it Oneof descriptor iterator
695695 * \return Test result
696696 */
697- PB_WARN_UNUSED_RESULT
698- PB_INLINE int
697+ PB_INLINE PB_WARN_UNUSED_RESULT
698+ int
699699pb_oneof_descriptor_iter_prev (pb_oneof_descriptor_iter_t * it ) {
700700 assert (it && it -> pos != SIZE_MAX );
701701 assert (!pb_oneof_descriptor_empty (it -> descriptor ));
@@ -710,8 +710,8 @@ pb_oneof_descriptor_iter_prev(pb_oneof_descriptor_iter_t *it) {
710710 * \param[in,out] it Oneof descriptor iterator
711711 * \return Test result
712712 */
713- PB_WARN_UNUSED_RESULT
714- PB_INLINE int
713+ PB_INLINE PB_WARN_UNUSED_RESULT
714+ int
715715pb_oneof_descriptor_iter_next (pb_oneof_descriptor_iter_t * it ) {
716716 assert (it && it -> pos != SIZE_MAX );
717717 assert (!pb_oneof_descriptor_empty (it -> descriptor ));
0 commit comments