Mercurial > hg > vampy
diff PyFeatureSet.h @ 32:a8231788216c vampy2
Vampy2: accept numpy array return types.
author | fazekasgy |
---|---|
date | Mon, 21 Sep 2009 13:56:28 +0000 |
parents | 4f1894c7591b |
children | c905122f79e7 |
line wrap: on
line diff
--- a/PyFeatureSet.h Sun Sep 20 17:31:20 2009 +0000 +++ b/PyFeatureSet.h Mon Sep 21 13:56:28 2009 +0000 @@ -5,7 +5,6 @@ typedef struct { PyDictObject dict; - int state; } FeatureSetObject; PyAPI_DATA(PyTypeObject) FeatureSet_Type; @@ -14,7 +13,6 @@ #define PyFeatureSet_Check(v) PyObject_TypeCheck(v, &FeatureSet_Type) // #define PyFeatureSet_CheckExact(v) ((v)->ob_type == &PyDict_Type) // #define PyFeatureSet_Check(v) PyObject_TypeCheck(v, &PyDict_Type) - // #define PyFeature_AS_DICT(v) ((const FeatureObject* const) (v))->dict void initFeatureSetType(void);