Skip to content
This repository was archived by the owner on Oct 13, 2020. It is now read-only.

Commit 4086374

Browse files
author
Jérôme Lebel
committed
spacing
1 parent 658bb4d commit 4086374

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

src/bson/bson-iter.h

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -122,20 +122,20 @@ bson_iter_utf8_len_unsafe (const bson_iter_t *iter)
122122

123123
void
124124
bson_iter_array (const bson_iter_t *iter,
125-
uint32_t *array_len,
126-
const uint8_t **array);
125+
uint32_t *array_len,
126+
const uint8_t **array);
127127

128128

129129
void
130130
bson_iter_binary (const bson_iter_t *iter,
131131
bson_subtype_t *subtype,
132-
uint32_t *binary_len,
133-
const uint8_t **binary);
132+
uint32_t *binary_len,
133+
const uint8_t **binary);
134134

135135

136136
const char *
137137
bson_iter_code (const bson_iter_t *iter,
138-
uint32_t *length);
138+
uint32_t *length);
139139

140140

141141
/**
@@ -149,7 +149,7 @@ bson_iter_code (const bson_iter_t *iter,
149149
*/
150150
static BSON_INLINE const char *
151151
bson_iter_code_unsafe (const bson_iter_t *iter,
152-
uint32_t *length)
152+
uint32_t *length)
153153
{
154154
*length = bson_iter_utf8_len_unsafe (iter);
155155
return (const char *)(iter->raw + iter->d2);
@@ -158,22 +158,22 @@ bson_iter_code_unsafe (const bson_iter_t *iter,
158158

159159
const char *
160160
bson_iter_codewscope (const bson_iter_t *iter,
161-
uint32_t *length,
162-
uint32_t *scope_len,
163-
const uint8_t **scope);
161+
uint32_t *length,
162+
uint32_t *scope_len,
163+
const uint8_t **scope);
164164

165165

166166
void
167167
bson_iter_dbpointer (const bson_iter_t *iter,
168-
uint32_t *collection_len,
168+
uint32_t *collection_len,
169169
const char **collection,
170170
const bson_oid_t **oid);
171171

172172

173173
void
174174
bson_iter_document (const bson_iter_t *iter,
175-
uint32_t *document_len,
176-
const uint8_t **document);
175+
uint32_t *document_len,
176+
const uint8_t **document);
177177

178178

179179
double
@@ -323,7 +323,7 @@ bson_iter_key_unsafe (const bson_iter_t *iter)
323323

324324
const char *
325325
bson_iter_utf8 (const bson_iter_t *iter,
326-
uint32_t *length);
326+
uint32_t *length);
327327

328328

329329
/**
@@ -335,7 +335,7 @@ bson_iter_utf8 (const bson_iter_t *iter,
335335
*/
336336
static BSON_INLINE const char *
337337
bson_iter_utf8_unsafe (const bson_iter_t *iter,
338-
uint32_t *length)
338+
size_t *length)
339339
{
340340
*length = bson_iter_utf8_len_unsafe (iter);
341341
return (const char *)(iter->raw + iter->d2);
@@ -344,7 +344,7 @@ bson_iter_utf8_unsafe (const bson_iter_t *iter,
344344

345345
char *
346346
bson_iter_dup_utf8 (const bson_iter_t *iter,
347-
uint32_t *length);
347+
uint32_t *length);
348348

349349

350350
int64_t
@@ -435,7 +435,7 @@ bson_iter_regex (const bson_iter_t *iter,
435435

436436
const char *
437437
bson_iter_symbol (const bson_iter_t *iter,
438-
uint32_t *length);
438+
uint32_t *length);
439439

440440

441441
bson_type_t

0 commit comments

Comments
 (0)