]> Git Repo - qemu.git/blobdiff - include/qom/object.h
qom: Do not register interface "types" in the type table and fix names
[qemu.git] / include / qom / object.h
index a275db2092d125e9b62a66b62fd07076263f2c2a..e0ff212cb699492d76e4b1235272d4cc156d75ef 100644 (file)
@@ -358,7 +358,8 @@ struct ObjectClass
     Type type;
     GSList *interfaces;
 
-    const char *cast_cache[OBJECT_CLASS_CAST_CACHE];
+    const char *object_cast_cache[OBJECT_CLASS_CAST_CACHE];
+    const char *class_cast_cache[OBJECT_CLASS_CAST_CACHE];
 
     ObjectUnparent *unparent;
 };
@@ -535,6 +536,7 @@ struct InterfaceClass
     ObjectClass parent_class;
     /*< private >*/
     ObjectClass *concrete_class;
+    Type interface_type;
 };
 
 #define TYPE_INTERFACE "interface"
This page took 0.023857 seconds and 4 git commands to generate.