[fpc-devel] TFPHashList (Was: Alternative parsers)

Alexander Klenin klenin at gmail.com
Wed Oct 20 11:59:19 CEST 2010


On Wed, Oct 20, 2010 at 20:33, Michael Van Canneyt
<michael at freepascal.org> wrote:
> Can you post the fixed code ? (with optimizations or without, does not
> matter)

Attached. The fix is rather clumsy though.
I vaguely remember that Delphi (or was it some library we used...)
had something like IncRefCount procedure specifically for such cases,
but I was unable to find FPC analog (except fpc_AnsiStr_Incr_Ref which
is not directly callable).

-- 
Alexander S. Klenin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: uhla.pas
Type: application/octet-stream
Size: 13989 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20101020/10b73670/attachment.obj>


More information about the fpc-devel mailing list