Looking them up in the CLucene code itself will reveal the difference.
Generally _CLDECDELETE is "declaring" a delete on objects which are being
refcounted internally (Term for instance). _CLDELETE and _CLLDELETE will
delete non-refcounted types (equivalent to delete), where the former sets
the var to NULL while the other doesn't.
Itamar.
_____
From: Michel Nadeau [mailto:[email protected]]
Sent: Wednesday, September 30, 2009 4:46 PM
To: [email protected]
Subject: [CLucene-dev] _CLDELETE vs _CLDECDELETE vs _CLLDELETE
Hi !
I'm in the process of migrating my 0.9.21 code to the 2.3.2 branch and I
noticed in the test suite that there's now many "delete" functions:
* _CLDELETE
* _CLLDELETE
* _CLDECDELETE
I have 2 questions:
* Is there other "delete" functions than these 3?
* When should we each of these functions?
Thanks!
- Mike
[email protected]
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
CLucene-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clucene-developers