• Rémi Bernon's avatar
    widl: Fix nested parameterized types C / short name output. · 1f2614c6
    Rémi Bernon authored
    We append type->name from each parameter when constructing the c_name
    of parameterized type. When the parameter is itself a parameterized type
    this field contains C++-like name, with template brackets.
    
    Instead this precomputes the names of parameterized types whenever they
    are used as a parameter. In this case the format is the same as the C
    name, except that __C is used as a namespace separator, instead of _C,
    and that there's no namespace or abi prefix included.
    
    Shorthands need to be applied too, altough they have to match the __C.
    Signed-off-by: 's avatarRémi Bernon <rbernon@codeweavers.com>
    Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
    1f2614c6
widltypes.h 14 KB