Naked functions
Jack Applegame
japplegame at gmail.com
Wed Jul 25 16:34:36 UTC 2018
On Monday, 23 July 2018 at 23:36:01 UTC, David Nadlinger wrote:
> Hi Jack,
>
> On 23 Jul 2018, at 23:06, Jack Applegame via digitalmars-d-ldc
> wrote:
>>> asm {
>>> naked;
>>> }
>>
>> doesn't work.
>
> asm {} is the x86-only DMD syntax.
>
> See https://github.com/ldc-developers/ldc/pull/2773 which adds
> a @naked attribute; it would to great to hear whether this fits
> your use case.
>
> — David
It works. Thanks.
More information about the digitalmars-d-ldc
mailing list