[PyObjC-svn] r2412 - trunk/pyobjc/pyobjc-core/Modules/objc
[email protected] Wed, 10 Mar 2010 16:57:46 -0600
| Newsgroups | gmane.comp.python.pyobjc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: ronaldoussoren
Date: Wed Mar 10 16:57:46 2010
New Revision: 2412
Log:
Ensure complete initialisation (shouldn't be necessary, but better safe
than sorry)
Modified:
trunk/pyobjc/pyobjc-core/Modules/objc/selector.m
Modified: trunk/pyobjc/pyobjc-core/Modules/objc/selector.m
==============================================================================
--- trunk/pyobjc/pyobjc-core/Modules/objc/selector.m (original)
+++ trunk/pyobjc/pyobjc-core/Modules/objc/selector.m Wed Mar 10 16:57:46 2010
@@ -909,6 +909,7 @@
if (sel_isEqual(selector, @selector(alloc)) || sel_isEqual(selector, @selector(allocWithZone:))) {
result->sel_flags |= PyObjCSelector_kRETURNS_UNINITIALIZED;
}
+ result->sel_call_func = NULL;
return (PyObject*)result;
}
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev