|
|
@ -368,7 +368,7 @@ CScriptStack::CStackEntry& CScriptStack::CStackEntry::operator=(std::string cons
|
|
|
|
{
|
|
|
|
{
|
|
|
|
clean();
|
|
|
|
clean();
|
|
|
|
std::string* const strPt = new std::string(str);
|
|
|
|
std::string* const strPt = new std::string(str);
|
|
|
|
_valp = *((int*)&strPt);
|
|
|
|
_valp = *((uintptr_t*)&strPt);
|
|
|
|
_type = EString;
|
|
|
|
_type = EString;
|
|
|
|
return *this;
|
|
|
|
return *this;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -376,7 +376,7 @@ inline
|
|
|
|
CScriptStack::CStackEntry& CScriptStack::CStackEntry::operator=(IScriptContext* sc)
|
|
|
|
CScriptStack::CStackEntry& CScriptStack::CStackEntry::operator=(IScriptContext* sc)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
clean();
|
|
|
|
clean();
|
|
|
|
_valp = *((int*)&sc);
|
|
|
|
_valp = *((uintptr_t*)&sc);
|
|
|
|
_type = EContext;
|
|
|
|
_type = EContext;
|
|
|
|
return *this;
|
|
|
|
return *this;
|
|
|
|
}
|
|
|
|
}
|
|
|
|