Re: [ats-lang-users] mkdtemp and modifiable strings
Unleashing the potentials of types and templates
Status: Beta
Brought to you by:
ats-hwxi
From: Hongwei Xi <hw...@cs...> - 2011-02-09 13:12:55
|
On Wed, 9 Feb 2011, Guillaume Brunerie wrote: >>But you could use string_of_strbuf or string_of_strptr, why do you need to >>cast with such unsafe functions? string_of_strptr turns a strptr into a string, which can only be reclaimed by the GC. If no GC is running, then it is a memory leak. --Hongwei Computer Science Department Boston University 111 Cummington Street Boston, MA 02215 Email: hw...@cs... Url: http://www.cs.bu.edu/~hwxi Tel: +1 617 358 2511 (office) Fax: +1 617 353 6457 (department) |