Change index parameter type from int to size_t (issue #1491)

This commit is contained in:
Marshall Greenblatt
2016-11-04 14:38:59 -04:00
parent f3a0ff98bb
commit cdd2a40469
19 changed files with 272 additions and 433 deletions

View File

@ -51,14 +51,14 @@ CEF_EXPORT cef_string_list_t cef_string_list_alloc();
///
// Return the number of elements in the string list.
///
CEF_EXPORT int cef_string_list_size(cef_string_list_t list);
CEF_EXPORT size_t cef_string_list_size(cef_string_list_t list);
///
// Retrieve the value at the specified zero-based string list index. Returns
// true (1) if the value was successfully retrieved.
///
CEF_EXPORT int cef_string_list_value(cef_string_list_t list,
int index, cef_string_t* value);
size_t index, cef_string_t* value);
///
// Append a new value at the end of the string list.