aboutsummaryrefslogtreecommitdiff
path: root/ext/fts5/extract_api_docs.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'ext/fts5/extract_api_docs.tcl')
-rw-r--r--ext/fts5/extract_api_docs.tcl4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/fts5/extract_api_docs.tcl b/ext/fts5/extract_api_docs.tcl
index 2320d70b7..6762a036d 100644
--- a/ext/fts5/extract_api_docs.tcl
+++ b/ext/fts5/extract_api_docs.tcl
@@ -223,10 +223,12 @@ proc main {data} {
Fts5ExtensionApi {
set struct [get_fts5_struct $data "^struct Fts5ExtensionApi" "^.;"]
set map [list]
+ set lKey [list]
foreach {k v} [get_struct_members $data] {
if {[string match x* $k]==0} continue
- lappend map $k "<a href=#$k>$k</a>"
+ lappend lKey $k
}
+ foreach k [lsort -decr $lKey] { lappend map $k "<a href=#$k>$k</a>" }
output [string map $map $struct]
}