summaryrefslogtreecommitdiffstats
path: root/core/core_bind.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-02-15 15:44:43 +0100
committerRémi Verschelde <rverschelde@gmail.com>2024-02-15 15:44:43 +0100
commitef5d6ccfb7bf155a238ada79db12ea41ca993116 (patch)
treebc1acc6c5b0df70661293de0f8d0586ce0808982 /core/core_bind.h
parent4859f8090f1e21d42bc81313f15367dcb1c4220c (diff)
parenta8bc9f3e78788bdf0be7348fcbfac15c127f1f48 (diff)
downloadredot-engine-ef5d6ccfb7bf155a238ada79db12ea41ca993116.tar.gz
Merge pull request #86966 from Muller-Castro/value2ref-core
Add const lvalue ref to `core/*` container parameters
Diffstat (limited to 'core/core_bind.h')
-rw-r--r--core/core_bind.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/core_bind.h b/core/core_bind.h
index 94d95f2ce9..f884426881 100644
--- a/core/core_bind.h
+++ b/core/core_bind.h
@@ -157,8 +157,8 @@ public:
int create_process(const String &p_path, const Vector<String> &p_arguments, bool p_open_console = false);
int create_instance(const Vector<String> &p_arguments);
Error kill(int p_pid);
- Error shell_open(String p_uri);
- Error shell_show_in_file_manager(String p_path, bool p_open_folder = true);
+ Error shell_open(const String &p_uri);
+ Error shell_show_in_file_manager(const String &p_path, bool p_open_folder = true);
bool is_process_running(int p_pid) const;
int get_process_id() const;