[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pdf-devel] New developer and UUID module request
From: |
Jose E. Marchesi |
Subject: |
Re: [pdf-devel] New developer and UUID module request |
Date: |
Mon, 21 Mar 2011 21:13:49 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Hi Albert.
void pdf_uuid_string (pdf_uuid_t, char * ascii_rep);
I discarded this last option because it requires the user to know the
char array size to allocate, which I found uncomfortable.
In this case, where the required string will always be of the same fixed
length, I don't think it is a nuisance to use a function like c):
char uuid_str[PDF_UUID_SIZE];
pdf_uuid_string (uuid, &uuid_str);
Note that I used something shorter than PDF_UUID_CHAR_LENGTH.
--
Jose E. Marchesi address@hidden
GNU Project http://www.gnu.org
- Re: [pdf-devel] New developer and UUID module request, (continued)
- Re: [pdf-devel] New developer and UUID module request, Jose E. Marchesi, 2011/03/08
- Re: [pdf-devel] New developer and UUID module request, Albert Meroño Peñuela, 2011/03/15
- Re: [pdf-devel] New developer and UUID module request, Jose E. Marchesi, 2011/03/16
- Re: [pdf-devel] New developer and UUID module request, Albert Meroño Peñuela, 2011/03/21
- Re: [pdf-devel] New developer and UUID module request, Albert Meroño Peñuela, 2011/03/21
- Re: [pdf-devel] New developer and UUID module request, Aleksander Morgado, 2011/03/22
- Re: [pdf-devel] New developer and UUID module request, Albert Meroño Peñuela, 2011/03/23
- Re: [pdf-devel] New developer and UUID module request, Jose E. Marchesi, 2011/03/23
- Re: [pdf-devel] New developer and UUID module request, Albert Meroño Peñuela, 2011/03/24
- Re: [pdf-devel] New developer and UUID module request, Jose E. Marchesi, 2011/03/24
- Re: [pdf-devel] New developer and UUID module request,
Jose E. Marchesi <=