mirror of
https://github.com/qpdf/qpdf.git
synced 2024-05-31 17:30:54 +00:00
19 lines
199 B
C++
19 lines
199 B
C++
|
#include <qpdf/qpdf-c.h>
|
||
|
|
||
|
class _qpdf_data
|
||
|
{
|
||
|
};
|
||
|
|
||
|
DLL_EXPORT
|
||
|
qpdf_data qpdf_init()
|
||
|
{
|
||
|
return new _qpdf_data();
|
||
|
}
|
||
|
|
||
|
DLL_EXPORT
|
||
|
void qpdf_cleanup(qpdf_data* qpdf)
|
||
|
{
|
||
|
delete *qpdf;
|
||
|
*qpdf = 0;
|
||
|
}
|