FROM : Derrek Leute
DATE : Sun Feb 17 19:33:48 2008
> > CFMutableDictionaryRef args = CFDictionaryCreateMutable
> > (NULL,0,&kCFCopyStringDictionaryKeyCallBacks,NULL);
> Huh? How can you pass a reference to a CONST
> (kCFCopyStringDictionaryKeyCallBacks)? I thought a CONST was just a
> compiler replacement at compile-time, and doesn't actually have any
> storage. Or is this not a CONST?
I'm just doing as the apple documentation and examples do. They say
pass it as a reference so I do. That's all I know. :)
--Derrek
DATE : Sun Feb 17 19:33:48 2008
> > CFMutableDictionaryRef args = CFDictionaryCreateMutable
> > (NULL,0,&kCFCopyStringDictionaryKeyCallBacks,NULL);
> Huh? How can you pass a reference to a CONST
> (kCFCopyStringDictionaryKeyCallBacks)? I thought a CONST was just a
> compiler replacement at compile-time, and doesn't actually have any
> storage. Or is this not a CONST?
I'm just doing as the apple documentation and examples do. They say
pass it as a reference so I do. That's all I know. :)
--Derrek
| Related mails | Author | Date |
|---|---|---|
| Derrek Leute | Feb 17, 16:51 | |
| Michael Ash | Feb 17, 17:07 | |
| Derrek Leute | Feb 17, 17:43 | |
| glenn andreas | Feb 17, 17:54 | |
| Michael Ash | Feb 17, 17:59 | |
| William Squires | Feb 17, 18:07 | |
| Derrek Leute | Feb 17, 19:33 | |
| Derrek Leute | Feb 17, 19:40 | |
| Quincey Morris | Feb 17, 21:05 | |
| Derrek Leute | Feb 17, 22:00 |






Cocoa mail archive

