| 154 | }; |
| 155 | |
| 156 | struct ScriptObjectInstance { |
| 157 | ScriptObjectInstance(uintptr_t ptr, VarStorage& var, bool from_script_obj_value); |
| 158 | void destroy(); |
| 159 | uintptr_t ptr; |
| 160 | bool reconstructed; |
| 161 | bool from_script_obj_value; // This means there's a value version of this app object that all handles should re-refer to. |
| 162 | asIScriptObject* new_ptr; // New value generated |
| 163 | VarStorage var; |
| 164 | }; |
| 165 | |
| 166 | struct AppObject { |
| 167 | AppObjectType type; |