| 241 | } |
| 242 | |
| 243 | CScriptAny::CScriptAny(asIScriptEngine *engine) |
| 244 | { |
| 245 | this->engine = engine; |
| 246 | refCount = 1; |
| 247 | gcFlag = false; |
| 248 | |
| 249 | value.typeId = 0; |
| 250 | value.valueInt = 0; |
| 251 | |
| 252 | // Notify the garbage collector of this object |
| 253 | engine->NotifyGarbageCollectorOfNewObject(this, engine->GetTypeInfoByName("any")); |
| 254 | } |
| 255 | |
| 256 | CScriptAny::CScriptAny(void *ref, int refTypeId, asIScriptEngine *engine) |
| 257 | { |
nothing calls this directly
no outgoing calls
no test coverage detected