aboutsummaryrefslogtreecommitdiff
path: root/tools/doc/doc_data.h
diff options
context:
space:
mode:
authorGeorge Marques2016-06-21 17:20:34 -0300
committerGeorge Marques2016-06-21 17:20:35 -0300
commit9bde4e565237b60f3543491839a38211ca717e9d (patch)
tree46ce2bbeb5e05f0bb24ba9591d5b34a065f4eb9a /tools/doc/doc_data.h
parente69e50040b51d3cba4bb38b848bac6ed003640d7 (diff)
downloadgodot-9bde4e565237b60f3543491839a38211ca717e9d.tar.gz
godot-9bde4e565237b60f3543491839a38211ca717e9d.tar.zst
godot-9bde4e565237b60f3543491839a38211ca717e9d.zip
Fix classes.xml sorting
Make methods, signals, theme items and constants sort correctly
Diffstat (limited to '')
-rw-r--r--tools/doc/doc_data.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/doc/doc_data.h b/tools/doc/doc_data.h
index d1aebff4c..7996071c7 100644
--- a/tools/doc/doc_data.h
+++ b/tools/doc/doc_data.h
@@ -67,6 +67,9 @@ public:
String name;
String type;
String description;
+ bool operator<(const PropertyDoc& p_prop) const {
+ return name<p_prop.name;
+ }
};
struct ClassDoc {