diff options
| author | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2019-04-25 17:11:01 +0200 |
|---|---|---|
| committer | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2019-04-25 20:34:35 +0200 |
| commit | 340252727b829311591e251fcbc99bd7ac4fd433 (patch) | |
| tree | 523309aedeab272ff112ae39150427998cb872a4 /modules/mono/editor/bindings_generator.h | |
| parent | c20a3823a2eafdb40a9db3519e503269689bac14 (diff) | |
| download | redot-engine-340252727b829311591e251fcbc99bd7ac4fd433.tar.gz | |
C#: Mark generated property accessor methods as Obsolete
- Methods that act as accessors for properties in the same class (like `GetPosition` and `SetPosition` are for `Position`) are now marked as obsolete. They will be made private in the future.
Diffstat (limited to 'modules/mono/editor/bindings_generator.h')
| -rw-r--r-- | modules/mono/editor/bindings_generator.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/mono/editor/bindings_generator.h b/modules/mono/editor/bindings_generator.h index 7599c6edee..d84315c7df 100644 --- a/modules/mono/editor/bindings_generator.h +++ b/modules/mono/editor/bindings_generator.h @@ -159,6 +159,9 @@ class BindingsGenerator { const DocData::MethodDoc *method_doc; + bool is_deprecated; + String deprecation_message; + void add_argument(const ArgumentInterface &argument) { arguments.push_back(argument); } @@ -169,6 +172,7 @@ class BindingsGenerator { requires_object_call = false; is_internal = false; method_doc = NULL; + is_deprecated = false; } }; |
