[Bf-committers] Re: [Bf-blender-cvs] CVS commit: blender/source/blender/python/api2_2x NMesh.c Object.c

Ken Hughes khughes at pacific.edu
Sun Oct 30 16:03:09 CET 2005


Ton Roosendaal wrote:
> Hi,
> 
> Now it has the warnings again;
> 
> NMesh.c: In function `Mesh_fromNMesh':
> NMesh.c:1470: warning: return from incompatible pointer type
> NMesh.c:1477: warning: return from incompatible pointer type
>  -- Object.c --
> NMesh.c: In function `NMesh_FromPyObject':
> NMesh.c:3417: warning: return from incompatible pointer type

Fixed.  Does the equivalent of EXPP_ReturnPyObjError() now; otherwise
I'd have to cast EXPP_ReturnPyObjError() to a Mesh *, which would look 
even more confusing and ugly.

> Apparently the call    EXPP_ReturnPyObjError() always returns a NULL...  
> that's highly confusing!

Only until you get used to it ;-)

Ken


More information about the Bf-committers mailing list