[Xapian-tickets] [Xapian] #186: User subclassable classes should be reference counted

Xapian nobody at xapian.org
Thu Jan 7 04:55:56 GMT 2016


#186: User subclassable classes should be reference counted
-------------------------+-------------------------------
 Reporter:  richard      |             Owner:  olly
     Type:  defect       |            Status:  assigned
 Priority:  normal       |         Milestone:  1.3.5
Component:  Library API  |           Version:  git master
 Severity:  normal       |        Resolution:
 Keywords:               |        Blocked By:
 Blocking:               |  Operating System:  All
-------------------------+-------------------------------
Changes (by olly):

 * version:  SVN trunk => git master


Comment:

 I think that we should implement this for the other functor classes for
 C++ before 1.4.0, as that is easy to do.

 However we shouldn't try to make use of this in the bindings, as that's
 more involved (and seems to need changes to SWIG, or more cunning hackery
 than I've so far managed to come up with).  Several of the bindings
 (Python, PHP, Perl) already have separate tracking code so there will be
 no observable behaviour change, while for the other languages, this means
 that cases which failed before now work, so it's reasonable as a change to
 make mid-1.4.x - the tracking code for Python and PHPwasn't added at the
 start of release series after all.

--
Ticket URL: <http://trac.xapian.org/ticket/186#comment:32>
Xapian <http://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list