[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pdf-devel] [PATCH] Update documentation for pdf_fsys_disk_item_p an
From: |
jemarch |
Subject: |
Re: [pdf-devel] [PATCH] Update documentation for pdf_fsys_disk_item_p and fix other grammatical errors. |
Date: |
Mon, 07 Jul 2008 00:26:20 +0200 |
User-agent: |
Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/23.0.60 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
Hi Zac.
Just some notes:
@example
-XXX
+pdf_text_t path = <some path>
+pdf_bool_t ret = pdf_fsys_disk_item_p (path);
@end example
The correct way to initialize a pdf_text_t variable is using
"pdf_text_new*" so it should be reflected in the example.
Also, the example should reflect the usage of the public function
'pdf_fsys_item_p'.
For example:
@example
pdf_bool_t valid_item;
pdf_text_t text;
text = pdf_text_new_from_unicode (&text,
"/path/to/foo",
12, PDF_TEXT_UTF8);
/* Test whether /path/to/foo is an item in the default filesystem */
vaid_item = pdf_fsys_item_p (NULL, text);
@end example
Can you please modify the patch and send it again?
Thanks.