[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Lisp_String to LPWSTR
From: |
Eli Zaretskii |
Subject: |
Re: Lisp_String to LPWSTR |
Date: |
Sat, 03 Oct 2009 13:23:30 +0200 |
> From: Eugen Anghel <address@hidden>
> Date: Sat, 3 Oct 2009 13:50:52 +0300
> Cc: address@hidden
>
> Are there any issues that I need to worry about if I just call this
> function everywhere this conversion is needed? e.g memory-leaks?
Lisp objects are GC'ed automagically. You may need to GC protect some
of the C strings, though. See the other uses of
code_convert_string_norecord in the sources, for examples.