« Previous | Next » 

Revision cf12b95b

IDcf12b95bf5a2f30b37c4b91011fb6a9ab70c920d

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 <>
Message-Id:

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences