doc: ignore typedef for callbacks

This commit is contained in:
Matthias Ringwald 2024-03-29 00:05:21 +01:00
parent c0947075b6
commit d455ddb2f2

View File

@ -151,6 +151,9 @@ def createIndex(fin, filename, api_filepath, api_title, api_label, githuburl):
if len(name) == 0:
print(parts);
sys.exit(10)
# ignore typedef for callbacks
if parts[0] == 'typedef':
continue
functions[name] = codeReference( name, githuburl, filename, api_filepath, linenr)
continue