File tree Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change 1515 */
1616struct parserutils_vector
1717{
18- size_t item_size ; /**< Size of an item in the vector */
19- size_t chunk_size ; /**< Size of a vector chunk */
20- size_t items_allocated ; /**< Number of slots allocated */
21- int32_t current_item ; /**< Index of current item */
22- void * items ; /**< Items in vector */
18+ size_t item_size ; /**< Size of an item in the vector */
19+ size_t chunk_size ; /**< Size of a vector chunk */
20+ size_t items_allocated ; /**< Number of slots allocated */
21+ int32_t current_item ; /**< Index of current item */
22+ void * items ; /**< Items in vector */
2323};
2424
2525/**
@@ -175,15 +175,15 @@ parserutils_error parserutils_vector_remove_last(parserutils_vector *vector)
175175parserutils_error parserutils_vector_get_length (parserutils_vector * vector ,
176176 size_t * length )
177177{
178- if (vector == NULL )
179- return PARSERUTILS_BADPARM ;
180-
181- if (length == NULL )
182- return PARSERUTILS_BADPARM ;
183-
184- * length = vector -> current_item + 1 ;
185-
186- return PARSERUTILS_OK ;
178+ if (vector == NULL )
179+ return PARSERUTILS_BADPARM ;
180+
181+ if (length == NULL )
182+ return PARSERUTILS_BADPARM ;
183+
184+ * length = vector -> current_item + 1 ;
185+
186+ return PARSERUTILS_OK ;
187187}
188188
189189/**
You can’t perform that action at this time.
0 commit comments