Skip to contentSkip to conversation

object: add object_property_add_bool

PATCH Paolo Bonzini 1 participant 1 message Jul 2, 2012 6 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#6 lore raw

Il 26/06/2012 00:01, Anthony Liguori ha scritto:

Quoted 3 lines

The various object_property_set_* functions are inconsistent because I didn't write them. I'm not sure why they take value/name. They should take name/value IMHO.

void object_property_set(Object *obj, Visitor *v, const char *name,
Error **errp)

s/v/value/ and you get object_property_set_*. I don't like it either, but I was trying to be consistent...

Paolo