• Wincent
    Menu
  • Blog
  • Wiki
  • Snippets
  • Tags
  • Search

Add WOMakeCollectable function (WOPublic, 1035d53)

Created 12/10/2007, updated 3/5/2024
  • snippets

It's not safe to pass NULL values to CFMakeCollectable, so this wrapper function performs a check before doing so. It can be used in places where an explicit check would only add clutter.

Signed-off-by: Greg Hurrell <greg@hurrell.net>

← Use WOMakeCollectable function where appropriate (WOCommon, 6eb9559)
New version of login-tool (Synergy, a73dbe7) →

All snippets

Site
  • About
  • Blog
  • Wiki
  • Snippets
  • Tags
  • Search
External
  • GitHub
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
Colophon

Made by Greg Hurrell with Rust (with help from Git and Neovim).