-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
array: adjust prototypes for string and bytes handling
This patch adjust the following functions to manipulate the new 'referenced' field from variants: int cfl_array_append_string_s(struct cfl_array *array, char *str, size_t str_len, int referenced) int cfl_array_append_bytes(struct cfl_array *array, char *value, size_t length, int referenced) It also adds an extra check for the array size when it's resizable. Signed-off-by: Eduardo Silva <[email protected]>
- Loading branch information
Showing
2 changed files
with
44 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters