summaryrefslogtreecommitdiff
path: root/core/bind/core_bind.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2018-08-12 15:15:39 +0200
committerGitHub <noreply@github.com>2018-08-12 15:15:39 +0200
commit2a4cd769a1d861ad3d5414e563b899ba207fbd0f (patch)
tree7a42a60b567550b2c0e252addfee8c0a8f75ad2d /core/bind/core_bind.h
parent64595f0f6ad2aab38fb14f85c077c6e147326624 (diff)
parentd29ea4337fd165423b3b8ae0e88b18ce89f6dd9a (diff)
Merge pull request #20940 from akien-mga/resourceloader-exists
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 = "");