3#define CPYCPPYY_INTERNAL 1 
    5#undef CPYCPPYY_INTERNAL 
   36        Py_XDECREF(fPyWeakRef); fPyWeakRef = 
nullptr;
 
   37        Py_XDECREF(fPyHardRef);
 
   40        if (fPyHardRef) ((
CPPInstance*)fPyHardRef)->SetDispatchPtr(
this);
 
   50        fPyWeakRef = PyWeakref_NewRef(fPyHardRef, 
nullptr);
 
   51        Py_DECREF(fPyHardRef); fPyHardRef = 
nullptr;
 
   60        fPyHardRef = PyWeakref_GetObject(fPyWeakRef);
 
   61        Py_XINCREF(fPyHardRef);
 
   62        Py_DECREF(fPyWeakRef); fPyWeakRef = 
nullptr;
 
DispatchPtr & assign(const DispatchPtr &other, void *cppinst)