summaryrefslogtreecommitdiffstats
path: root/core/bind/core_bind.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2018-08-12 12:44:38 +0200
committerRémi Verschelde <rverschelde@gmail.com>2018-08-12 12:44:38 +0200
commitd29ea4337fd165423b3b8ae0e88b18ce89f6dd9a (patch)
tree7a42a60b567550b2c0e252addfee8c0a8f75ad2d /core/bind/core_bind.h
parent64595f0f6ad2aab38fb14f85c077c6e147326624 (diff)
downloadredot-engine-d29ea4337fd165423b3b8ae0e88b18ce89f6dd9a.tar.gz
Fix ResourceLoader::exists() false negative and readd deprecated has()
Diffstat (limited to 'core/bind/core_bind.h')
-rw-r--r--core/bind/core_bind.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/bind/core_bind.h b/core/bind/core_bind.h
index 8327149f49..311372aeca 100644
--- a/core/bind/core_bind.h
+++ b/core/bind/core_bind.h
@@ -55,6 +55,9 @@ public:
PoolVector<String> get_recognized_extensions_for_type(const String &p_type);
void set_abort_on_missing_resources(bool p_abort);
PoolStringArray get_dependencies(const String &p_path);
+#ifndef DISABLE_DEPRECATED
+ bool has(const String &p_path);
+#endif // DISABLE_DEPRECATED
bool has_cached(const String &p_path);
bool exists(const String &p_path, const String &p_type_hint = "");