DMD/Objective-C Alpha 1
bearophile
bearophileHUGS at lycos.com
Thu Jun 2 06:58:06 PDT 2011
Michel Fortin:
> That said, if Walter doesn't like it I could change it to a more
> "standard" pragma syntax:
>
> pragma(objc_selector, "insertIdemWithObjectValue:atIndex:")
> void insertItem(ObjcObject object, NSInteger value);
>
> It's more verbose and less readable, but it'd work too.
Another possible syntax, using ddoc:
/// This is a selector for...
void insertItem(ObjcObject object, NSInteger value); /// insertItemWithObjectValue:atIndex:
Bye,
bearophile
More information about the Digitalmars-d-announce
mailing list