| 1040 | } |
| 1041 | |
| 1042 | int asCScriptObject::CopyFrom(const asIScriptObject *other) |
| 1043 | { |
| 1044 | if( other == 0 ) return asINVALID_ARG; |
| 1045 | |
| 1046 | if( GetTypeId() != other->GetTypeId() ) |
| 1047 | return asINVALID_TYPE; |
| 1048 | |
| 1049 | *this = *(asCScriptObject*)other; |
| 1050 | |
| 1051 | return asSUCCESS; |
| 1052 | } |
| 1053 | |
| 1054 | void *asCScriptObject::AllocateUninitializedObject(asCObjectType *in_objType, asCScriptEngine *engine) |
| 1055 | { |
no test coverage detected