On Sun, Apr 7, 2013 at 2:36 PM, John Keeping <[email protected]> wrote:
>     free


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

_______________________________________________
cgit mailing list
[email protected]
http://hjemli.net/mailman/listinfo/cgit

Reply via email to