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

Correct isVar/setVar property pattern in WOHost class (WOCommon, ad1d71f)

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

Implementing the isVar/setVar pattern requires an explicit "getter" attribute when declaring the property, so add this.

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

← Use property dot syntax inside WOHost class (WOCommon, df245fa)
Add missing property declaration to WOHost class (WOCommon, 93f1f1f) →

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