diff --git a/extclass.h b/extclass.h index 6f330528..0840120f 100644 --- a/extclass.h +++ b/extclass.h @@ -74,7 +74,9 @@ class ExtensionClassBase : public Class { public: ExtensionClassBase(const char* name); - + void set_attribute(const char* name, PyObject* x); + void set_attribute(const char* name, Ptr x); + public: // the purpose of try_class_conversions() and its related functions // is explained in extclass.cpp