]> granicus.if.org Git - python/commit
Allow passing NULL pointers by passing None. This also works for the
authorJack Jansen <jack.jansen@cwi.nl>
Sun, 4 Jan 2004 22:33:33 +0000 (22:33 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Sun, 4 Jan 2004 22:33:33 +0000 (22:33 +0000)
commitcb2117a83cf09dcccb7882f8b8210f74b8206ae0
treefba11291a0238d32fde850c312d28622009d5a06
parentc14149e6ef0a2878035396d02e67caed02396990
Allow passing NULL pointers by passing None. This also works for the
factory functions, so you can call quicktime functions that are implemented
as methods on NULL too.

Still don't allow quicktime functions to return NULL pointers, though: I
think this always signals an error condition.
Mac/Modules/qt/_Qtmodule.c
Mac/Modules/qt/qtsupport.py