[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: RFC: add a string-desc module
From: |
Vivien Kraus |
Subject: |
Re: RFC: add a string-desc module |
Date: |
Sat, 25 Mar 2023 07:21:09 +0100 |
User-agent: |
Evolution 3.46.0 |
Hello!
I frequently use ad-hoc code for this, however in library code, in
which xmalloc is not much used.
I learn new gnulib things primarily from the manual. Do you plan to
document it there?
Le vendredi 24 mars 2023 à 22:50 +0100, Bruno Haible a écrit :
> /* Return a copy of string S, as a NUL-terminated C string. */
> extern char * string_desc_c (string_desc_t s);
Would it be appropriate to use the attribute module and mark this
ATTRIBUTE_DEALLOC_FREE?
Best regards,
Vivien