[GDExtension] Use function names with underscore for TextServer extension, add macros to generate wrappers for module functions.
This commit is contained in:
parent
92bcd3c01d
commit
8f5d56e04a
12 changed files with 1677 additions and 1790 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue