retStyle

Determine return style of function - whether in registers or through a hidden pointer to the caller's stack.

extern (C++)
RET
retStyle

Parameters

tf TypeFunction

function type to check

needsThis bool

true if the function type is for a non-static member function

Return Value

Type: RET

RET.stack if return value from function is on the stack, RET.regs otherwise

Suggestion Box / Bug Report