Il 02/06/2014 04:40, Peter Crosthwaite ha scritto:
>  {
>      MemoryRegion *mr = MEMORY_REGION(obj);
> +    gchar *container_link_type = g_strdup_printf("link<%s>",
> +                                                 TYPE_MEMORY_REGION);
Since TYPE_MEMORY_REGION is a literal string constant, this can be
done with regular "" "" style string concatenation. Dropped the strdup
in V3.

Note that object_resolve_path_component expects link<FOO> properties to have a LinkProperty stored in prop->opaque. Does this hold in your case?

Perhaps we can instead add a new ->resolve function pointer to properties.

Paolo

Reply via email to