Hi All/Jose,

I was looking at the gnupdf.texi file. In the document, pdf_i64_add is
shown as (in the documentation for pdf_error):

pdf_i64_t dest, addend_1, addend_2;
pdf_status_t status;
...
status = pdf_i64_add (dest, addend_1, addend_2);

In the H and C file, the function is as follows:

pdf_i64_t dest, addend_1, addend_2;
pdf_status_t status;
...
pdf_i64_add (dest, addend_1, addend_2, &status);

The various operations have a somewhat mix-and-match style. Is there a
style that the project would like to consistently use? Now might be a
good time to clean things up.

Jeff

PS, If I'm allowed a vote, I prefer
result function( <const args> <non-const args> )
ie,
status = pdf_i64_add (addend_1, addend_2, &sum);
status = pdf_i64_full_div (num, denom, &quot, &remain);


Reply via email to