MCPcopy Create free account
hub / github.com/Siv3D/OpenSiv3D / DoesReturnOnStack

Method DoesReturnOnStack

Siv3D/src/ThirdParty/angelscript/as_scriptfunction.cpp:666–674  ·  view source on GitHub ↗

internal

Source from the content-addressed store, hash-verified

664
665// internal
666bool asCScriptFunction::DoesReturnOnStack() const
667{
668 if( returnType.GetTypeInfo() &&
669 (returnType.GetTypeInfo()->flags & asOBJ_VALUE) &&
670 !returnType.IsReference() )
671 return true;
672
673 return false;
674}
675
676// internal
677asCString asCScriptFunction::GetDeclarationStr(bool includeObjectName, bool includeNamespace, bool includeParamNames) const

Callers 15

TranslateFunctionMethod · 0.80
CalculateStackNeededMethod · 0.80
GetCalledFunctionMethod · 0.80
AdjustGetOffsetMethod · 0.80
MoveArgsToStackMethod · 0.80
MakeFunctionCallMethod · 0.80
PerformFunctionCallMethod · 0.80
CallSystemFunctionFunction · 0.80

Calls 2

GetTypeInfoMethod · 0.80
IsReferenceMethod · 0.80

Tested by

no test coverage detected