[Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [11618] branches/pyapi_devel/source/ blender/python/api2_2x: aparently MSVC was giving errors here

jmsoler at free.fr jmsoler at free.fr
Thu Aug 16 10:26:50 CEST 2007


Selon Campbell Barton <cbarton at metavr.com>:

> Revision: 11618
>
>
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=11618
> Author:   campbellbarton
> Date:     2007-08-16 05:46:46 +0200 (Thu, 16 Aug 2007)
>
> Log Message:
> -----------
> aparently MSVC was giving errors here
> replaced PyObject_HEAD_INIT(&PyType_Type) with PyObject_HEAD_INIT(NULL)
>

In bpy_float.c, the line 137 :
    &PyFloat_Type,		/* tp_base */

compiles better like that :
    &BPyFloat_Type,		/* tp_base */ ?

jms


More information about the Bf-committers mailing list