@@ -51,32 +51,32 @@ typedef struct pb_message_t {
5151 * Interface
5252 * ------------------------------------------------------------------------- */
5353
54- PB_WARN_UNUSED_RESULT
55- PB_EXPORT pb_message_t
54+ PB_EXPORT PB_WARN_UNUSED_RESULT
55+ pb_message_t
5656pb_message_create (
5757 const pb_descriptor_t * descriptor , /* Descriptor */
5858 pb_journal_t * journal ); /* Journal */
5959
60- PB_WARN_UNUSED_RESULT
61- PB_EXPORT pb_message_t
60+ PB_EXPORT PB_WARN_UNUSED_RESULT
61+ pb_message_t
6262pb_message_create_within (
6363 pb_message_t * message , /* Message */
6464 pb_tag_t tag ); /* Tag */
6565
66- PB_WARN_UNUSED_RESULT
67- PB_EXPORT pb_message_t
66+ PB_EXPORT PB_WARN_UNUSED_RESULT
67+ pb_message_t
6868pb_message_create_nested (
6969 pb_message_t * message , /* Message */
7070 const pb_tag_t tags [], /* Tags */
7171 size_t size ); /* Tag count */
7272
73- PB_WARN_UNUSED_RESULT
74- PB_EXPORT pb_message_t
73+ PB_EXPORT PB_WARN_UNUSED_RESULT
74+ pb_message_t
7575pb_message_create_from_cursor (
7676 struct pb_cursor_t * cursor ); /* Cursor */
7777
78- PB_WARN_UNUSED_RESULT
79- PB_EXPORT pb_message_t
78+ PB_EXPORT PB_WARN_UNUSED_RESULT
79+ pb_message_t
8080pb_message_create_from_field (
8181 const pb_descriptor_t * descriptor , /* Descriptor */
8282 struct pb_field_t * field ); /* Bytes field */
@@ -100,28 +100,28 @@ pb_message_match(
100100 pb_tag_t tag , /* Tag */
101101 const void * value ); /* Pointer holding value */
102102
103- PB_WARN_UNUSED_RESULT
104- PB_EXPORT pb_error_t
103+ PB_EXPORT PB_WARN_UNUSED_RESULT
104+ pb_error_t
105105pb_message_get (
106106 pb_message_t * message , /* Message */
107107 pb_tag_t tag , /* Tag */
108108 void * value ); /* Pointer receiving value */
109109
110- PB_WARN_UNUSED_RESULT
111- PB_EXPORT pb_error_t
110+ PB_EXPORT PB_WARN_UNUSED_RESULT
111+ pb_error_t
112112pb_message_put (
113113 pb_message_t * message , /* Message */
114114 pb_tag_t tag , /* Tag */
115115 const void * value ); /* Pointer holding value */
116116
117- PB_WARN_UNUSED_RESULT
118- PB_EXPORT pb_error_t
117+ PB_EXPORT PB_WARN_UNUSED_RESULT
118+ pb_error_t
119119pb_message_erase (
120120 pb_message_t * message , /* Message */
121121 pb_tag_t tag ); /* Tag */
122122
123- PB_WARN_UNUSED_RESULT
124- PB_EXPORT pb_error_t
123+ PB_EXPORT PB_WARN_UNUSED_RESULT
124+ pb_error_t
125125pb_message_clear (
126126 pb_message_t * message ); /* Message */
127127
0 commit comments