summaryrefslogtreecommitdiff
path: root/src/qpdf/pikepdf.h
diff options
context:
space:
mode:
authorJames R. Barlow <jim@purplerock.ca>2018-10-13 02:58:21 -0700
committerJames R. Barlow <jim@purplerock.ca>2018-10-13 02:58:21 -0700
commit0a07345f7b6507da1d52ea9336e95f21d7a3b2e1 (patch)
treeb02d4b53b0ca043d2b95d76f67c517c39fdc12ba /src/qpdf/pikepdf.h
parent1a861fb9d17f6dec6488f87da6a4b36ae60124a2 (diff)
Fix everything with a little monkeypatching
Diffstat (limited to 'src/qpdf/pikepdf.h')
-rw-r--r--src/qpdf/pikepdf.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/qpdf/pikepdf.h b/src/qpdf/pikepdf.h
index 9ec1151..212268d 100644
--- a/src/qpdf/pikepdf.h
+++ b/src/qpdf/pikepdf.h
@@ -183,7 +183,6 @@ namespace py = pybind11;
PYBIND11_MAKE_OPAQUE(std::vector<QPDFObjectHandle>);
typedef std::map<std::string, QPDFObjectHandle> ObjectMap;
-
PYBIND11_MAKE_OPAQUE(ObjectMap);
@@ -202,7 +201,7 @@ py::object decimal_from_pdfobject(QPDFObjectHandle& h);
py::object objecthandle_decode(QPDFObjectHandle& h);
QPDFObjectHandle objecthandle_encode(py::handle handle);
std::vector<QPDFObjectHandle> array_builder(py::iterable iter);
-ObjectMap dict_builder(py::dict dict);
+std::map<std::string, QPDFObjectHandle> dict_builder(py::dict dict);
// Support for recursion checks
class StackGuard