title: CFNumber macro for constants
body: <p>Pretty sure the answer is No on this one, but it's painful enough I have to ask: Is there a CFNumber equivalent to CFString's CFSTR macro? To avoid this sort of thing:</p>
  
  <pre><code>char one = 1;
  CFNumberRef cfONE = CFNumberCreate(kCFAllocatorDefault, kCFNumberCharType, &amp;one);
  if (cfONE != NULL) {
      ... finally I can compare something to the number 1! ...
      CFRelease(cfONE);
  } else {
      // not likely, but possible, if you really want to be conservative
  }
  </code></pre>
  
  <p>Note that I'm <em>not</em> using Objective-C in this particular code.</p>
  
  <p>Eric</p>