« Previous | Next » 

Revision cf12b95b


Added by Gerd Hoffmann about 12 years ago

qdev/prop: macros for creating typechecked properties.

There are DEFINE_PROP_$TYPE macros for
each property type. These macros link the qdev_prop_$name struct to the
type used by that property. typeof(struct->field) is verifyed to be the
correct one for the given property.

Signed-off-by: Gerd Hoffmann <>
Signed-off-by: Anthony Liguori <>


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences