[GDExtension] Use function names with underscore for TextServer extension, add macros to generate wrappers for module functions.

This commit is contained in:
bruvzg 2022-09-27 11:23:34 +03:00
parent 92bcd3c01d
commit 8f5d56e04a
No known key found for this signature in database
GPG key ID: 7960FCF39844EC38
12 changed files with 1677 additions and 1790 deletions

View file

@ -666,6 +666,10 @@ void add_exposed_classes(Context &r_context) {
} else {
exposed_class.methods.push_back(method);
}
if (method.is_virtual) {
TEST_COND(String(method.name)[0] != '_', "Virtual method ", String(method.name), " does not start with underscore.");
}
}
// Add signals