Blender Git Loki
Git Commits -> Revision d631abe
Revision d631abe by Ken Hughes (master) June 2, 2006, 19:42 (GMT) |
===Python API=== Define macros for Py_RETURN_TRUE and Py_RETURN_FALSE (for Python 2.3). Also make Py_RETURN_NONE macro a little safer. Current macro will not work as expected in situations like below since it expands to two C statements: if( !attr ) Py_RETURN_NONE; |
Commit Details:
Full Hash: d631abe4fe95589f31f6cb7f73aae24468ba3786
SVN Revision: 7579
Parent Commit: abd8fba
Lines Changed: +7, -1
1 Modified Path:
/source/blender/python/api2_2x/gen_utils.h (+7, -1) (Diff)