2014/1/15 Steven Oliver <oliver.ste...@gmail.com> > The decrement inside the IF is permanent? Even if the IF statement > evaluates to false? > > public void down () { > if (--ref_count == 0) { > delete (void*) this; > } > } > > Steven N. Oliver
Yes, this is basic C syntax: http://en.wikipedia.org/wiki/Increment_and_decrement_operators _______________________________________________ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list