[Issue 983] constant cfstrings for Darwin

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Mar 9 00:04:45 PST 2007


http://d.puremagic.com/issues/show_bug.cgi?id=983





------- Comment #4 from afb at algonet.se  2007-03-09 02:04 -------
You mean it would be better to make it an inline function ?

CFStringRef CFSTR(char *cStr)
{
    return __builtin___CFStringMakeConstantString(cStr);
}

Just for type safety, or was there some other reason too ?


-- 



More information about the D.gnu mailing list