// PyProperty.h -- // $Id: PyProperty.h,v 1.8 2004/01/21 01:46:06 jcw Exp $ // This is part of MetaKit, see http://www.equi4.com/metakit/ // Copyright (C) 1999-2004 Gordon McMillan and Jean-Claude Wippler. // // Property class header #if !defined INCLUDE_PYPROPERTY_H #define INCLUDE_PYPROPERTY_H #include #include "PyHead.h" #define PyProperty_Check(ob) ((ob)->ob_type == &PyPropertytype) extern PyTypeObject PyPropertytype; class PyProperty : public PyHead, public c4_Property { public: //PyProperty(); PyProperty(const c4_Property& o) : PyHead(PyPropertytype), c4_Property (o) { } PyProperty(char t, const char* n) : PyHead(PyPropertytype), c4_Property (t, n) { } ~PyProperty () {} }; PyObject* PyProperty_new(PyObject* o, PyObject* _args); #endif