In message <hkoje5$4n...@lust.ihug.co.nz>, Lawrence D'Oliveiro wrote:

> The basic control flow is this:
>     * Unconditionally initialize all dynamic storage to nil
>     * Do the main body of the code, aborting in any error
>     * Regardless of success or failure of the above, dispose of all
>       allocated dynamic storage, using disposal calls which turn into
>       noops if passed pointers that are already nil.

For more examples, see the spuhelper.c module here 
<http://github.com/ldo/dvd_menu_animator>.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to