diff options
Diffstat (limited to 'core/resource.h')
-rw-r--r-- | core/resource.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/resource.h b/core/resource.h index cb109b3767..11f2c5ee2a 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(); |