[Gambas-devel] GB.ReturnNewString() in gb.pcre

Tobias Boege tobias at ...692...
Mon Dec 9 19:42:10 CET 2013


Hi Benoit,

there is a call to GB.ReturnNewString() in gb.pcre which generates annoying
advices not to use it but to use GB.ReturnNewZeroString() instead. Does this
make sense? GB.ReturnNewString() seems to be the better way in that case...

I also use it in gb.openssl to create a Gambas string from a binary char
array. What's the matter with GB.ReturnNewString()?

Regards,
Tobi





More information about the Devel mailing list