diff options
Diffstat (limited to 'src/deep.h')
-rw-r--r-- | src/deep.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -22,6 +22,7 @@ extern "C" | |||
22 | 22 | ||
23 | // forwards | 23 | // forwards |
24 | enum class LookupMode; | 24 | enum class LookupMode; |
25 | class DeepFactory; | ||
25 | class Universe; | 26 | class Universe; |
26 | 27 | ||
27 | // ################################################################################################# | 28 | // ################################################################################################# |
@@ -35,7 +36,7 @@ struct DeepPrelude | |||
35 | { | 36 | { |
36 | UniqueKey const magic{ kDeepVersion }; | 37 | UniqueKey const magic{ kDeepVersion }; |
37 | // when stored in a keeper state, the full userdata doesn't have a metatable, so we need direct access to the factory | 38 | // when stored in a keeper state, the full userdata doesn't have a metatable, so we need direct access to the factory |
38 | class DeepFactory& factory; | 39 | DeepFactory& factory; |
39 | // data is destroyed when refcount is 0 | 40 | // data is destroyed when refcount is 0 |
40 | std::atomic<int> refcount{ 0 }; | 41 | std::atomic<int> refcount{ 0 }; |
41 | 42 | ||