Logo white

OpenSystemsDevelopment / qpdf

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • qpdf
  • libqpdf
  • qpdf-c.cc
  • checkpoint -- first crack at C API, minor refactoring of encryption functions ...
    02333ba1
    git-svn-id: svn+q:///qpdf/trunk@720 71b93d88-0707-0410-a8cf-f5a4172ac649
    Jay Berkenbilt authored
    2009-09-27 03:11:29 +0000  
    Browse Code ยป
qpdf-c.cc 199 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#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;
}