[fpc-devel] Patch to implement vararrays of widestrings
Joost van der Sluis
joost at cnoc.nl
Sat May 13 14:34:50 CEST 2006
Hi all,
attached is a patch that implements widestrings in vararrays. It works
on linux/i386 but i'm not sure if it's valid though. Especially on
windows...
Could you guys have a look?
Oh, and it's leaking memory (or refcounts, depending on your point of
view) but that's a bug in widestrings in general. The following leaks
already (in DefaultANSI2WideMove)
var w : widestring;
s : ansistring;
begin
s := 'hoi';
w := s;
end;
regards,
Joost.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: VarArrayWidestrings.diff
Type: text/x-patch
Size: 7113 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20060513/3d351f64/attachment.bin>
More information about the fpc-devel
mailing list