mirror of
https://github.com/michaelrsweet/pdfio.git
synced 2025-08-29 15:22:06 +02:00
Implement object loading.
This commit is contained in:
@@ -197,10 +197,11 @@ pdfioFileCreateObject(
|
||||
pdf->objs[pdf->num_objs ++] = obj;
|
||||
|
||||
// Initialize the object...
|
||||
obj->pdf = pdf;
|
||||
obj->number = pdf->num_objs;
|
||||
obj->dict = dict;
|
||||
obj->offset = _pdfioFileTell(pdf);
|
||||
obj->pdf = pdf;
|
||||
obj->number = pdf->num_objs;
|
||||
obj->offset = _pdfioFileTell(pdf);
|
||||
obj->value.type = PDFIO_VALTYPE_DICT;
|
||||
obj->value.value.dict = dict;
|
||||
|
||||
// Don't write anything just yet...
|
||||
return (obj);
|
||||
|
Reference in New Issue
Block a user