On Sun, Apr 7, 2013 at 2:41 PM, Jason A. Donenfeld <ja...@zx2c4.com> wrote:
> Any opinions on using gcc's __attribute__((cleanup))? It could make
> things a bit cleaner, but it's something of an awful gcc hack.
>
> #define strbuf_auto struct strbuf __attribute__((cleanup(strbuf_release))

-fexceptions... nevermind.

_______________________________________________
cgit mailing list
cgit@hjemli.net
http://hjemli.net/mailman/listinfo/cgit

Reply via email to