From ee5dc4d0bf99fe457ece7b37df72dc1cc12e3cd1 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 15 Mar 2007 01:09:14 +0000 Subject: removed duplicate functionality, macro's and functions existed to check a PyObjects type, now only use macro's --- source/blender/python/api2_2x/Ipocurve.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'source/blender/python/api2_2x/Ipocurve.c') diff --git a/source/blender/python/api2_2x/Ipocurve.c b/source/blender/python/api2_2x/Ipocurve.c index e04a65600c7..5a45d9f3485 100644 --- a/source/blender/python/api2_2x/Ipocurve.c +++ b/source/blender/python/api2_2x/Ipocurve.c @@ -704,16 +704,6 @@ PyObject *IpoCurve_CreatePyObject( IpoCurve * icu ) return ( PyObject * ) pyipo; } -/*****************************************************************************/ -/* Function: IpoCurve_CheckPyObject */ -/* Description: This function returns true when the given PyObject is of the */ -/* type IpoCurve. Otherwise it will return false. */ -/*****************************************************************************/ -int IpoCurve_CheckPyObject( PyObject * pyobj ) -{ - return ( pyobj->ob_type == &IpoCurve_Type ); -} - /*****************************************************************************/ /* Function: IpoCurve_FromPyObject */ /* Description: This function returns the Blender ipo from the given */ -- cgit v1.2.3