MCPcopy Create free account
hub / github.com/anjo76/angelscript / DoesReturnOnStack

Method DoesReturnOnStack

sdk/angelscript/source/as_scriptfunction.cpp:672–680  ·  view source on GitHub ↗

internal

Source from the content-addressed store, hash-verified

670
671// internal
672bool asCScriptFunction::DoesReturnOnStack() const
673{
674 if( returnType.GetTypeInfo() &&
675 (returnType.GetTypeInfo()->flags & asOBJ_VALUE) &&
676 !returnType.IsReference() )
677 return true;
678
679 return false;
680}
681
682// internal
683asCString asCScriptFunction::GetDeclarationStr(bool includeObjectName, bool includeNamespace, bool includeParamNames) const

Callers 15

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

Calls 2

GetTypeInfoMethod · 0.80
IsReferenceMethod · 0.45

Tested by

no test coverage detected