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

Extract str_free function into separate function (wikitext, 2bc8593)

Created 2/24/2008, updated 3/5/2024
  • snippets

Rather than an inline function we need a normal function so that we can pass its address to Data_Wrap_Struct.

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

← Wrap str structs with Data_Wrap_Struct (wikitext, 4389475)
Add GC_WRAP_ARY macro (wikitext, f4b4579) →

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).