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.


Reply via email to