From d455ddb2f2a1639ed9c3abb0d529c404ebe98446 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Fri, 29 Mar 2024 00:05:21 +0100 Subject: [PATCH] doc: ignore typedef for callbacks --- doc/manual/markdown_create_apis.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/manual/markdown_create_apis.py b/doc/manual/markdown_create_apis.py index 35af02112..5651da65b 100755 --- a/doc/manual/markdown_create_apis.py +++ b/doc/manual/markdown_create_apis.py @@ -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