Debian Codegraph @

crt/aws-c-common/include/aws/common/private/array_list.h

raw symbols SCIP
1 #ifndef AWS_COMMON_PRIVATE_ARRAY_LIST_H
2 #define AWS_COMMON_PRIVATE_ARRAY_LIST_H
3
4 /**
5 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
6 * SPDX-License-Identifier: Apache-2.0.
7 */
8
9 AWS_EXTERN_C_BEGIN
10
11 /**
12 * Helper function that calculates the number of bytes needed by an array_list, where "index" is the last valid
13 * index.
14 */
15 int aws_array_list_calc_necessary_size(struct aws_array_list *AWS_RESTRICT list, size_t index, size_t *necessary_size);
16
17 AWS_EXTERN_C_END
18
19 #endif /* AWS_COMMON_PRIVATE_ARRAY_LIST_H */