Commit 895a21f6 authored by Emmanuele Bassi's avatar Emmanuele Bassi
Browse files

generate: Add links to callback arguments

We're missing that AST type in our link generation code.
parent 81912c91
Pipeline #298912 passed with stage
in 1 minute and 33 seconds
......@@ -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