From 1b8c732bc64afb97c7f65ec644a3ce0a9f5045dc Mon Sep 17 00:00:00 2001 From: Roger Hughston Date: Fri, 27 May 2005 02:44:58 +0000 Subject: [PATCH] *** empty log message *** --- dtool/src/interrogatedb/py_panda.h | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/dtool/src/interrogatedb/py_panda.h b/dtool/src/interrogatedb/py_panda.h index 6a07523cff..fb9309a862 100755 --- a/dtool/src/interrogatedb/py_panda.h +++ b/dtool/src/interrogatedb/py_panda.h @@ -133,20 +133,6 @@ struct Dtool_PyTypedObject inline PyObject & As_PyObject(void) { return (PyObject &)_PyType; }; }; -//////////////////////////////////////////////////////////////////////// -// Flads for the dtool meta definitions.. -/////////////////////////////////////////////////////////////////////// -#define Py_Dtool_flags ( \ - Py_TPFLAGS_HAVE_GETCHARBUFFER | \ - Py_TPFLAGS_HAVE_SEQUENCE_IN | \ - Py_TPFLAGS_HAVE_INPLACEOPS | \ - Py_TPFLAGS_HAVE_RICHCOMPARE | \ - Py_TPFLAGS_HAVE_WEAKREFS | \ - Py_TPFLAGS_HAVE_ITER | \ - Py_TPFLAGS_HAVE_CLASS | \ - Py_TPFLAGS_BASETYPE | \ - Py_TPFLAGS_CHECKTYPES | \ - 0) //////////////////////////////////////////////////////////////////////// // Macro's from Hell.. May want to Just Add this to the Code generator.. @@ -219,7 +205,7 @@ EXPORT_THIS Dtool_PyTypedObject Dtool_##CLASS_NAME = {\ PyObject_GenericGetAttr, /* tp_getattro */\ PyObject_GenericSetAttr, /* tp_setattro */\ 0, /* tp_as_buffer */\ - Py_Dtool_flags, /* tp_flags */\ + Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_CHECKTYPES, /* tp_flags */\ 0, /* tp_doc */\ 0, /* tp_traverse */\ 0, /* tp_clear */\