12.07.2015 Views

PDF Library Supplement to the Core API Reference - Datalogics

PDF Library Supplement to the Core API Reference - Datalogics

PDF Library Supplement to the Core API Reference - Datalogics

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>PDF</strong> <strong>Library</strong>-specific CallbacksASMemFreeProcASMemFreeProcACCB1 void* ACCB2 ASMemFreeProc (void* clientData, void* p);DescriptionCalled when <strong>the</strong> <strong>PDF</strong> <strong>Library</strong> needs <strong>to</strong> free memory. Callback should free <strong>the</strong> requestedblock of memory.ParametersclientDatapA pointer <strong>to</strong> <strong>the</strong> clientData specified in <strong>the</strong>TKAlloca<strong>to</strong>rProcs structure.A pointer <strong>to</strong> memory <strong>to</strong> free.Return ValueNoneHeader File<strong>PDF</strong>Init.hRelated CallbacksASMemAllocProcASMemAvailProcASMemReallocProcRelated Methods<strong>PDF</strong>LInitExamplevoid StdMemFreeProc(void* clientData, void* p){free(p);}<strong>PDF</strong> <strong>Library</strong> <strong>Supplement</strong> <strong>to</strong> <strong>the</strong> Acrobat <strong>Core</strong> <strong>API</strong> <strong>Reference</strong> 56

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!