On Thursday, 15 November 2018 at 21:00:10 UTC, Adam D. Ruppe wrote:
It would be part of the abi:
https://dlang.org/spec/abi.html#function_calling_conventions

though it references C so you might need to look that up too.

That's helpful, thank you!

For other sized structs and static arrays, the return value is stored through a hidden pointer passed as an argument to the function.

Is there a way to access this pointer?

Also, the calling convention documentation there doesn't mention anything about 64-bit targets, are 64-bit registers just not used?

Reply via email to