Commit 4d72dd19 authored by Emmanuele Bassi's avatar Emmanuele Bassi 👣
Browse files

Merge branch 'callback-arg-link' into 'main'

generate: Add links to callback arguments

See merge request !87
parents ef93d843 895a21f6
Pipeline #300388 passed with stages
in 2 minutes
......@@ -274,6 +274,8 @@ def gen_type_link(namespace, name):
return f"<a href=\"alias.{name}.html\"><code>{t.ctype}</code></a>"
elif isinstance(t, gir.BitField):
return f"<a href=\"flags.{name}.html\"><code>{t.ctype}</code></a>"
elif isinstance(t, gir.Callback):
return f"<a href=\"callback.{name}.html\"><code>{t.ctype}</code></a>"
elif isinstance(t, gir.Class):
return f"<a href=\"class.{name}.html\"><code>{t.ctype}</code></a>"
elif isinstance(t, gir.ErrorDomain):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment