diff options
Diffstat (limited to 'include/qom')
-rw-r--r-- | include/qom/object.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/qom/object.h b/include/qom/object.h index 63e2a40..23fc048 100644 --- a/include/qom/object.h +++ b/include/qom/object.h @@ -344,6 +344,8 @@ typedef void (ObjectUnparent)(Object *obj); */ typedef void (ObjectFree)(void *obj); +#define OBJECT_CLASS_CAST_CACHE 4 + /** * ObjectClass: * @@ -356,6 +358,8 @@ struct ObjectClass Type type; GSList *interfaces; + const char *cast_cache[OBJECT_CLASS_CAST_CACHE]; + ObjectUnparent *unparent; }; |