[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [35503] trunk/blender/extern/bullet2/src/ Bullet-C-Api.h: quiet stricter compiler warnings/errors.

Campbell Barton ideasman42 at gmail.com
Sun Mar 13 00:41:58 CET 2011


Revision: 35503
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=35503
Author:   campbellbarton
Date:     2011-03-12 23:41:57 +0000 (Sat, 12 Mar 2011)
Log Message:
-----------
quiet stricter compiler warnings/errors.

Modified Paths:
--------------
    trunk/blender/extern/bullet2/src/Bullet-C-Api.h

Modified: trunk/blender/extern/bullet2/src/Bullet-C-Api.h
===================================================================
--- trunk/blender/extern/bullet2/src/Bullet-C-Api.h	2011-03-12 23:07:00 UTC (rev 35502)
+++ trunk/blender/extern/bullet2/src/Bullet-C-Api.h	2011-03-12 23:41:57 UTC (rev 35503)
@@ -65,7 +65,7 @@
 	Create and Delete a Physics SDK	
 */
 
-	extern	plPhysicsSdkHandle	plNewBulletSdk(); //this could be also another sdk, like ODE, PhysX etc.
+	extern	plPhysicsSdkHandle	plNewBulletSdk(void); //this could be also another sdk, like ODE, PhysX etc.
 	extern	void		plDeletePhysicsSdk(plPhysicsSdkHandle	physicsSdk);
 
 /** Collision World, not strictly necessary, you can also just create a Dynamics World with Rigid Bodies which internally manages the Collision World with Collision Objects */
@@ -116,16 +116,16 @@
 	extern  plCollisionShapeHandle plNewCapsuleShape(plReal radius, plReal height);	
 	extern  plCollisionShapeHandle plNewConeShape(plReal radius, plReal height);
 	extern  plCollisionShapeHandle plNewCylinderShape(plReal radius, plReal height);
-	extern	plCollisionShapeHandle plNewCompoundShape();
+	extern	plCollisionShapeHandle plNewCompoundShape(void);
 	extern	void	plAddChildShape(plCollisionShapeHandle compoundShape,plCollisionShapeHandle childShape, plVector3 childPos,plQuaternion childOrn);
 
 	extern  void plDeleteShape(plCollisionShapeHandle shape);
 
 	/* Convex Meshes */
-	extern  plCollisionShapeHandle plNewConvexHullShape();
+	extern  plCollisionShapeHandle plNewConvexHullShape(void);
 	extern  void		plAddVertex(plCollisionShapeHandle convexHull, plReal x,plReal y,plReal z);
 /* Concave static triangle meshes */
-	extern  plMeshInterfaceHandle		   plNewMeshInterface();
+	extern  plMeshInterfaceHandle		   plNewMeshInterface(void);
 	extern  void		plAddTriangle(plMeshInterfaceHandle meshHandle, plVector3 v0,plVector3 v1,plVector3 v2);
 	extern  plCollisionShapeHandle plNewStaticTriangleMeshShape(plMeshInterfaceHandle);
 




More information about the Bf-blender-cvs mailing list