mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Make string map append API match the manuals
Reduce cef_string_[multi]map_key() and cef_string_[multi]map_value() complexities from O(N) to O(1).
This commit is contained in:
committed by
Marshall Greenblatt
parent
c3648f42b2
commit
78ea5d8c61
@ -75,7 +75,8 @@ CEF_EXPORT int cef_string_map_value(cef_string_map_t map,
|
||||
cef_string_t* value);
|
||||
|
||||
///
|
||||
/// Append a new key/value pair at the end of the string map.
|
||||
/// Append a new key/value pair at the end of the string map. If the key exists,
|
||||
/// overwrite the existing value with a new value w/o changing the pair order.
|
||||
///
|
||||
CEF_EXPORT int cef_string_map_append(cef_string_map_t map,
|
||||
const cef_string_t* key,
|
||||
|
Reference in New Issue
Block a user