[petsc-dev] About the future XXXDestroy(&obj) change
Barry Smith
bsmith at mcs.anl.gov
Mon Apr 11 19:45:12 CDT 2011
On Apr 11, 2011, at 10:07 AM, Lisandro Dalcin wrote:
> Barry, I'm working on getting petsc4py ready for our XXXDestroy
> change. A quick question: Are the XXXDestroy_YYY functions of subtypes
> going to change? I would ask you to NOT change them (it's harder for
> you to implement, it's harder for me to provide backward
> compatibility, IMHO there is not a compelling reason as these
> destructors should not set the pointer to zero, etc.).
I did a great deal of changes one day but have been totally sidetracked by proposals since then so have not concluded the process. I'll take your concerns into consideration, at first glance it does seem unnecessary and possibly even bad to pass the pointer down into the XXXDestroy_YYY
Barry
>
>
> --
> Lisandro Dalcin
> ---------------
> CIMEC (INTEC/CONICET-UNL)
> Predio CONICET-Santa Fe
> Colectora RN 168 Km 472, Paraje El Pozo
> 3000 Santa Fe, Argentina
> Tel: +54-342-4511594 (ext 1011)
> Tel/Fax: +54-342-4511169
More information about the petsc-dev
mailing list