User Defined Attributes

Paulo Pinto pjmlp at progtools.org
Tue Nov 6 10:36:14 PST 2012


Am 06.11.2012 17:26, schrieb Walter Bright:
> On 11/6/2012 8:02 AM, Tove wrote:
>> On Tuesday, 6 November 2012 at 15:19:53 UTC, Walter Bright wrote:
>>> On 11/6/2012 7:14 AM, Tove wrote:
>>>> Hmmm, actually it doesn't work in plain function/block scope either.
>>>
>>> Right, I don't see a compelling purpose for that, either.
>>
>> Hmm, what about library based GC annotations?
>>
>> ["GC.NoScan"] int* local_p;
>>
>
> I have no idea how you could make that work.

I can only see it work if the runtime is aware of magic annotations, 
which are kept in the binary.

--
Paulo


More information about the Digitalmars-d-announce mailing list