Re: swap_inner_handle




On Oct 5, 2006, at 4:39 PM, Tim Bunce wrote:


Let's try this and see how it works out:

Original state:
dbh1o -> dbh1i
sthAo -> sthAi(dbh1i)
dbh2o -> dbh2i

swap_inner_handle dbh1o with dbh2o:
dbh2o -> dbh1i
sthAo -> sthAi(dbh1i)
dbh1o -> dbh2i

create new sth from dbh1o:
dbh2o -> dbh1i
sthAo -> sthAi(dbh1i)
dbh1o -> dbh2i
sthBo -> sthBi(dbh2i)

swap_inner_handle sthAo with sthBo:
dbh2o -> dbh1i
sthBo -> sthAi(dbh1i)
dbh1o -> dbh2i
sthAo -> sthBi(dbh2i)

Does that fit your expectations?

Any way is fine with me, as long as it's clear. :-)
The above is what I understood was happening, from your earlier email. I'm good, thanks.

H
.