Descriptiondbus/values_util.h: Add functions to append collection type values to message.
Added functions AppendValueData and AppendValueDataAsVariant to values_util.h.
These functions are useful for writing both basic types and variant lists and
dictionaries to a message writer. Lists and dictionaries are written with type
"av" and "a{sv}", respectively.
BUG=359413
TEST=dbus_unittests,chromeos_unittests
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272167
Patch Set 1 #
Total comments: 2
Patch Set 2 : Addressed keybuk@'s comment, unmarked old functions as deprecated as they are useful. #
Messages
Total messages: 16 (0 generated)
|