scanner: prepend protocol name to types symbol

When doing unity builds via meson (example project: multiple source files are glued together
via #include directives. Having every wayland-scanner generated source
file have an identifier named '*types[]' will lead to errors in these
unity builds if two or more of these are joined.

Signed-off-by: Marty E. Plummer <>
1 job for unique-type-names in 1 minute and 37 seconds (queued for 1 second)
Status Job ID Name Coverage
passed #293191