aboutsummaryrefslogtreecommitdiff
path: root/core/resource.h
diff options
context:
space:
mode:
authorJuan Linietsky2017-01-07 18:25:37 -0300
committerJuan Linietsky2017-01-07 18:26:38 -0300
commit2ab83e1abbf5ee6d00e16056a9e9394114026f28 (patch)
tree7efbb375cc4d00d8e8589fcf1b6a1303bec5df2d /core/resource.h
parent2a38a5eaa844043b846e03d6655f84caf8a31e74 (diff)
downloadgodot-2ab83e1abbf5ee6d00e16056a9e9394114026f28.tar.gz
godot-2ab83e1abbf5ee6d00e16056a9e9394114026f28.tar.zst
godot-2ab83e1abbf5ee6d00e16056a9e9394114026f28.zip
Diffstat (limited to 'core/resource.h')
-rw-r--r--core/resource.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/resource.h b/core/resource.h
index cb109b376..11f2c5ee2 100644
--- a/core/resource.h
+++ b/core/resource.h
@@ -165,9 +165,12 @@ typedef Ref<Resource> RES;
class ResourceCache {
friend class Resource;
+ static RWLock *lock;
static HashMap<String,Resource*> resources;
friend void unregister_core_types();
static void clear();
+friend void register_core_types();
+ static void setup();
public:
static void reload_externals();