Yieldable function?

Adam D. Ruppe via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Aug 13 15:59:35 PDT 2015


On Thursday, 13 August 2015 at 22:27:31 UTC, Tofu Ninja wrote:
> Also how portable is the built in asm support

it varies a bit across compilers (gdc does it differently), and 
obviously across processors.

> Also is there a way to define naked functions in D?

Put the `naked;` pseudo-instruction at the top of a function in 
an asm block.

http://dlang.org/iasm.html


More information about the Digitalmars-d-learn mailing list