| 14 | } |
| 15 | |
| 16 | static void ScriptAnyFactory2_Generic(asIScriptGeneric *gen) |
| 17 | { |
| 18 | asIScriptEngine *engine = gen->GetEngine(); |
| 19 | void *ref = (void*)gen->GetArgAddress(0); |
| 20 | int refType = gen->GetArgTypeId(0); |
| 21 | |
| 22 | *(CScriptAny**)gen->GetAddressOfReturnLocation() = new CScriptAny(ref,refType,engine); |
| 23 | } |
| 24 | |
| 25 | static CScriptAny &ScriptAnyAssignment(CScriptAny *other, CScriptAny *self) |
| 26 | { |