mirror of
https://github.com/michaelrsweet/pdfio.git
synced 2025-07-15 21:40:11 +02:00
Work on token parsing.
This commit is contained in:
25
pdfio-dict.c
25
pdfio-dict.c
@ -332,6 +332,31 @@ _pdfioDictGetValue(pdfio_dict_t *dict, // I - Dictionary
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
// '_pdfioDictRead()' - Read a dictionary from a PDF file.
|
||||
//
|
||||
// At this point we've seen the initial "<<"...
|
||||
//
|
||||
|
||||
pdfio_dict_t * // O - New dictionary
|
||||
_pdfioDictRead(pdfio_file_t *pdf) // I - PDF file
|
||||
{
|
||||
pdfio_dict_t *dict; // New dictionary
|
||||
char token[8192], // Token buffer
|
||||
key[256]; // Dictionary key
|
||||
_pdfio_value_t value; // Dictionary value
|
||||
|
||||
|
||||
(void)pdf;
|
||||
(void)dict;
|
||||
(void)token;
|
||||
(void)key;
|
||||
(void)value;
|
||||
|
||||
return (NULL);
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
// 'pdfioDictSetArray()' - Set a key array in a dictionary.
|
||||
//
|
||||
|
Reference in New Issue
Block a user