summaryrefslogtreecommitdiffstats
path: root/core/core_bind.h
diff options
context:
space:
mode:
authorkobewi <kobewi4e@gmail.com>2022-06-23 02:15:38 +0200
committerkobewi <kobewi4e@gmail.com>2022-06-23 12:50:28 +0200
commita6f0aba43d8f95ccbb03353b5dfa90d91a4cb8cf (patch)
tree390f20beebc85aee4b8b53eb786d52bab24be1e8 /core/core_bind.h
parentd1dac8427a6a41e8fc0a76807887a57a8fe6fd10 (diff)
downloadredot-engine-a6f0aba43d8f95ccbb03353b5dfa90d91a4cb8cf.tar.gz
Remove userdata from Thread.start()
Diffstat (limited to 'core/core_bind.h')
-rw-r--r--core/core_bind.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/core_bind.h b/core/core_bind.h
index c2098b1b59..ec9bcdbc02 100644
--- a/core/core_bind.h
+++ b/core/core_bind.h
@@ -551,7 +551,6 @@ class Thread : public RefCounted {
protected:
Variant ret;
- Variant userdata;
SafeFlag running;
Callable target_callable;
::Thread thread;
@@ -566,7 +565,7 @@ public:
PRIORITY_MAX
};
- Error start(const Callable &p_callable, const Variant &p_userdata = Variant(), Priority p_priority = PRIORITY_NORMAL);
+ Error start(const Callable &p_callable, Priority p_priority = PRIORITY_NORMAL);
String get_id() const;
bool is_started() const;
bool is_alive() const;