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    jema...@gnu.org
GNU Project         http://www.gnu.org

Reply via email to