From 7de47fbabb28198b41aa475e64eaa0fbcfff126a Mon Sep 17 00:00:00 2001 From: Paolo Perkovic Date: Thu, 1 Feb 2018 09:57:10 +0100 Subject: Fix inconsistencies and typos in argument names (cherry picked from commit 08d4bfacafa8abe435d51a6afecb276030a23280) --- modules/mono/editor/bindings_generator.h | 8 ++++---- modules/mono/editor/monodevelop_instance.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'modules/mono/editor') diff --git a/modules/mono/editor/bindings_generator.h b/modules/mono/editor/bindings_generator.h index 4ab8d86cf..9b5a9cea8 100644 --- a/modules/mono/editor/bindings_generator.h +++ b/modules/mono/editor/bindings_generator.h @@ -504,8 +504,8 @@ class BindingsGenerator { const TypeInterface *_get_type_by_name_or_null(const StringName &p_cname); const TypeInterface *_get_type_by_name_or_placeholder(const StringName &p_cname); - void _default_argument_from_variant(const Variant &p_var, ArgumentInterface &r_iarg); - void _populate_builtin_type(TypeInterface &r_type, Variant::Type vtype); + void _default_argument_from_variant(const Variant &p_val, ArgumentInterface &r_iarg); + void _populate_builtin_type(TypeInterface &r_itype, Variant::Type vtype); void _populate_object_type_interfaces(); void _populate_builtin_type_interfaces(); @@ -514,14 +514,14 @@ class BindingsGenerator { Error _generate_cs_type(const TypeInterface &itype, const String &p_output_file); - Error _generate_cs_property(const TypeInterface &p_itype, const PropertyInterface &p_prop_doc, List &p_output); + Error _generate_cs_property(const TypeInterface &p_itype, const PropertyInterface &p_iprop, List &p_output); Error _generate_cs_method(const TypeInterface &p_itype, const MethodInterface &p_imethod, int &p_method_bind_count, List &p_output); void _generate_global_constants(List &p_output); Error _generate_glue_method(const TypeInterface &p_itype, const MethodInterface &p_imethod, List &p_output); - Error _save_file(const String &path, const List &content); + Error _save_file(const String &p_path, const List &p_content); BindingsGenerator() {} diff --git a/modules/mono/editor/monodevelop_instance.h b/modules/mono/editor/monodevelop_instance.h index 7e8a76b59..552c10a61 100644 --- a/modules/mono/editor/monodevelop_instance.h +++ b/modules/mono/editor/monodevelop_instance.h @@ -43,7 +43,7 @@ class MonoDevelopInstance { public: void execute(const Vector &p_files); - void execute(const String &p_files); + void execute(const String &p_file); MonoDevelopInstance(const String &p_solution); }; -- cgit v1.2.3-70-g09d2